summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.h
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2016-08-07 16:15:27 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-12 23:25:36 +0200
commit6051bb338c5bc2d40b17d228bf6007cdd15ba1c4 (patch)
treef675ee737b5d046214d1a52114922c9e7428e63d /libavcodec/dnxhdenc.h
parentb5f30fe8fea586545b140abbd0602188b09d3133 (diff)
downloadffmpeg-streaming-6051bb338c5bc2d40b17d228bf6007cdd15ba1c4.zip
ffmpeg-streaming-6051bb338c5bc2d40b17d228bf6007cdd15ba1c4.tar.gz
libavcodec/dnxhdenc: add edge emulate for dnxhr
Fixes handling for resolutions that are not multiples of 16. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhdenc.h')
-rw-r--r--libavcodec/dnxhdenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index 7f8e7b3..96a79aa 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -71,6 +71,8 @@ typedef struct DNXHDEncContext {
int intra_quant_bias;
DECLARE_ALIGNED(16, int16_t, blocks)[8][64];
+ uint8_t edge_buf_y[256];
+ uint8_t edge_buf_uv[2][128];
int (*qmatrix_c) [64];
int (*qmatrix_l) [64];
OpenPOWER on IntegriCloud