mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
parent
b188579bb6
commit
a8b1099a1e
228 changed files with 10990 additions and 5670 deletions
|
|
@ -41,11 +41,11 @@ void silk_stereo_encode_pred(
|
|||
|
||||
/* Entropy coding */
|
||||
n = 5 * ix[ 0 ][ 2 ] + ix[ 1 ][ 2 ];
|
||||
silk_assert( n < 25 );
|
||||
celt_assert( n < 25 );
|
||||
ec_enc_icdf( psRangeEnc, n, silk_stereo_pred_joint_iCDF, 8 );
|
||||
for( n = 0; n < 2; n++ ) {
|
||||
silk_assert( ix[ n ][ 0 ] < 3 );
|
||||
silk_assert( ix[ n ][ 1 ] < STEREO_QUANT_SUB_STEPS );
|
||||
celt_assert( ix[ n ][ 0 ] < 3 );
|
||||
celt_assert( ix[ n ][ 1 ] < STEREO_QUANT_SUB_STEPS );
|
||||
ec_enc_icdf( psRangeEnc, ix[ n ][ 0 ], silk_uniform3_iCDF, 8 );
|
||||
ec_enc_icdf( psRangeEnc, ix[ n ][ 1 ], silk_uniform5_iCDF, 8 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue