diff options
author | Marton Balint <cus@passwd.hu> | 2024-05-08 23:05:27 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2024-05-14 21:07:37 +0200 |
commit | a69a0b689c3c4e1e0bbf4c17716a25e14332a250 (patch) | |
tree | 8fa5305a4f7c1e3631c4140ea90f33a482192eb6 /libavfilter/blend.h | |
parent | 77fc047bd91eaef615a2c36b93ee23d7d27e7d25 (diff) | |
download | ffmpeg-a69a0b689c3c4e1e0bbf4c17716a25e14332a250.tar.gz |
avfilter/blend: put slice parameters to a single struct
This should make future extensibility easier.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/blend.h')
-rw-r--r-- | libavfilter/blend.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavfilter/blend.h b/libavfilter/blend.h index b046e062bc..52c1b777c2 100644 --- a/libavfilter/blend.h +++ b/libavfilter/blend.h @@ -69,6 +69,11 @@ enum BlendMode { BLEND_NB }; +typedef struct SliceParams { + double *values; + int starty; +} SliceParams; + typedef struct FilterParams { enum BlendMode mode; double opacity; @@ -78,7 +83,7 @@ typedef struct FilterParams { const uint8_t *bottom, ptrdiff_t bottom_linesize, uint8_t *dst, ptrdiff_t dst_linesize, ptrdiff_t width, ptrdiff_t height, - struct FilterParams *param, double *values, int starty); + struct FilterParams *param, SliceParams *sliceparam); } FilterParams; void ff_blend_init_x86(FilterParams *param, int depth); |