Home
last modified time | relevance | path

Searched refs:has_alpha_channel (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlibvpxdec.c45 int has_alpha_channel; member
109 int has_alpha_channel) in set_pix_fmt() argument
129 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 …]
/third_party/skia/gm/
Dwacky_yuv_formats.cpp96 static bool has_alpha_channel(YUVFormat format) { in has_alpha_channel() function
679 if (!opaque && !has_alpha_channel(yuvFormat)) { in create_YUV()