23 #ifndef AVFILTER_FSPP_H 24 #define AVFILTER_FSPP_H 34 #define FIX(x,s) ((int) ((x) * (1 << s) + 0.5) & 0xffff) 35 #define C64(x) ((uint64_t)((x) | (x) << 16)) <<32 | (uint64_t)(x) | (uint64_t)(x) << 16 36 #define FIX64(x,s) C64(FIX(x,s)) 38 #define MULTIPLY16H(x,k) (((x) * (k)) >> 16) 39 #define THRESHOLD(r,x,t) \ 40 if(((unsigned)((x) + t)) > t * 2) r = (x); \ 42 #define DESCALE(x,n) (((x) + (1 << ((n) - 1))) >> n) 75 ptrdiff_t dst_stride, ptrdiff_t src_stride,
76 ptrdiff_t
width, ptrdiff_t
height, ptrdiff_t log2_scale);
79 ptrdiff_t dst_stride, ptrdiff_t src_stride,
80 ptrdiff_t
width, ptrdiff_t
height, ptrdiff_t log2_scale);
85 int16_t *output,
int cnt);
88 ptrdiff_t output_stride,
int cnt);
91 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]
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
void ff_fspp_init_x86(FSPPContext *fspp)
static const int16_t FIX_0_541196100
void(* column_fidct)(int16_t *thr_adr, int16_t *data, int16_t *output, int cnt)
typedef void(RENAME(mix_any_func_type))
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