Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0e02b381
Commit
0e02b381
authored
Jan 18, 2013
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove put_no_rnd_pixels_l2 function pointer for w=16 from dsputil.
The function is never used.
parent
fef906c7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
11 deletions
+6
-11
dsputil.c
libavcodec/dsputil.c
+1
-2
dsputil.h
libavcodec/dsputil.h
+1
-1
dsputil_template.c
libavcodec/dsputil_template.c
+0
-4
vp3.c
libavcodec/vp3.c
+1
-1
vp56.c
libavcodec/vp56.c
+3
-3
No files found.
libavcodec/dsputil.c
View file @
0e02b381
...
...
@@ -2872,8 +2872,7 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
c->clear_blocks = FUNCC(clear_blocks ## dct , depth);\
c->add_pixels8 = FUNCC(add_pixels8 ## dct , depth);\
c->add_pixels4 = FUNCC(add_pixels4 ## dct , depth);\
c->put_no_rnd_pixels_l2[0] = FUNCC(put_no_rnd_pixels16_l2, depth);\
c->put_no_rnd_pixels_l2[1] = FUNCC(put_no_rnd_pixels8_l2 , depth);\
c->put_no_rnd_pixels_l2 = FUNCC(put_no_rnd_pixels8_l2 , depth);\
\
c->put_h264_chroma_pixels_tab[0] = FUNCC(put_h264_chroma_mc8 , depth);\
c->put_h264_chroma_pixels_tab[1] = FUNCC(put_h264_chroma_mc4 , depth);\
...
...
libavcodec/dsputil.h
View file @
0e02b381
...
...
@@ -292,7 +292,7 @@ typedef struct DSPContext {
*/
op_pixels_func
avg_no_rnd_pixels_tab
[
4
][
4
];
void
(
*
put_no_rnd_pixels_l2
[
2
])(
uint8_t
*
block
/*align width (8 or 16)
*/
,
const
uint8_t
*
a
/*align 1*/
,
const
uint8_t
*
b
/*align 1*/
,
int
line_size
,
int
h
);
void
(
*
put_no_rnd_pixels_l2
)(
uint8_t
*
block
/*align 8
*/
,
const
uint8_t
*
a
/*align 1*/
,
const
uint8_t
*
b
/*align 1*/
,
int
line_size
,
int
h
);
/**
* Thirdpel motion compensation with rounding (a+b+1)>>1.
...
...
libavcodec/dsputil_template.c
View file @
0e02b381
...
...
@@ -582,10 +582,6 @@ PIXOP2(put, op_put)
#define put_no_rnd_pixels8_c put_pixels8_c
#define put_no_rnd_pixels16_c put_pixels16_c
static
void
FUNCC
(
put_no_rnd_pixels16_l2
)(
uint8_t
*
dst
,
const
uint8_t
*
a
,
const
uint8_t
*
b
,
int
stride
,
int
h
){
FUNC
(
put_no_rnd_pixels16_l2
)(
dst
,
a
,
b
,
stride
,
stride
,
stride
,
h
);
}
static
void
FUNCC
(
put_no_rnd_pixels8_l2
)(
uint8_t
*
dst
,
const
uint8_t
*
a
,
const
uint8_t
*
b
,
int
stride
,
int
h
){
FUNC
(
put_no_rnd_pixels8_l2
)(
dst
,
a
,
b
,
stride
,
stride
,
stride
,
h
);
}
...
...
libavcodec/vp3.c
View file @
0e02b381
...
...
@@ -1564,7 +1564,7 @@ static void render_slice(Vp3DecodeContext *s, int slice)
motion_source
,
stride
,
8
);
}
else
{
int
d
=
(
motion_x
^
motion_y
)
>>
31
;
// d is 0 if motion_x and _y have the same sign, else -1
s
->
dsp
.
put_no_rnd_pixels_l2
[
1
]
(
s
->
dsp
.
put_no_rnd_pixels_l2
(
output_plane
+
first_pixel
,
motion_source
-
d
,
motion_source
+
stride
+
1
+
d
,
...
...
libavcodec/vp56.c
View file @
0e02b381
...
...
@@ -373,7 +373,7 @@ static void vp56_mc(VP56Context *s, int b, int plane, uint8_t *src,
s
->
filter
(
s
,
dst
,
src_block
,
src_offset
,
src_offset
+
overlap_offset
,
stride
,
s
->
mv
[
b
],
mask
,
s
->
filter_selection
,
b
<
4
);
else
s
->
dsp
.
put_no_rnd_pixels_l2
[
1
]
(
dst
,
src_block
+
src_offset
,
s
->
dsp
.
put_no_rnd_pixels_l2
(
dst
,
src_block
+
src_offset
,
src_block
+
src_offset
+
overlap_offset
,
stride
,
8
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment