diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-12-29 23:25:39 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-01-02 15:41:49 +0300 |
commit | 92b32664cdc064523c60ddba5ed139855e08470c (patch) | |
tree | b031bc1facd0350a3b0294c72257e5d7f2632f94 /libavcodec/utvideo.h | |
parent | 41e51fbcd9ed3fd3d9e8f98a017b152506a965d2 (diff) |
avcodec/utvideodec: add support for UMH2, UMY2, UMH4, UMY4, UMRA, UMRG
These are new modes which are supposed to be more SIMD friendly.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/utvideo.h')
-rw-r--r-- | libavcodec/utvideo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/utvideo.h b/libavcodec/utvideo.h index a8117851a7..cf0bb28c44 100644 --- a/libavcodec/utvideo.h +++ b/libavcodec/utvideo.h @@ -72,17 +72,23 @@ typedef struct UtvideoContext { LLVidDSPContext llviddsp; LLVidEncDSPContext llvidencdsp; - uint32_t frame_info_size, flags, frame_info; + uint32_t frame_info_size, flags, frame_info, offset; int planes; int slices; int compression; int interlaced; int frame_pred; int pro; + int pack; ptrdiff_t slice_stride; uint8_t *slice_bits, *slice_buffer[4]; int slice_bits_size; + + const uint8_t *packed_stream[4][256]; + size_t packed_stream_size[4][256]; + const uint8_t *control_stream[4][256]; + size_t control_stream_size[4][256]; } UtvideoContext; typedef struct HuffEntry { |