Lines Matching refs:plane
248 int plane, top, y;
274 for (plane = 0; plane < s->nb_planes; plane++) {
275 const uint8_t *buf = s->frame->data[plane];
276 const uint8_t *from = in->data[plane];
277 uint8_t *to = out->data[plane];
279 for (y = 0, top = 1; y < s->planeheight[plane]; y++, top ^= 1) {
280 memcpy(to, mode == (top ? BOTTOM_FIRST : TOP_FIRST) ? buf : from, s->linesize[plane]);
282 buf += s->frame->linesize[plane];
283 from += in->linesize[plane];
284 to += out->linesize[plane];