From 6051bb338c5bc2d40b17d228bf6007cdd15ba1c4 Mon Sep 17 00:00:00 2001 From: Mark Reid Date: Sun, 7 Aug 2016 16:15:27 -0700 Subject: libavcodec/dnxhdenc: add edge emulate for dnxhr Fixes handling for resolutions that are not multiples of 16. Signed-off-by: Michael Niedermayer --- libavcodec/dnxhdenc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/dnxhdenc.h') diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h index 7f8e7b35f2..96a79aa424 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]; -- cgit v1.2.3