summaryrefslogtreecommitdiff
path: root/libavcodec/utvideo.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-06-11 18:17:41 +0200
committerPaul B Mahol <onemda@gmail.com>2016-06-11 18:36:39 +0200
commit115e63c8d6791ebdc921caf40c3def024690af2e (patch)
tree0d768fce26ec62026b552f7192c90af9b94fad8c /libavcodec/utvideo.h
parentb21f674876badefc68e4deecdb4a1d46de10b67c (diff)
avcodec/utvideo: add support for UQY2
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/utvideo.h')
-rw-r--r--libavcodec/utvideo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/utvideo.h b/libavcodec/utvideo.h
index 84eec66338..b785bf057a 100644
--- a/libavcodec/utvideo.h
+++ b/libavcodec/utvideo.h
@@ -76,6 +76,7 @@ typedef struct UtvideoContext {
int compression;
int interlaced;
int frame_pred;
+ int pro;
int slice_stride;
uint8_t *slice_bits, *slice_buffer[4];
@@ -83,12 +84,13 @@ typedef struct UtvideoContext {
} UtvideoContext;
typedef struct HuffEntry {
- uint8_t sym;
+ uint16_t sym;
uint8_t len;
uint32_t code;
} HuffEntry;
/* Compare huffman tree nodes */
int ff_ut_huff_cmp_len(const void *a, const void *b);
+int ff_ut10_huff_cmp_len(const void *a, const void *b);
#endif /* AVCODEC_UTVIDEO_H */