]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dnxhdenc.h
rgb2rgb: allow conversion for <15 bpp
[ffmpeg] / libavcodec / dnxhdenc.h
index bb24540a9f9f82de2bd94780ddaaa7ba55c89f61..861546a54cfb09ad3a1f57520ea57ff39f65176c 100644 (file)
@@ -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;