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
39c2a6bf
Commit
39c2a6bf
authored
Jul 09, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bitdepth: simplify FUNC/FUNCC macros
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
710b8df9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
bit_depth_template.c
libavcodec/bit_depth_template.c
+4
-10
No files found.
libavcodec/bit_depth_template.c
View file @
39c2a6bf
...
@@ -85,13 +85,7 @@
...
@@ -85,13 +85,7 @@
# define CLIP(a) cm[a]
# define CLIP(a) cm[a]
#endif
#endif
#if BIT_DEPTH == 8
#define FUNC3(a, b, c) a ## _ ## b ## c
# define FUNC(a) a ## _8
#define FUNC2(a, b, c) FUNC3(a, b, c)
# define FUNCC(a) a ## _8_c
#define FUNC(a) FUNC2(a, BIT_DEPTH,)
#elif BIT_DEPTH == 9
#define FUNCC(a) FUNC2(a, BIT_DEPTH, _c)
# define FUNC(a) a ## _9
# define FUNCC(a) a ## _9_c
#elif BIT_DEPTH == 10
# define FUNC(a) a ## _10
# define FUNCC(a) a ## _10_c
#endif
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