﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
890	wrong value of log2TrafoSize in transform unit syntax 7.3.8.10	PhuongNguyen	bbross	"In the current text, log2TrafoSize is used for the third argument when residual_coding for chroma is called in the following code :

if( log2TrafoSize > 2 ) {
  if( cbf_cb[ x0 ][ y0 ][ trafoDepth ] )
    residual_coding( x0, y0, log2TrafoSize, 1 )
  if( cbf_cr[ x0 ][ y0 ][ trafoDepth ] )
    residual_coding( x0, y0, log2TrafoSize, 2 )
}

Since the spec defines only the format 4:2:0 for the moment, the size of chroma transform block is half of that of luma. So the spec should be changed to :

if( log2TrafoSize > 2 ) {
  if( cbf_cb[ x0 ][ y0 ][ trafoDepth ] )
    residual_coding( x0, y0, log2TrafoSize - 1, 1 )
  if( cbf_cr[ x0 ][ y0 ][ trafoDepth ] )
    residual_coding( x0, y0, log2TrafoSize - 1, 2 )
}"	defect	closed	major	D9	Text	D9 (K1003) v4	fixed		bbross wjhan jct-vc@…
