﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
371	Avoid reading unused slice-level elements for joint coding of chroma residuals (JCCR) when sps_joint_cbcr_enabled_flag == 0	crhelmrich		"The newly introduced ''sps_joint_cbcr_enabled_flag'' element is read even when a coded sequence does not contain any chroma components. Moreover, the ''slice_joint_cbcr_sign_flag'' and ''slice_joint_cbcr_qp_offset'' elements are read regardless of the value of ''sps_joint_cbcr_enabled_flag''.

To correct this issue and for consistency with the handling of the already existing ''sps_cclm_enabled_flag'' element, I suggest the following modification and kindly ask for comments.

Best,

Christian

'''Table in Sec. 7.3.2.3''':

Tor consistency with the current syntax handling of sps_cclm_enabled_flag, change
""sps_joint_cbcr_enabled_flag""
to
""if( ChromaArrayType != 0 )
  sps_joint_cbcr_enabled_flag""


'''Table in Sec. 7.3.6.1''':

To avoid reading unused elements when sps_joint_cbcr_enabled_flag == 0, change
""if( ChromaArrayType != 0 )
  slice_joint_cbcr_sign_flag""
to
""if( sps_joint_cbcr_enabled_flag  &&  ChromaArrayType != 0 )
  slice_joint_cbcr_sign_flag""

and change
""slice_joint_cbcr_qp_offset""
to
""if( sps_joint_cbcr_enabled_flag )
  slice_joint_cbcr_qp_offset""

"	defect	closed	trivial	VVC D6 vD	spec	VVC D6 vC	fixed	JCCR	ksuehring bbross XiangLi fbossen jvet@…
