Skip to content

Possibly wrong counting of bitstream indices

Basic info

Bug description

In cnst.h in the BASOP code, the following lines appear in the enum of named bitstream indices

    IND_SHB_ENER_SF,
    IND_SHB_RES_GS,
    IND_SHB_RES_GS1,
    IND_SHB_RES_GS2,
    IND_SHB_RES_GS3,
    IND_SHB_RES_GS4,
    IND_SHB_RES_GS5,
    IND_SHB_VF,

In ivas-float-update is is

    IND_SHB_ENER_SF,
    IND_SHB_RES_GS,
    IND_SHB_VF = IND_SHB_RES_GS + 5,

Therefore, one more index is reserved in BASOP. All indices below this one are shifted by one. There is one more index in total. I suspect that this has no effect on the actual bitstream. However, it is confusing when comparing the tables.