FFmpeg
Typedefs | Functions
vf_blackdetect.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef unsigned(* ff_blackdetect_fn) (const uint8_t *src, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, unsigned threshold)
 

Functions

ff_blackdetect_fn ff_blackdetect_get_fn_x86 (int depth)
 
static unsigned count_pixels8_c (const uint8_t *src, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, unsigned threshold)
 
static unsigned count_pixels16_c (const uint8_t *src, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, unsigned threshold)
 
static ff_blackdetect_fn ff_blackdetect_get_fn (int depth)
 

Typedef Documentation

◆ ff_blackdetect_fn

typedef unsigned(* ff_blackdetect_fn) (const uint8_t *src, ptrdiff_t stride, ptrdiff_t width, ptrdiff_t height, unsigned threshold)

Definition at line 25 of file vf_blackdetect.h.

Function Documentation

◆ ff_blackdetect_get_fn_x86()

ff_blackdetect_fn ff_blackdetect_get_fn_x86 ( int  depth)

Definition at line 28 of file vf_blackdetect_init.c.

Referenced by ff_blackdetect_get_fn().

◆ count_pixels8_c()

static unsigned count_pixels8_c ( const uint8_t *  src,
ptrdiff_t  stride,
ptrdiff_t  width,
ptrdiff_t  height,
unsigned  threshold 
)
static

Definition at line 31 of file vf_blackdetect.h.

Referenced by ff_blackdetect_get_fn().

◆ count_pixels16_c()

static unsigned count_pixels16_c ( const uint8_t *  src,
ptrdiff_t  stride,
ptrdiff_t  width,
ptrdiff_t  height,
unsigned  threshold 
)
static

Definition at line 44 of file vf_blackdetect.h.

Referenced by ff_blackdetect_get_fn().

◆ ff_blackdetect_get_fn()

static ff_blackdetect_fn ff_blackdetect_get_fn ( int  depth)
inlinestatic

Definition at line 59 of file vf_blackdetect.h.

Referenced by check_blackdetect(), and config_input().