Lines Matching defs:obmc_weight

227     DECLARE_ALIGNED(16, uint8_t, obmc_weight)[3][MAX_BLOCKSIZE*MAX_BLOCKSIZE];
231 void (*add_obmc)(uint16_t *dst, const uint8_t *src, int stride, const uint8_t *obmc_weight, int yblen);
1574 static void init_obmc_weight_row(Plane *p, uint8_t *obmc_weight, int stride,
1579 obmc_weight[x] = wy*8;
1581 obmc_weight[x] = wy*weight(x, p->xblen, p->xoffset);
1583 obmc_weight[x] = wy*8;
1585 obmc_weight[x] = 0;
1588 static void init_obmc_weight(Plane *p, uint8_t *obmc_weight, int stride,
1593 init_obmc_weight_row(p, obmc_weight, stride, left, right, 8);
1594 obmc_weight += stride;
1598 init_obmc_weight_row(p, obmc_weight, stride, left, right, wy);
1599 obmc_weight += stride;
1602 init_obmc_weight_row(p, obmc_weight, stride, left, right, 8);
1603 obmc_weight += stride;
1614 init_obmc_weight(p, s->obmc_weight[0], MAX_BLOCKSIZE, 1, 0, top, bottom);
1615 init_obmc_weight(p, s->obmc_weight[1], MAX_BLOCKSIZE, 0, 0, top, bottom);
1616 init_obmc_weight(p, s->obmc_weight[2], MAX_BLOCKSIZE, 0, 1, top, bottom);
1743 uint8_t *obmc_weight, int xblen, int yblen)
1750 dst[x ] += dc * obmc_weight[x ];
1751 dst[x+1] += dc * obmc_weight[x+1];
1754 obmc_weight += MAX_BLOCKSIZE;
1759 uint16_t *mctmp, uint8_t *obmc_weight,
1768 add_dc(mctmp, block->u.dc[plane], p->stride, obmc_weight, p->xblen, p->yblen);
1791 s->add_obmc(mctmp, s->mcscratch, p->stride, obmc_weight, p->yblen);
1799 block_mc(s, block, mctmp, s->obmc_weight[0], plane, -p->xoffset, dsty);
1803 block_mc(s, block+x, mctmp, s->obmc_weight[1], plane, dstx, dsty);
1807 block_mc(s, block+x, mctmp, s->obmc_weight[2], plane, dstx, dsty);