Go to the documentation of this file.
21 #ifndef AVCODEC_DIRACDSP_H
22 #define AVCODEC_DIRACDSP_H
51 void (*dequant_subband[4])(
uint8_t *
src,
uint8_t *dst, ptrdiff_t
stride,
const int qf,
const int qs,
int tot_v,
int tot_h);
57 #define DECL_DIRAC_PIXOP(PFX, EXT) \
58 void ff_ ## PFX ## _dirac_pixels8_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h); \
59 void ff_ ## PFX ## _dirac_pixels16_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h); \
60 void ff_ ## PFX ## _dirac_pixels32_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h)
void ff_diracdsp_init(DiracDSPContext *c)
void(* dirac_biweight_func)(uint8_t *dst, const uint8_t *src, int stride, int log2_denom, int weightd, int weights, int h)
static void dirac_hpel_filter(uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, const uint8_t *src, int stride, int width, int height)
void(* dirac_weight_func)(uint8_t *block, int stride, int log2_denom, int weight, int h)
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
static int weight(int i, int blen, int offset)
#define DECL_DIRAC_PIXOP(PFX, EXT)
void ff_diracdsp_init_x86(DiracDSPContext *c)
The exact code depends on how similar the blocks are and how related they are to the block