summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.h
diff options
context:
space:
mode:
authorJoseph Artsimovich <joseph@mirriad.com>2011-07-20 18:58:27 +0100
committerMans Rullgard <mans@mansr.com>2011-07-21 18:44:40 +0100
commit5ab21439fdfb8e239eb778128590d95967067b46 (patch)
treebeb40a4c054dff651f6afa91649ab7882559f08e /libavcodec/dnxhdenc.h
parenta617c6aaa3e6c0201c9ea31d319808273efd78b0 (diff)
downloadffmpeg-streaming-5ab21439fdfb8e239eb778128590d95967067b46.zip
ffmpeg-streaming-5ab21439fdfb8e239eb778128590d95967067b46.tar.gz
dnxhd: 10-bit support
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dnxhdenc.h')
-rw-r--r--libavcodec/dnxhdenc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index bb24540..861546a 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -52,8 +52,12 @@ typedef struct DNXHDEncContext {
struct DNXHDEncContext *thread[MAX_THREADS];
+ // Because our samples are either 8 or 16 bits for 8-bit and 10-bit
+ // encoding respectively, these refer either to bytes or to two-byte words.
unsigned dct_y_offset;
unsigned dct_uv_offset;
+ unsigned block_width_l2;
+
int interlaced;
int cur_field;
OpenPOWER on IntegriCloud