Lines Matching defs:pix_fmt
64 int width, height, components, format, compression, pix_fmt, linesize, data_size;
85 pix_fmt = bytestream2_get_le32u(gb);
98 if (pix_fmt != VBN_PIX_RGBA && pix_fmt != VBN_PIX_RGB) {
99 av_log(avctx, AV_LOG_ERROR, "Unsupported pixel format: 0x%08x\n", pix_fmt);
108 if (pix_fmt == VBN_PIX_RGB && components == 3) {
109 avctx->pix_fmt = AV_PIX_FMT_RGB24;
111 } else if (pix_fmt == VBN_PIX_RGBA && components == 4) {
112 avctx->pix_fmt = AV_PIX_FMT_RGBA;
124 avctx->pix_fmt = AV_PIX_FMT_RGBA;