Lines Matching refs:bits_per_coded_sample
80 avctx->bits_per_coded_sample); in raw_init_decoder()
83 avctx->bits_per_coded_sample); in raw_init_decoder()
86 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) in raw_init_decoder()
88 avctx->bits_per_coded_sample); in raw_init_decoder()
106 if (avctx->bits_per_coded_sample == 1) in raw_init_decoder()
157 w16(dst + i, SCALE16(r16(buf + i), avctx->bits_per_coded_sample)); \
162 int sample = get_bits(&gb, avctx->bits_per_coded_sample); \
163 w16(dst + i*2, SCALE16(sample, avctx->bits_per_coded_sample)); \
210 if ((avctx->bits_per_coded_sample == 8 || avctx->bits_per_coded_sample == 4 || in MKSCALE16()
211 avctx->bits_per_coded_sample == 2 || avctx->bits_per_coded_sample == 1 || in MKSCALE16()
212 (avctx->bits_per_coded_sample == 0 && (context->is_nut_pal8 || context->is_mono)) ) && in MKSCALE16()
227 …p = av_get_bits_per_pixel(desc) == 16 && avctx->bits_per_coded_sample > 8 && avctx->bits_per_coded… in MKSCALE16()
266 if (avctx->bits_per_coded_sample == 8 || context->is_nut_pal8 || context->is_mono) { in MKSCALE16()
277 } else if (avctx->bits_per_coded_sample == 4) { in MKSCALE16()
288 } else if (avctx->bits_per_coded_sample == 2) { in MKSCALE16()
302 av_assert0(avctx->bits_per_coded_sample == 1); in MKSCALE16()