Lines Matching defs:planes
234 int planes;
266 s->planes = av_pix_fmt_count_planes(avctx->pix_fmt);
268 for (int i = 0; i < s->planes; i++) {
367 if (s->planes != 4)
435 for (int plane = 0; plane < s->planes; plane++) {
550 ret = ff_alloc_packet(avctx, pkt, 64LL + s->planes * (2LL * avctx->width * avctx->height + 1000LL));
560 bytestream2_put_be16(pby, s->planes);
562 for (int i = 0; i < s->planes; i++)
572 bytestream2_put_be16(pby, s->planes);
575 bytestream2_put_be16(pby, avctx->pix_fmt == AV_PIX_FMT_YUV422P10 ? 1 : 3 + (s->planes == 4));
607 for (int p = 0; p < s->planes; p++) {
793 for (int i = 0; i < s->planes; i++)
805 for (int i = 0; i < s->planes; i++) {