diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-03-25 22:19:26 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-04-01 19:46:40 +0300 |
commit | f078bc4c5e6675a93166a7e5b23feb5b04ac9320 (patch) | |
tree | 6772c0aa7e4f3ddd44a88d6f1b5a39bd80d899ad /libavcodec/dnxhdenc.h | |
parent | 507a85b93c9388aeb290664183e572ee42288c2d (diff) |
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.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h index bcb25cd832..9b43f6e9c6 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]; |