Commit 3db02b83 authored by Michael Niedermayer's avatar Michael Niedermayer

dnxhd: Add avpriv_dnxhd_get_frame_size()

Signed-off-by: 's avatarMichael Niedermayer <>
parent 11e1466b
......@@ -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;
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment