[non-BE] Resolve "Bitstream not synchronizing for encoder and decoder in GSC Es_pred"
- Related issues: #1264 (closed)
- Requested reviewers: @malenovsky
Reason why this change is needed
- Bitstream not synchronized between encoder and decoder in ACELP GSC Inactive coder type in OMASA. The issue is a mismatch in logic around
inactive_coder_type_flag
andMAX_GSC_INACTIVE_BRATE
. Consequently, the parameterEs_pred
was written at the encoder (though it should not be written at all) and read at the decoder at a different bitstream position (though it should not be read at all as it is not needed for decoding).
Description of the change
- Fix bitstream synchronization between encoder and decoder.
Affected operating points
- Not BE for OMASA in rare cases when
ivas_combined_format_brate_sanity()
rewritesinactive_coder_type_flag
. - Differences are small, and subjectively unimportant for bitstream from #1264 (closed) (they are in magnitude of +-12).
- Bitstream is affected but it was buggy before.*
Edited by vaclav