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
1465ecf0
Commit
1465ecf0
authored
Jul 04, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264dsp: 12 and 14 bit support
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
5d05acba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
h264dsp.c
libavcodec/h264dsp.c
+14
-0
No files found.
libavcodec/h264dsp.c
View file @
1465ecf0
...
...
@@ -42,6 +42,14 @@
#include "h264dsp_template.c"
#undef BIT_DEPTH
#define BIT_DEPTH 12
#include "h264dsp_template.c"
#undef BIT_DEPTH
#define BIT_DEPTH 14
#include "h264dsp_template.c"
#undef BIT_DEPTH
void
ff_h264dsp_init
(
H264DSPContext
*
c
,
const
int
bit_depth
,
const
int
chroma_format_idc
)
{
#undef FUNC
...
...
@@ -107,6 +115,12 @@ void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_fo
case
10
:
H264_DSP
(
10
);
break
;
case
12
:
H264_DSP
(
12
);
break
;
case
14
:
H264_DSP
(
14
);
break
;
default:
av_assert0
(
bit_depth
<=
8
);
H264_DSP
(
8
);
...
...
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