Opened 13 years ago Closed 13 years ago #680 closed defect (wontfix)HM does not use default scale of 16 for transform_skip TUs when scaling lists are present.
Description
The text specifies:
If transform_skip_enabled is equal to 1 and SizeID is equal to 0, ScalingList[ SizeID ][ MatrixID ][ i ] is set equal to 16 for i=0..15
HM does not implement this, 4x4's are still scaled with the custom list when transform_skip_enabled is true. Change History (5)comment:1 Changed 13 years ago by DefaultCC Plugin
comment:2 Changed 13 years ago by jzxucomment:3 Changed 13 years ago by pieterkapsenberg
That code doesn't actually get called when a custom scaling list is present. So the flat 4x4 is only used when the scaling list is enabled, transform skip is enabled, and there is no scaling list data present. Not sure if that is the intended behavior. comment:4 Changed 13 years ago by jzxu
That's correct. As described in the JCTVC-J meeting note, it was decided "changing default matrix for 4x4 TUs when TS mode is enabled", which is also reflected in the latest spec. comment:5 Changed 13 years ago by pieterkapsenberg
Ok that is clear now thanks. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
It was handled in TComSlice.cpp, as follows (where all entries of g_quantTSDefault4x4 are 16).
#if TS_FLAT_QUANTIZATION_MATRIX
#else
#endif