25 int x16,
int y16,
int rounder)
27 const int A = (16 - x16) * (16 - y16);
28 const int B = (x16) * (16 - y16);
29 const int C = (16 - x16) * (y16);
30 const int D = (x16) * (y16);
33 for (
i = 0;
i <
h;
i++) {
48 int dxx,
int dxy,
int dyx,
int dyy,
int shift,
int r,
57 for (y = 0; y <
h; y++) {
62 for (x = 0; x < 8; x++) {
66 int frac_x = src_x & (
s - 1);
67 int frac_y = src_y & (
s - 1);
72 if ((
unsigned) src_x <
width) {
73 if ((
unsigned) src_y <
height) {
89 if ((
unsigned) src_y <
height) {
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
#define i(width, name, range_min, range_max)
common internal and external API header
static int shift(int a, int b)
void ff_gmc_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int h, int ox, int oy, int dxx, int dxy, int dyx, int dyy, int shift, int r, int width, int height)
av_cold void ff_mpeg4videodsp_init(Mpeg4VideoDSPContext *c)
static void gmc1_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int h, int x16, int y16, int rounder)
Macro definitions for various function/variable attributes.
void ff_mpeg4videodsp_init_ppc(Mpeg4VideoDSPContext *c)
void ff_mpeg4videodsp_init_x86(Mpeg4VideoDSPContext *c)