Lines Matching refs:bytes_per_channel
34 unsigned int bytes_per_channel;
152 if (s->bytes_per_channel == 1)
172 unsigned int offset = s->height * s->width * s->bytes_per_channel;
188 if (s->bytes_per_channel == 1) {
223 s->bytes_per_channel = bytestream2_get_byteu(&s->g);
229 if (s->bytes_per_channel != 1 && s->bytes_per_channel != 2) {
241 avctx->pix_fmt = s->bytes_per_channel == 2 ? AV_PIX_FMT_GRAY16BE : AV_PIX_FMT_GRAY8;
243 avctx->pix_fmt = s->bytes_per_channel == 2 ? AV_PIX_FMT_RGB48BE : AV_PIX_FMT_RGB24;
245 avctx->pix_fmt = s->bytes_per_channel == 2 ? AV_PIX_FMT_RGBA64BE : AV_PIX_FMT_RGBA;