28 short brightness,
int w);
31 const uint8_t *
src,
int src_stride,
int w,
int h)
33 short contrast = (short) (param->
contrast * 256 * 16);
34 short brightness = ((short) (100.0 * param->
brightness + 100.0) * 511)
35 / 200 - 128 - contrast / 32;
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Macro definitions for various function/variable attributes.
static atomic_int cpu_flags
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
#define EXTERNAL_SSE2(flags)
static void process_sse2(EQParameters *param, uint8_t *dst, int dst_stride, const uint8_t *src, int src_stride, int w, int h)
av_cold void ff_eq_init_x86(EQContext *eq)
void ff_process_one_line_sse2(const uint8_t *src, uint8_t *dst, short contrast, short brightness, int w)