mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
hevc/rext: remove warning for cross component prediction
cherry picked from commit fb595102593c94179502bb1967f978a1d99cc7cb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
44071b0d25
commit
37822a566f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user