FFmpeg  4.0
Data Fields
GradFunContext Struct Reference

Holds instance-specific information for gradfun. More...

#include <libavfilter/gradfun.h>

Data Fields

const AVClassclass
 
float strength
 
int thresh
 threshold for gradient algorithm More...
 
int radius
 blur radius More...
 
int chroma_w
 width of the chroma planes More...
 
int chroma_h
 weight of the chroma planes More...
 
int chroma_r
 blur radius for the chroma planes More...
 
uint16_t * buf
 holds image data for blur algorithm passed into filter. More...
 
void(* filter_line )(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *dithers)
 DSP functions. More...
 
void(* blur_line )(uint16_t *dc, uint16_t *buf, const uint16_t *buf1, const uint8_t *src, int src_linesize, int width)
 

Detailed Description

Holds instance-specific information for gradfun.

Definition at line 28 of file gradfun.h.

Field Documentation

◆ class

const AVClass* GradFunContext::class

Definition at line 29 of file gradfun.h.

◆ strength

float GradFunContext::strength

Definition at line 30 of file gradfun.h.

Referenced by init().

◆ thresh

int GradFunContext::thresh

threshold for gradient algorithm

Definition at line 31 of file gradfun.h.

Referenced by filter(), and init().

◆ radius

int GradFunContext::radius

blur radius

Definition at line 32 of file gradfun.h.

Referenced by config_input(), filter_frame(), and init().

◆ chroma_w

int GradFunContext::chroma_w

width of the chroma planes

Definition at line 33 of file gradfun.h.

Referenced by config_input(), and filter_frame().

◆ chroma_h

int GradFunContext::chroma_h

weight of the chroma planes

Definition at line 34 of file gradfun.h.

Referenced by config_input(), and filter_frame().

◆ chroma_r

int GradFunContext::chroma_r

blur radius for the chroma planes

Definition at line 35 of file gradfun.h.

Referenced by config_input(), and filter_frame().

◆ buf

uint16_t* GradFunContext::buf

holds image data for blur algorithm passed into filter.

Definition at line 36 of file gradfun.h.

Referenced by config_input(), filter(), and uninit().

◆ filter_line

void(* GradFunContext::filter_line) (uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *dithers)

DSP functions.

Definition at line 38 of file gradfun.h.

Referenced by ff_gradfun_init_x86(), filter(), and init().

◆ blur_line

void(* GradFunContext::blur_line) (uint16_t *dc, uint16_t *buf, const uint16_t *buf1, const uint8_t *src, int src_linesize, int width)

Definition at line 39 of file gradfun.h.

Referenced by ff_gradfun_init_x86(), filter(), and init().


The documentation for this struct was generated from the following file: