id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1341,Issues with the modification of tC for bit depth less than 10,bheng,,"In Section 8.8.3.6.2 for luma, the ""roundOffset"" used for tC calculation is derived as:
roundOffset = 1 << ( 9 - BitDepth )
The right-shift function, ""is defined only for non-negative integer values of y"", so this behavior is undefined for BitDepth > 9.
This roundOffset is only required for BitDepth < 10, so I would suggest conditioning the derivation of roundOffset on ""If BitDepth < 10 ..."" rather than specifying an undefined operation.
Additionally, in Section 8.8.3.6.4 for chroma, the same calculation is incorrect:
""( tC′ + 2 ) >> ( 10 − BitDepth )""
here a fixed rounding value of ""2"" is used which doesn't match VTM behavior for 9-bit.
",defect,closed,minor,,spec,VVC D10 vE,fixed,,ksuehring bbross XiangLi fbossen jvet@…