Lines Matching refs:chroma_format_idc

666         int vert_mult  = hevc_sub_height_c[sps->chroma_format_idc];
667 int horiz_mult = hevc_sub_width_c[sps->chroma_format_idc];
839 if (sps->chroma_format_idc == 3) {
861 if (sps->chroma_format_idc == 0) sps->pix_fmt = AV_PIX_FMT_GRAY8;
862 if (sps->chroma_format_idc == 1) sps->pix_fmt = AV_PIX_FMT_YUV420P;
863 if (sps->chroma_format_idc == 2) sps->pix_fmt = AV_PIX_FMT_YUV422P;
864 if (sps->chroma_format_idc == 3) sps->pix_fmt = AV_PIX_FMT_YUV444P;
867 if (sps->chroma_format_idc == 0) sps->pix_fmt = AV_PIX_FMT_GRAY9;
868 if (sps->chroma_format_idc == 1) sps->pix_fmt = AV_PIX_FMT_YUV420P9;
869 if (sps->chroma_format_idc == 2) sps->pix_fmt = AV_PIX_FMT_YUV422P9;
870 if (sps->chroma_format_idc == 3) sps->pix_fmt = AV_PIX_FMT_YUV444P9;
873 if (sps->chroma_format_idc == 0) sps->pix_fmt = AV_PIX_FMT_GRAY10;
874 if (sps->chroma_format_idc == 1) sps->pix_fmt = AV_PIX_FMT_YUV420P10;
875 if (sps->chroma_format_idc == 2) sps->pix_fmt = AV_PIX_FMT_YUV422P10;
876 if (sps->chroma_format_idc == 3) sps->pix_fmt = AV_PIX_FMT_YUV444P10;
879 if (sps->chroma_format_idc == 0) sps->pix_fmt = AV_PIX_FMT_GRAY12;
880 if (sps->chroma_format_idc == 1) sps->pix_fmt = AV_PIX_FMT_YUV420P12;
881 if (sps->chroma_format_idc == 2) sps->pix_fmt = AV_PIX_FMT_YUV422P12;
882 if (sps->chroma_format_idc == 3) sps->pix_fmt = AV_PIX_FMT_YUV444P12;
887 "chroma_format_idc is %d, depth is %d\n",
888 sps->chroma_format_idc, sps->bit_depth);
942 sps->chroma_format_idc = get_ue_golomb_long(gb);
943 if (sps->chroma_format_idc > 3U) {
944 av_log(avctx, AV_LOG_ERROR, "chroma_format_idc %d is invalid\n", sps->chroma_format_idc);
948 if (sps->chroma_format_idc == 3)
952 sps->chroma_format_idc = 0;
961 int vert_mult = hevc_sub_height_c[sps->chroma_format_idc];
962 int horiz_mult = hevc_sub_width_c[sps->chroma_format_idc];
987 if (sps->chroma_format_idc && bit_depth_chroma != sps->bit_depth) {