You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ST2094-50] Fix at decode scaling of component mix when not equal to 1.0
Quantization can result in sum of quantized value not equal to 50000 (1.0). Scaling by the sum of all custom coefficient.
Also fixed wrong common flag set at encode.
if (sumCoefficients != 60000) { logMsg(LOGLEVEL_ERROR, "sum component mixing coefficient for alternate %d is not equal to 1.0", iAlt); }
651
+
if (sumCoefficients != Q_COMPONENT_MIXING_COEFFICIENT) { logMsg(LOGLEVEL_WARNING, "Sum component mixing coefficient for alternate %d is not equal to 1.0, they will be scaled to 1.0 at decoding", iAlt); }
652
652
}
653
653
if (elm.component_mixing_type[0] != elm.component_mixing_type[iAlt]) {
654
-
elm.has_common_curve_params_flag = false;
654
+
elm.component_mixing_type = false;
655
655
}
656
656
657
657
// Create syntax elements for the gain curve function
0 commit comments