SBA VLBR DirAC band mapping bug
At VLBR (13.2 and 16.4 kbps), 2 DirAC bands are coded in bitstream and these bands are mapped to CLDFB bands as follows: MD band 0 -- CLDFB band 11 to 25 MD band 1 -- CLDFB band 25 to 60
However, in ivas_qmetadata_to_dirac() function, hDirAC->band_grouping is set as (0, 1, 2, 3, 4, 5, 6, 7, 11, 25, 60, 60, 60) and dirac_to_spar_md_bands[] is set as (0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9) and hence when DirAC MD is mapped to CLDFB bands in the following loop
`
for ( idx_sec = 0; idx_sec < no_secs; idx_sec++ )
{
for ( band = start_band; band < nbands; band++ )
{
band_start = band_grouping[band];
band_end = band_grouping[band + 1];
tmp_write_idx_param_band = hSpatParamRendCom->dirac_bs_md_write_idx;
if ( ivas_format == SBA_FORMAT )
{
qBand_idx = dirac_to_spar_md_bands[band] - start_band;
}
else
{
qBand_idx = band;
}
` First MD band gets mapped to 11 to 25 and also 25 to 60 bands whereas the second MD band does not get mapped at all.