Go to the documentation of this file.
26 #ifndef AVCODEC_QPELDSP_H
27 #define AVCODEC_QPELDSP_H
38 int dst_stride,
int src_stride1,
int src_stride2,
41 #define DEF_OLD_QPEL(name) \
42 void ff_put_ ## name(uint8_t *dst , \
43 const uint8_t *src , \
45 void ff_put_no_rnd_ ## name(uint8_t *dst , \
46 const uint8_t *src , \
48 void ff_avg_ ## name(uint8_t *dst , \
49 const uint8_t *src , \
void ff_qpeldsp_init(QpelDSPContext *c)
void ff_put_pixels8x8_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
void ff_qpeldsp_init_x86(QpelDSPContext *c)
void ff_avg_pixels8x8_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
void ff_put_pixels16x16_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
void ff_qpeldsp_init_mips(QpelDSPContext *c)
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
void(* qpel_mc_func)(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
#define DEF_OLD_QPEL(name)
void ff_put_pixels8_l2_8(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
void ff_avg_pixels16x16_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)