Lines Matching defs:srcY
35 static av_always_inline void vc1_scale_luma(uint8_t *srcY,
41 srcY[i] = ((srcY[i] - 128) >> 1) + 128;
42 srcY += linesize;
60 static av_always_inline void vc1_lut_scale_luma(uint8_t *srcY,
68 srcY[i] = lut1[srcY[i]];
69 srcY += linesize;
75 srcY[i] = lut2[srcY[i]];
76 srcY += linesize;
176 uint8_t *srcY, *srcU, *srcV;
222 srcY = s->current_picture.f->data[0];
230 srcY = s->last_picture.f->data[0];
239 srcY = s->next_picture.f->data[0];
248 if (!srcY || !srcU) {
275 srcY += src_y * s->linesize + src_x;
280 srcY += linesize;
299 srcY -= s->mspel * (1 + s->linesize);
302 srcY,
313 srcY + linesize,
324 srcY,
334 srcY = s->sc.edge_emu_buffer;
404 vc1_scale_luma(srcY, k, s->linesize);
409 vc1_lut_scale_luma(srcY,
418 srcY += s->mspel * (1 + s->linesize);
423 v->vc1dsp.put_vc1_mspel_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, v->rnd);
427 s->hdsp.put_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, 16);
429 s->hdsp.put_no_rnd_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, 16);
455 uint8_t *srcY;
477 srcY = s->current_picture.f->data[0];
482 srcY = s->last_picture.f->data[0];
488 srcY = s->next_picture.f->data[0];
494 if (!srcY) {
556 srcY += src_y * s->linesize + src_x;
558 srcY += linesize;
566 srcY -= s->mspel * (1 + (s->linesize << fieldmv));
570 srcY,
581 srcY + linesize,
592 srcY,
602 srcY = s->sc.edge_emu_buffer;
605 vc1_scale_luma(srcY, k, s->linesize << fieldmv);
609 vc1_lut_scale_luma(srcY,
614 srcY += s->mspel * (1 + (s->linesize << fieldmv));
620 v->vc1dsp.avg_vc1_mspel_pixels_tab[1][dxy](s->dest[0] + off, srcY, s->linesize << fieldmv, v->rnd);
622 v->vc1dsp.put_vc1_mspel_pixels_tab[1][dxy](s->dest[0] + off, srcY, s->linesize << fieldmv, v->rnd);
626 s->hdsp.put_pixels_tab[1][dxy](s->dest[0] + off, srcY, s->linesize, 8);
628 s->hdsp.put_no_rnd_pixels_tab[1][dxy](s->dest[0] + off, srcY, s->linesize, 8);
1008 uint8_t *srcY, *srcU, *srcV;
1033 srcY = s->next_picture.f->data[0];
1061 srcY += src_y * s->linesize + src_x;
1066 srcY += linesize;
1084 srcY -= s->mspel * (1 + s->linesize);
1087 srcY,
1098 srcY + linesize,
1109 srcY,
1119 srcY = s->sc.edge_emu_buffer;
1189 vc1_scale_luma(srcY, k, s->linesize);
1196 vc1_lut_scale_luma(srcY,
1205 srcY += s->mspel * (1 + s->linesize);
1210 v->vc1dsp.avg_vc1_mspel_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, v->rnd);
1215 s->hdsp.avg_pixels_tab[0][dxy](s->dest[0], srcY, s->linesize, 16);
1217 s->hdsp.avg_no_rnd_pixels_tab[dxy](s->dest[0], srcY, s->linesize, 16);