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
e3f71423
Commit
e3f71423
authored
Feb 16, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/vc1dsp: add () to protect the arguments of the op* macros
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
cb9d4045
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vc1dsp.c
libavcodec/vc1dsp.c
+4
-4
No files found.
libavcodec/vc1dsp.c
View file @
e3f71423
...
@@ -723,10 +723,10 @@ static void OPNAME ## pixels16x16_c(uint8_t *block, const uint8_t *pixels, ptrdi
...
@@ -723,10 +723,10 @@ static void OPNAME ## pixels16x16_c(uint8_t *block, const uint8_t *pixels, ptrdi
}\
}\
}
}
#define op_put(a, b)
a
= av_clip_uint8(b)
#define op_put(a, b)
(a)
= av_clip_uint8(b)
#define op_avg(a, b)
a = (a
+ av_clip_uint8(b) + 1) >> 1
#define op_avg(a, b)
(a) = ((a)
+ av_clip_uint8(b) + 1) >> 1
#define op4_avg(a, b)
a
= rnd_avg32(a, b)
#define op4_avg(a, b)
(a)
= rnd_avg32(a, b)
#define op4_put(a, b)
a = b
#define op4_put(a, b)
(a) = (b)
VC1_MSPEL_MC
(
op_put
,
op4_put
,
put_
)
VC1_MSPEL_MC
(
op_put
,
op4_put
,
put_
)
VC1_MSPEL_MC
(
op_avg
,
op4_avg
,
avg_
)
VC1_MSPEL_MC
(
op_avg
,
op4_avg
,
avg_
)
...
...
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