Lines Matching defs:planes
440 av_freep(&ctx->rawimg_alpha.planes[VPX_PLANE_U]);
441 av_freep(&ctx->rawimg_alpha.planes[VPX_PLANE_V]);
1576 unsigned char **planes = rawimg_alpha->planes;
1579 if (!planes[VPX_PLANE_U] ||
1580 !planes[VPX_PLANE_V] ||
1583 av_freep(&planes[VPX_PLANE_U]);
1584 av_freep(&planes[VPX_PLANE_V]);
1588 planes[VPX_PLANE_U] = av_malloc_array(stride[VPX_PLANE_U], height);
1589 planes[VPX_PLANE_V] = av_malloc_array(stride[VPX_PLANE_V], height);
1590 if (!planes[VPX_PLANE_U] || !planes[VPX_PLANE_V])
1593 memset(planes[VPX_PLANE_U], 0x80, stride[VPX_PLANE_U] * height);
1594 memset(planes[VPX_PLANE_V], 0x80, stride[VPX_PLANE_V] * height);
1626 rawimg->planes[VPX_PLANE_Y] = frame->data[0];
1627 rawimg->planes[VPX_PLANE_U] = frame->data[1];
1628 rawimg->planes[VPX_PLANE_V] = frame->data[2];
1637 rawimg_alpha->planes[VPX_PLANE_Y] = frame->data[3];