diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-10-03 18:59:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-05 12:26:54 +0200 |
commit | 4e7cba1d8a9c62016fb70fd13aca9df44d564481 (patch) | |
tree | 3359e650bdffc2333d3445ef29c2357d8dc3a55b /libavcodec/dnxhddata.h | |
parent | 9139a7e84f759edbff4f1ba0cd145dc07e411379 (diff) | |
download | ffmpeg-4e7cba1d8a9c62016fb70fd13aca9df44d564481.tar.gz |
dnxhd: profile flags
Move the 'interlaced' flag to this element (arbitrarily set to 16bits).
This should allow better detection/selection of profiles.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhddata.h')
-rw-r--r-- | libavcodec/dnxhddata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h index 8cc27e88e7..ade0b0ba3c 100644 --- a/libavcodec/dnxhddata.h +++ b/libavcodec/dnxhddata.h @@ -26,12 +26,16 @@ #include "avcodec.h" #include "libavutil/internal.h" +/** Additional profile info flags */ +#define DNXHD_INTERLACED (1<<0) +#define DNXHD_444 (1<<1) + typedef struct CIDEntry { int cid; unsigned int width, height; - int interlaced; unsigned int frame_size; unsigned int coding_unit_size; + uint16_t flags; int index_bits; int bit_depth; int eob_index; |