summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-08-08 00:00:46 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-08 00:32:09 +0200
commitce2217b25eccda9f5c14022bd69792e71b417b73 (patch)
tree7ea358b77eb60739b9ec153bcc74b0408e8ab575 /libavcodec/ffv1.h
parent74314f1f5f9ef69700eb18b85a8260e2754a31ef (diff)
avcodec/ffv1: add AV_PIX_FMT_GBRP16 support
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ffv1.h')
-rw-r--r--libavcodec/ffv1.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index 5f4a340a87..c2bae1e6da 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -109,6 +109,9 @@ typedef struct FFV1Context {
int run_index;
int colorspace;
int16_t *sample_buffer;
+ int32_t *sample_buffer32;
+
+ int use32bit;
int ec;
int intra;
@@ -198,4 +201,10 @@ static inline void update_vlc_state(VlcState *const state, const int v)
#undef TYPE
#undef RENAME
+#define TYPE int32_t
+#define RENAME(name) name ## 32
+#include "ffv1_template.c"
+#undef TYPE
+#undef RENAME
+
#endif /* AVCODEC_FFV1_H */