Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
6b6b5003
Commit
6b6b5003
authored
18 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused variables.
Originally committed as revision 6625 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
31903634
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libpostproc/postprocess_altivec_template.c
+0
-7
0 additions, 7 deletions
libpostproc/postprocess_altivec_template.c
with
0 additions
and
7 deletions
libpostproc/postprocess_altivec_template.c
+
0
−
7
View file @
6b6b5003
...
...
@@ -67,7 +67,6 @@ static inline int vertClassify_altivec(uint8_t src[], int stride, PPContext *c)
vector by assuming (stride % 16) == 0, unfortunately
this is not always true.
*/
register
int
y
;
short
__attribute__
((
aligned
(
16
)))
data
[
8
];
int
numEq
;
uint8_t
*
src2
=
src
;
...
...
@@ -265,7 +264,6 @@ static inline void doVertLowPass_altivec(uint8_t *src, int stride, PPContext *c)
#undef LOAD_LINE
#undef LOAD_LINE_ALIGNED
const
vector
unsigned
short
v_1
=
vec_splat_u16
(
1
);
const
vector
unsigned
short
v_2
=
vec_splat_u16
(
2
);
const
vector
unsigned
short
v_4
=
vec_splat_u16
(
4
);
...
...
@@ -518,7 +516,6 @@ static inline void dering_altivec(uint8_t src[], int stride, PPContext *c) {
*/
uint8_t
*
srcCopy
=
src
;
uint8_t
__attribute__
((
aligned
(
16
)))
dt
[
16
];
const
vector
unsigned
char
vuint8_1
=
vec_splat_u8
(
1
);
const
vector
signed
int
zero
=
vec_splat_s32
(
0
);
vector
unsigned
char
v_dt
;
dt
[
0
]
=
deringThreshold
;
...
...
@@ -682,7 +679,6 @@ static inline void dering_altivec(uint8_t src[], int stride, PPContext *c) {
tQP2
[
0
]
=
c
->
QP
/
2
+
1
;
vector
signed
int
vQP2
=
vec_ld
(
0
,
tQP2
);
vQP2
=
vec_splat
(
vQP2
,
0
);
const
vector
unsigned
char
vuint8_2
=
vec_splat_u8
(
2
);
const
vector
signed
int
vsint32_8
=
vec_splat_s32
(
8
);
const
vector
unsigned
int
vuint32_4
=
vec_splat_u32
(
4
);
...
...
@@ -1107,9 +1103,6 @@ static inline void transpose_16x8_char_toPackedAlign_altivec(unsigned char* dst,
static
inline
void
transpose_8x16_char_fromPackedAlign_altivec
(
unsigned
char
*
dst
,
unsigned
char
*
src
,
int
stride
)
{
const
vector
unsigned
char
zero
=
vec_splat_u8
(
0
);
const
vector
unsigned
char
magic_perm
=
(
const
vector
unsigned
char
)
AVV
(
0x00
,
0x01
,
0x02
,
0x03
,
0x04
,
0x05
,
0x06
,
0x07
,
0x18
,
0x19
,
0x1A
,
0x1B
,
0x1C
,
0x1D
,
0x1E
,
0x1F
);
#define LOAD_DOUBLE_LINE(i, j) \
vector unsigned char src##i = vec_ld(i * 16, src); \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment