|
|
|
@ -1088,10 +1088,6 @@ static int pps_range_extensions(HEVCContext *s, HEVCPPS *pps, HEVCSPS *sps) { |
|
|
|
|
pps->log2_max_transform_skip_block_size = get_ue_golomb_long(gb) + 2; |
|
|
|
|
} |
|
|
|
|
pps->cross_component_prediction_enabled_flag = get_bits1(gb); |
|
|
|
|
if (pps->cross_component_prediction_enabled_flag) { |
|
|
|
|
av_log(s->avctx, AV_LOG_WARNING, |
|
|
|
|
"cross_component_prediction_enabled_flag is not yet implemented.\n"); |
|
|
|
|
} |
|
|
|
|
pps->chroma_qp_offset_list_enabled_flag = get_bits1(gb); |
|
|
|
|
if (pps->chroma_qp_offset_list_enabled_flag) { |
|
|
|
|
pps->diff_cu_chroma_qp_offset_depth = get_ue_golomb_long(gb); |
|
|
|
@ -1319,8 +1315,6 @@ int ff_hevc_decode_nal_pps(HEVCContext *s) |
|
|
|
|
int pps_range_extensions_flag = get_bits1(gb); |
|
|
|
|
/* int pps_extension_7bits = */ get_bits(gb, 7); |
|
|
|
|
if (sps->ptl.general_ptl.profile_idc == FF_PROFILE_HEVC_REXT && pps_range_extensions_flag) { |
|
|
|
|
av_log(s->avctx, AV_LOG_WARNING, |
|
|
|
|
"PPS extension flag is partially implemented.\n"); |
|
|
|
|
pps_range_extensions(s, pps, sps); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|