Searched refs:has_alpha_channel (Results 1 – 2 of 2) sorted by relevance
45 int has_alpha_channel; member109 int has_alpha_channel) in set_pix_fmt() argument129 has_alpha_channel ? AV_PIX_FMT_YUVA420P : AV_PIX_FMT_YUV420P; in set_pix_fmt()238 if (!ctx->has_alpha_channel) { in vpx_decode()239 ctx->has_alpha_channel = 1; in vpx_decode()262 (!ctx->has_alpha_channel || in vpx_decode()273 if ((ret = set_pix_fmt(avctx, img, ctx->has_alpha_channel)) < 0) { in vpx_decode()287 if (ctx->has_alpha_channel && in vpx_decode()302 ctx->has_alpha_channel ? img_alpha->planes[VPX_PLANE_Y] : NULL; in vpx_decode()307 ctx->has_alpha_channel ? img_alpha->stride[VPX_PLANE_Y] : 0; in vpx_decode()[all …]
96 static bool has_alpha_channel(YUVFormat format) { in has_alpha_channel() function679 if (!opaque && !has_alpha_channel(yuvFormat)) { in create_YUV()