Lines Matching refs:plane
52 static av_always_inline void fillPlane(uint8_t *plane, int stride, int width,
56 uint8_t *ptr = plane + stride * y;
364 hout_slice->plane[0].sliceY = lastInLumBuf + 1;
365 hout_slice->plane[1].sliceY = lastInChrBuf + 1;
366 hout_slice->plane[2].sliceY = lastInChrBuf + 1;
367 hout_slice->plane[3].sliceY = lastInLumBuf + 1;
369 hout_slice->plane[0].sliceH =
370 hout_slice->plane[1].sliceH =
371 hout_slice->plane[2].sliceH =
372 hout_slice->plane[3].sliceH = 0;
400 hout_slice->plane[0].sliceY = firstLumSrcY;
401 hout_slice->plane[3].sliceY = firstLumSrcY;
402 hout_slice->plane[0].sliceH =
403 hout_slice->plane[3].sliceH = 0;
412 hout_slice->plane[1].sliceY = firstChrSrcY;
413 hout_slice->plane[2].sliceY = firstChrSrcY;
414 hout_slice->plane[1].sliceH =
415 hout_slice->plane[2].sliceH = 0;
438 av_assert0((lastLumSrcY - firstLumSrcY + 1) <= hout_slice->plane[0].available_lines);
439 av_assert0((lastChrSrcY - firstChrSrcY + 1) <= hout_slice->plane[1].available_lines);
442 posY = hout_slice->plane[0].sliceY + hout_slice->plane[0].sliceH;
445 lastPosY = FFMIN(firstLumSrcY + hout_slice->plane[0].available_lines - 1, srcSliceY + srcSliceH - 1);
451 cPosY = hout_slice->plane[1].sliceY + hout_slice->plane[1].sliceH;
454 lastCPosY = FFMIN(firstChrSrcY + hout_slice->plane[1].available_lines - 1, AV_CEIL_RSHIFT(srcSliceY + srcSliceH, c->chrSrcVSubSample) - 1);
625 int plane = desc->comp[i].plane;
626 if (!data[plane] || !linesizes[plane])