Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#261 closed defect (fixed)

width/height swapped in equation 6-8

Reported by: ksuehring Owned by:
Priority: minor Milestone:
Component: spec Version: VVC D5 v4
Keywords: Cc: ksuehring, bbross, XiangLi, fbossen, jvet@…

Description

The equation

for( i = 0, i < NumBricksInPic; i++ )
	for( y = BrickRowBd[ i ]; y < BrickRowBd[ i ] + BrickWidth[ i ]; y++ )
		for( x = BrickColBd[ i ]; x < BrickColBd[ i ] + BrickHeight[ i ]; x++ )
			BrickId[ CtbAddrRsToBs[ y * PicWidthInCtbsY+ x ] ] = i

should be

for( i = 0, i < NumBricksInPic; i++ )
	for( y = BrickRowBd[ i ]; y < BrickRowBd[ i ] + BrickHeight[ i ]; y++ )
		for( x = BrickColBd[ i ]; x < BrickColBd[ i ] + BrickWidth[ i ]; x++ )
			BrickId[ CtbAddrRsToBs[ y * PicWidthInCtbsY+ x ] ] = i

i.e. comparing columns to with and rows to height.

Change history (2)

comment:1 Changed 5 years ago by bbross

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in D5 v4

comment:2 Changed 5 years ago by bbross

  • Version changed from VVC D5 v3 to VVC D5 v4
Note: See TracTickets for help on using tickets.