This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
dnxhd: Add avpriv_dnxhd_get_frame_size()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer
12 years ago
parent
11e1466b43
commit
3db02b83e7
2 changed files
with
10 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
libavcodec/dnxhddata.c
+2
-0
libavcodec/dnxhddata.h
+ 8
- 0
libavcodec/dnxhddata.c
View File
@@ -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;
+ 2
- 0
libavcodec/dnxhddata.h
View File
@@ -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
Loading…
Cancel
Save