summaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-03-25 20:19:26 +0100
committerPaul B Mahol <onemda@gmail.com>2017-04-01 18:46:40 +0200
commitf078bc4c5e6675a93166a7e5b23feb5b04ac9320 (patch)
tree6772c0aa7e4f3ddd44a88d6f1b5a39bd80d899ad /libavcodec/dnxhdenc.h
parent507a85b93c9388aeb290664183e572ee42288c2d (diff)
downloadffmpeg-streaming-f078bc4c5e6675a93166a7e5b23feb5b04ac9320.zip
ffmpeg-streaming-f078bc4c5e6675a93166a7e5b23feb5b04ac9320.tar.gz
avcodec/dnxhdenc: DNxHR 444 and HQX support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/dnxhdenc.h')
-rw-r--r--libavcodec/dnxhdenc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index bcb25cd..9b43f6e 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -48,6 +48,8 @@ typedef struct DNXHDEncContext {
int cid;
int profile;
+ int bit_depth;
+ int is_444;
const CIDEntry *cid_table;
uint8_t *msip; ///< Macroblock Scan Indexes Payload
uint32_t *slice_size;
@@ -72,9 +74,9 @@ typedef struct DNXHDEncContext {
unsigned min_padding;
int intra_quant_bias;
- DECLARE_ALIGNED(16, int16_t, blocks)[8][64];
+ DECLARE_ALIGNED(16, int16_t, blocks)[12][64];
DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[256];
- DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][128];
+ DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][256];
int (*qmatrix_c) [64];
int (*qmatrix_l) [64];
OpenPOWER on IntegriCloud