Lines Matching refs:bit_depth_luma
878 const int max_qp = 51 + 6*(h->sps.bit_depth_luma-8);
904 const int max_qp = 51 + 6*(h->sps.bit_depth_luma-8);
1006 ff_h264_pred_init(&dst->hpc, src->s.codec_id, src->sps.bit_depth_luma, src->sps.chroma_format_idc);
1122 h->sps.bit_depth_luma = avctx->bits_per_raw_sample = 8;
1956 const int bit_depth = h->sps.bit_depth_luma;
2155 const int bit_depth = h->sps.bit_depth_luma;
2771 switch (h->sps.bit_depth_luma) {
2813 "Unsupported bit depth: %d\n", h->sps.bit_depth_luma);
3205 if(tmp>51+6*(h->sps.bit_depth_luma-8)){
3269 + 6 * (h->sps.bit_depth_luma - 8);
4058 if (h->sps.bit_depth_luma != h->sps.bit_depth_chroma) {
4064 if (avctx->bits_per_raw_sample != h->sps.bit_depth_luma ||
4066 if (h->sps.bit_depth_luma >= 8 && h->sps.bit_depth_luma <= 10) {
4067 avctx->bits_per_raw_sample = h->sps.bit_depth_luma;
4069 h->pixel_shift = h->sps.bit_depth_luma > 8;
4071 ff_h264dsp_init(&h->h264dsp, h->sps.bit_depth_luma, h->sps.chroma_format_idc);
4072 ff_h264_pred_init(&h->hpc, s->codec_id, h->sps.bit_depth_luma, h->sps.chroma_format_idc);
4073 s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;
4076 av_log(avctx, AV_LOG_ERROR, "Unsupported bit depth: %d\n", h->sps.bit_depth_luma);