23 #ifndef AVFILTER_FSPP_H 24 #define AVFILTER_FSPP_H 34 #define FIX(x,s) ((x) * (1 << s) + 0.5) 36 #define MULTIPLY16H(x,k) (((x) * (k)) >> 16) 37 #define THRESHOLD(r,x,t) \ 38 if(((unsigned)((x) + t)) > t * 2) r = (x); \ 40 #define DESCALE(x,n) (((x) + (1 << ((n) - 1))) >> n) 73 ptrdiff_t dst_stride, ptrdiff_t src_stride,
74 ptrdiff_t
width, ptrdiff_t
height, ptrdiff_t log2_scale);
77 ptrdiff_t dst_stride, ptrdiff_t src_stride,
78 ptrdiff_t
width, ptrdiff_t
height, ptrdiff_t log2_scale);
86 ptrdiff_t output_stride,
int cnt);
89 ptrdiff_t line_size,
int cnt);
static const int16_t FIX_1_414213562_A
static const int16_t FIX_1_082392200
void(* mul_thrmat)(int16_t *thr_adr_noq, int16_t *thr_adr, int q)
uint64_t threshold_mtx_noq[8 *2]
ptrdiff_t const GLvoid * data
Main libavfilter public API header.
void(* row_idct)(int16_t *workspace, int16_t *output_adr, ptrdiff_t output_stride, int cnt)
static const int16_t FIX_2_613125930
uint64_t threshold_mtx[8 *2]
static const int16_t FIX_1_306562965
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce output
void ff_fspp_init_x86(FSPPContext *fspp)
static const int16_t FIX_0_541196100
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
void(* column_fidct)(int16_t *thr_adr, int16_t *data, int16_t *output, int cnt)
void(* store_slice)(uint8_t *dst, int16_t *src, ptrdiff_t dst_stride, ptrdiff_t src_stride, ptrdiff_t width, ptrdiff_t height, ptrdiff_t log2_scale)
Describe the class of an AVClass context structure.
static const int16_t FIX_1_414213562
static const int16_t FIX_0_707106781
void(* row_fdct)(int16_t *data, const uint8_t *pixels, ptrdiff_t line_size, int cnt)
static const int16_t FIX_0_382683433
void(* store_slice2)(uint8_t *dst, int16_t *src, ptrdiff_t dst_stride, ptrdiff_t src_stride, ptrdiff_t width, ptrdiff_t height, ptrdiff_t log2_scale)
static const int16_t FIX_1_847759065