Lines Matching defs:src
229 void (*put_pixels_tab[4])(uint8_t *dst, const uint8_t *src[5], int stride, int h);
230 void (*avg_pixels_tab[4])(uint8_t *dst, const uint8_t *src[5], int stride, int h);
231 void (*add_obmc)(uint16_t *dst, const uint8_t *src, int stride, const uint8_t *obmc_weight, int yblen);
1641 * interpolation from and set src[] to the location in each hpel plane
1647 static int mc_subpel(DiracContext *s, DiracBlock *block, const uint8_t *src[5],
1677 src[0] = ref_hpel[(my>>1)+(mx>>2)] + y*p->stride + x;
1682 src[i] = ref_hpel[i] + y*p->stride + x;
1687 src[0] += 1;
1688 src[2] += 1;
1692 src[0] += p->stride;
1693 src[1] += p->stride;
1706 src[!mx] = src[2 + !!mx];
1709 src[0] = src[(my>>1) ];
1710 src[1] = src[(my>>1)+1];
1716 FFSWAP(const uint8_t *, src[0], src[1]);
1717 FFSWAP(const uint8_t *, src[2], src[3]);
1720 FFSWAP(const uint8_t *, src[0], src[2]);
1721 FFSWAP(const uint8_t *, src[1], src[3]);
1723 src[4] = epel_weights[my&3][mx&3];
1732 s->vdsp.emulated_edge_mc(s->edge_emu_buffer[i], src[i],
1736 src[i] = s->edge_emu_buffer[i];
1763 const uint8_t *src[5];
1772 idx = mc_subpel(s, block, src, dstx, dsty, (block->ref&3)-1, plane);
1773 s->put_pixels_tab[idx](s->mcscratch, src, p->stride, p->yblen);
1779 idx = mc_subpel(s, block, src, dstx, dsty, 0, plane);
1780 s->put_pixels_tab[idx](s->mcscratch, src, p->stride, p->yblen);
1781 idx = mc_subpel(s, block, src, dstx, dsty, 1, plane);
1784 s->put_pixels_tab[idx](s->mcscratch + 32, src, p->stride, p->yblen);
1788 s->avg_pixels_tab[idx](s->mcscratch, src, p->stride, p->yblen);