Lines Matching defs:mctmp
223 uint16_t *mctmp; /* buffer holding the MC data multiplied by OBMC weights */
338 av_freep(&s->mctmp);
343 s->mctmp = av_malloc_array((stride+MAX_BLOCKSIZE), (h+MAX_BLOCKSIZE) * sizeof(*s->mctmp));
346 if (!s->edge_emu_buffer_base || !s->mctmp || !s->mcscratch)
381 av_freep(&s->mctmp);
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);
1794 static void mc_row(DiracContext *s, DiracBlock *block, uint16_t *mctmp, int plane, int dsty)
1799 block_mc(s, block, mctmp, s->obmc_weight[0], plane, -p->xoffset, dsty);
1800 mctmp += p->xbsep;
1803 block_mc(s, block+x, mctmp, s->obmc_weight[1], plane, dstx, dsty);
1805 mctmp += p->xbsep;
1807 block_mc(s, block+x, mctmp, s->obmc_weight[2], plane, dstx, dsty);
1931 memset(s->mctmp, 0, 4*p->yoffset*p->stride);
1937 uint16_t *mctmp = s->mctmp + y*rowheight;
1949 memset(mctmp+2*p->yoffset*p->stride, 0, 2*rowheight);
1950 mc_row(s, blocks, mctmp, comp, dsty);
1952 mctmp += (start - dsty)*p->stride + p->xoffset;
1956 s->diracdsp.add_rect_clamped(frame + start*p->stride, mctmp, p->stride,