GradFunContext Struct Reference

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

#include <gradfun.h>

Data Fields

int thresh
 threshold for gradient algorithm
int radius
 blur radius
int chroma_w
 width of the chroma planes
int chroma_h
 weight of the chroma planes
int chroma_r
 blur radius for the chroma planes
uint16_t * buf
 holds image data for blur algorithm passed into filter.
void(* filter_line )(uint8_t *dst, uint8_t *src, uint16_t *dc, int width, int thresh, const uint16_t *dithers)
 DSP functions.
void(* blur_line )(uint16_t *dc, uint16_t *buf, uint16_t *buf1, 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

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

Definition at line 37 of file gradfun.h.

Referenced by filter(), and init().

holds image data for blur algorithm passed into filter.

Definition at line 34 of file gradfun.h.

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

weight of the chroma planes

Definition at line 32 of file gradfun.h.

Referenced by config_input(), and end_frame().

blur radius for the chroma planes

Definition at line 33 of file gradfun.h.

Referenced by config_input(), and end_frame().

width of the chroma planes

Definition at line 31 of file gradfun.h.

Referenced by config_input(), and end_frame().

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

DSP functions.

Definition at line 36 of file gradfun.h.

Referenced by filter(), and init().

blur radius

Definition at line 30 of file gradfun.h.

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

threshold for gradient algorithm

Definition at line 29 of file gradfun.h.

Referenced by filter(), and init().


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