aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-07-07 19:46:20 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-01 10:09:25 +0200
commit91d3c1ac47d4a2b1455945b6131a44cdc5e7f425 (patch)
tree19c2d267b8e429032936163601d2c79bdd170869 /libavcodec/ffv1.h
parent54aa33f116b9451a50a39cffd5cec5bfd21a47a8 (diff)
downloadffmpeg-91d3c1ac47d4a2b1455945b6131a44cdc5e7f425.tar.gz
lavc/ffv1: move sample_buffer to the per-slice context
Diffstat (limited to 'libavcodec/ffv1.h')
-rw-r--r--libavcodec/ffv1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index 256904b283..ccb510a483 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -70,6 +70,9 @@ typedef struct PlaneContext {
#define MAX_SLICES 1024
typedef struct FFV1SliceContext {
+ int16_t *sample_buffer;
+ int32_t *sample_buffer32;
+
int slice_width;
int slice_height;
int slice_x;
@@ -108,8 +111,6 @@ typedef struct FFV1Context {
uint8_t (*initial_states[MAX_QUANT_TABLES])[32];
int run_index;
int colorspace;
- int16_t *sample_buffer;
- int32_t *sample_buffer32;
int use32bit;