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
3db02b83
Commit
3db02b83
authored
Jan 04, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnxhd: Add avpriv_dnxhd_get_frame_size()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
11e1466b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
dnxhddata.c
libavcodec/dnxhddata.c
+8
-0
dnxhddata.h
libavcodec/dnxhddata.h
+2
-0
No files found.
libavcodec/dnxhddata.c
View file @
3db02b83
...
...
@@ -1027,6 +1027,14 @@ int ff_dnxhd_get_cid_table(int cid)
return
-
1
;
}
int
avpriv_dnxhd_get_frame_size
(
int
cid
)
{
int
i
=
ff_dnxhd_get_cid_table
(
cid
);
if
(
i
<
0
)
return
i
;
return
ff_dnxhd_cid_table
[
i
].
frame_size
;
}
int
ff_dnxhd_find_cid
(
AVCodecContext
*
avctx
,
int
bit_depth
)
{
int
i
,
j
;
...
...
libavcodec/dnxhddata.h
View file @
3db02b83
...
...
@@ -50,4 +50,6 @@ extern av_export const CIDEntry ff_dnxhd_cid_table[];
int
ff_dnxhd_get_cid_table
(
int
cid
);
int
ff_dnxhd_find_cid
(
AVCodecContext
*
avctx
,
int
bit_depth
);
int
avpriv_dnxhd_get_frame_size
(
int
cid
);
#endif
/* AVCODEC_DNXHDDATA_H */
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