You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avfilter/vf_noise: Make private context smaller
"all" only exists to set options; it does not need the big arrays contained in FilterParams. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -50,7 +50,10 @@ typedef struct NoiseContext {
|
||||
int nb_planes;
|
||||
int bytewidth[4];
|
||||
int height[4];
|
||||
FilterParams all;
|
||||
struct {
|
||||
int seed, strength;
|
||||
unsigned flags;
|
||||
} all;
|
||||
FilterParams param[4];
|
||||
void (*line_noise)(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift);
|
||||
void (*line_noise_avg)(uint8_t *dst, const uint8_t *src, int len, const int8_t * const *shift);
|
||||
|
||||
Reference in New Issue
Block a user