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
fceeac98
Commit
fceeac98
authored
Dec 26, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1dsp: fix pointer type warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
67c1acf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
vc1dsp.c
libavcodec/vc1dsp.c
+11
-2
No files found.
libavcodec/vc1dsp.c
View file @
fceeac98
...
...
@@ -616,6 +616,15 @@ static av_always_inline void OPNAME ## vc1_mspel_mc(uint8_t *dst, const uint8_t
dst += stride;\
src += stride;\
}\
}\
static void OPNAME ## pixels8x8_c(uint8_t *block, const uint8_t *pixels, int line_size, int rnd){\
int i;\
for(i=0; i<8; i++){\
OP(*(block ), AV_RN32(pixels ));\
OP(*(block+4), AV_RN32(pixels+4));\
pixels+=line_size;\
block +=line_size;\
}\
}
#define op_put(a, b) a = av_clip_uint8(b)
...
...
@@ -802,7 +811,7 @@ av_cold void ff_vc1dsp_init(VC1DSPContext* dsp) {
dsp
->
vc1_v_loop_filter16
=
vc1_v_loop_filter16_c
;
dsp
->
vc1_h_loop_filter16
=
vc1_h_loop_filter16_c
;
dsp
->
put_vc1_mspel_pixels_tab
[
0
]
=
ff_
put_pixels8x8_c
;
dsp
->
put_vc1_mspel_pixels_tab
[
0
]
=
put_pixels8x8_c
;
dsp
->
put_vc1_mspel_pixels_tab
[
1
]
=
put_vc1_mspel_mc10_c
;
dsp
->
put_vc1_mspel_pixels_tab
[
2
]
=
put_vc1_mspel_mc20_c
;
dsp
->
put_vc1_mspel_pixels_tab
[
3
]
=
put_vc1_mspel_mc30_c
;
...
...
@@ -819,7 +828,7 @@ av_cold void ff_vc1dsp_init(VC1DSPContext* dsp) {
dsp
->
put_vc1_mspel_pixels_tab
[
14
]
=
put_vc1_mspel_mc23_c
;
dsp
->
put_vc1_mspel_pixels_tab
[
15
]
=
put_vc1_mspel_mc33_c
;
dsp
->
avg_vc1_mspel_pixels_tab
[
0
]
=
ff_
avg_pixels8x8_c
;
dsp
->
avg_vc1_mspel_pixels_tab
[
0
]
=
avg_pixels8x8_c
;
dsp
->
avg_vc1_mspel_pixels_tab
[
1
]
=
avg_vc1_mspel_mc10_c
;
dsp
->
avg_vc1_mspel_pixels_tab
[
2
]
=
avg_vc1_mspel_mc20_c
;
dsp
->
avg_vc1_mspel_pixels_tab
[
3
]
=
avg_vc1_mspel_mc30_c
;
...
...
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