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) {
Macro definitions for various function/variable attributes.
common internal and external API header
void ff_gmc_c(uint8_t *dst, uint8_t *src, int 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_mpegvideodsp_init(MpegVideoDSPContext *c)
static void gmc1_c(uint8_t *dst, uint8_t *src, int stride, int h, int x16, int y16, int rounder)
av_cold void ff_mpegvideodsp_init_ppc(MpegVideoDSPContext *c)
static int shift(int a, int b)
av_cold void ff_mpegvideodsp_init_x86(MpegVideoDSPContext *c)