﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
304	Mismatch with spec on pps_virtual_boundaries_pos_x/y coding	forayr		"In spec:
{{{
The number of bits used to represent pps_virtual_boundaries_pos_x[ i ] is Ceil( Log2( pic_width_in_luma_samples ) − 3 ).
}}}

In vtm:
{{{
    int numBits = 1;
    uint32_t picWidthDivBy8 = parameterSetManager->getSPS( pcPPS->getSPSId() )->getPicWidthInLumaSamples() >> 3; // pcPPS->getPicWidthInLumaSamples() >> 3;
    while( picWidthDivBy8 >>= 1 )
    {
      numBits++;
    }
}}}

When pic_width_in_luma_samples = 128:
 - numBits with spec calculation is Ceil(7 - 3) = Ceil(4) = 4
 - numBits with vtm derivation is 5"	defect	closed	minor	VTM-5.1	VTM	VTM-5.0	fixed		ksuehring XiangLi fbossen jvet@…
