﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1046	Possible errors in semantics for scaling_list data	peterderivaz		"== Range for loop variable ==

In 7.4.5 ""Scaling list data semantics"" the definition of ""scaling_list_pred_matrix_id_delta"" involves setting values for i in the range 0..Min(64,...), but the Table 7-6 is only defined for values up to 63.

I believe the Min(64, should be changed to Min(63,

Note that this appears twice in the definition of ""scaling_list_pred_matrix_id_delta"".

== Default for DC value ==

When scaling_list_pred_mode_flag==0, the values for ScalingList are derived based on previous values of ScalingList.

I believe there should be a similar derivation for the values of scaling_list_dc_coef_minus8 based on previous values.

At the moment, `ScalingFactor[3][matrixId][0][0]` is based on `scaling_list_dc_coef_minus8[1][matrixId]` which will take its default value of 8 if `scaling_list_pred_matrix_flag[3][matrixId]==0`.

The reference code appears to have code to deal with this case in TDecCavlc::parseScalingList

{{{
if( sizeId > SCALING_LIST_8x8 )
{
   scalingList->setScalingListDC(sizeId,listId,((listId == scalingList->getRefMatrixId (sizeId,listId))? 16 :scalingList->getScalingListDC(sizeId, scalingList->getRefMatrixId (sizeId,listId))));
}
}}}"	defect	closed	minor	HM-10.1	Text	D10 (L1003) v33	fixed		bbross wjhan jct-vc@…
