FFmpeg
Data Structures | Functions
vf_colordetect.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <libavutil/macros.h>
#include <libavutil/pixfmt.h>

Go to the source code of this file.

Data Structures

struct  FFColorDetectDSPContext
 

Functions

void ff_color_detect_dsp_init (FFColorDetectDSPContext *dsp, int depth, enum AVColorRange color_range)
 
void ff_color_detect_dsp_init_x86 (FFColorDetectDSPContext *dsp, int depth, enum AVColorRange color_range)
 
static int ff_detect_range_c (const uint8_t *data, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, int mpeg_min, int mpeg_max)
 
static int ff_detect_range16_c (const uint8_t *data, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, int mpeg_min, int mpeg_max)
 
static int ff_detect_alpha_full_c (const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int p, int q, int k)
 
static int ff_detect_alpha_limited_c (const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int p, int q, int k)
 
static int ff_detect_alpha16_full_c (const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int p, int q, int k)
 
static int ff_detect_alpha16_limited_c (const uint8_t *color, ptrdiff_t color_stride, const uint8_t *alpha, ptrdiff_t alpha_stride, ptrdiff_t width, ptrdiff_t height, int p, int q, int k)
 

Function Documentation

◆ ff_color_detect_dsp_init()

void ff_color_detect_dsp_init ( FFColorDetectDSPContext dsp,
int  depth,
enum AVColorRange  color_range 
)

Definition at line 232 of file vf_colordetect.c.

Referenced by check_alpha_detect(), check_range_detect(), and config_input().

◆ ff_color_detect_dsp_init_x86()

void ff_color_detect_dsp_init_x86 ( FFColorDetectDSPContext dsp,
int  depth,
enum AVColorRange  color_range 
)

Definition at line 79 of file vf_colordetect_init.c.

Referenced by ff_color_detect_dsp_init().

◆ ff_detect_range_c()

static int ff_detect_range_c ( const uint8_t *  data,
ptrdiff_t  stride,
ptrdiff_t  width,
ptrdiff_t  height,
int  mpeg_min,
int  mpeg_max 
)
inlinestatic

Definition at line 47 of file vf_colordetect.h.

Referenced by ff_color_detect_dsp_init().

◆ ff_detect_range16_c()

static int ff_detect_range16_c ( const uint8_t *  data,
ptrdiff_t  stride,
ptrdiff_t  width,
ptrdiff_t  height,
int  mpeg_min,
int  mpeg_max 
)
inlinestatic

Definition at line 63 of file vf_colordetect.h.

Referenced by ff_color_detect_dsp_init().

◆ ff_detect_alpha_full_c()

static int ff_detect_alpha_full_c ( const uint8_t *  color,
ptrdiff_t  color_stride,
const uint8_t *  alpha,
ptrdiff_t  alpha_stride,
ptrdiff_t  width,
ptrdiff_t  height,
int  p,
int  q,
int  k 
)
inlinestatic

Definition at line 81 of file vf_colordetect.h.

Referenced by ff_color_detect_dsp_init().

◆ ff_detect_alpha_limited_c()

static int ff_detect_alpha_limited_c ( const uint8_t *  color,
ptrdiff_t  color_stride,
const uint8_t *  alpha,
ptrdiff_t  alpha_stride,
ptrdiff_t  width,
ptrdiff_t  height,
int  p,
int  q,
int  k 
)
inlinestatic

Definition at line 98 of file vf_colordetect.h.

Referenced by ff_color_detect_dsp_init().

◆ ff_detect_alpha16_full_c()

static int ff_detect_alpha16_full_c ( const uint8_t *  color,
ptrdiff_t  color_stride,
const uint8_t *  alpha,
ptrdiff_t  alpha_stride,
ptrdiff_t  width,
ptrdiff_t  height,
int  p,
int  q,
int  k 
)
inlinestatic

Definition at line 115 of file vf_colordetect.h.

Referenced by ff_color_detect_dsp_init().

◆ ff_detect_alpha16_limited_c()

static int ff_detect_alpha16_limited_c ( const uint8_t *  color,
ptrdiff_t  color_stride,
const uint8_t *  alpha,
ptrdiff_t  alpha_stride,
ptrdiff_t  width,
ptrdiff_t  height,
int  p,
int  q,
int  k 
)
inlinestatic

Definition at line 134 of file vf_colordetect.h.

Referenced by ff_color_detect_dsp_init().