Go to the documentation of this file.
25 const uint8_t *
alpha, ptrdiff_t alpha_stride,
27 int alpha_max,
int mpeg_range,
int offset);
30 const uint8_t *
alpha, ptrdiff_t alpha_stride,
32 int alpha_max,
int mpeg_range,
int offset);
35 const uint8_t *
alpha, ptrdiff_t alpha_stride,
37 int alpha_max,
int mpeg_range,
int offset);
40 const uint8_t *
alpha, ptrdiff_t alpha_stride,
42 int alpha_max,
int mpeg_range,
int offset);
46 int mpeg_min,
int mpeg_max);
50 int mpeg_min,
int mpeg_max);
int ff_detect_range_neon(const uint8_t *data, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, int mpeg_min, int mpeg_max)
@ AVCOL_RANGE_JPEG
Full range content.
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
static atomic_int cpu_flags
int ff_detect_range16_neon(const uint8_t *data, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, int mpeg_min, int mpeg_max)
int ff_detect_alpha16_full_neon(const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int alpha_max, int mpeg_range, int offset)
av_cold void ff_color_detect_dsp_init_aarch64(FFColorDetectDSPContext *dsp, int depth, enum AVColorRange color_range)
int(* detect_alpha)(const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int alpha_max, int mpeg_range, int offset)
int ff_detect_alpha16_limited_neon(const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int alpha_max, int mpeg_range, int offset)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf offset
int(* detect_range)(const uint8_t *data, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, int mpeg_min, int mpeg_max)
static const int16_t alpha[]
int ff_detect_alpha_limited_neon(const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int alpha_max, int mpeg_range, int offset)
int ff_detect_alpha_full_neon(const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int alpha_max, int mpeg_range, int offset)
AVColorRange
Visual content value range.