Go to the documentation of this file.
59 for (j = 0; j <
width; j++)
60 dst[j] = ((2 *
src[j] +
src[j + 1] + 1) *
73 for (j = 0; j <
width; j++)
74 dst[j] = ((
src[j] + 2 *
src[j + 1] + 1) *
87 for (j = 0; j <
width; j++)
101 for (j = 0; j <
width; j++)
102 dst[j] = ((4 *
src[j] + 3 *
src[j + 1] +
116 for (j = 0; j <
width; j++)
117 dst[j] = ((3 *
src[j] + 2 *
src[j + 1] +
131 for (j = 0; j <
width; j++)
145 for (j = 0; j <
width; j++)
146 dst[j] = ((3 *
src[j] + 4 *
src[j + 1] +
160 for (j = 0; j <
width; j++)
161 dst[j] = ((2 *
src[j] + 3 *
src[j + 1] +
194 for (j = 0; j <
width; j++)
196 (((2 *
src[j] +
src[j + 1] + 1) *
197 683) >> 11) + 1) >> 1;
209 for (j = 0; j <
width; j++)
211 (((
src[j] + 2 *
src[j + 1] + 1) *
212 683) >> 11) + 1) >> 1;
224 for (j = 0; j <
width; j++)
227 683) >> 11) + 1) >> 1;
239 for (j = 0; j <
width; j++)
241 (((4 *
src[j] + 3 *
src[j + 1] +
243 2731) >> 15) + 1) >> 1;
255 for (j = 0; j <
width; j++)
257 (((3 *
src[j] + 2 *
src[j + 1] +
259 2731) >> 15) + 1) >> 1;
271 for (j = 0; j <
width; j++)
274 683) >> 11) + 1) >> 1;
286 for (j = 0; j <
width; j++)
288 (((3 *
src[j] + 4 *
src[j + 1] +
290 2731) >> 15) + 1) >> 1;
302 for (j = 0; j <
width; j++)
304 (((2 *
src[j] + 3 *
src[j + 1] +
306 2731) >> 15) + 1) >> 1;
static void avg_tpel_pixels_mc20_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void avg_tpel_pixels_mc22_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc02_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void avg_tpel_pixels_mc01_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void avg_tpel_pixels_mc02_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc12_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
av_cold void ff_tpeldsp_init(TpelDSPContext *c)
static void put_tpel_pixels_mc22_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void avg_tpel_pixels_mc12_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc01_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc11_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void avg_tpel_pixels_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
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 void avg_tpel_pixels_mc10_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void avg_tpel_pixels_mc21_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc20_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
#define i(width, name, range_min, range_max)
static void avg_tpel_pixels_mc11_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc21_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)
static void put_tpel_pixels_mc10_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height)