Commit 0fd8a97f authored by thomas dettbarn's avatar thomas dettbarn
Browse files

moved one unnecessary function out of the for loop.

parent 470073d2
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1747,6 +1747,7 @@ Word16 RCcontextMapping_encode2_estimate_bandWise_fx(
    Word16 tmp;
    Word16 accu_variables; /* Q0 */
    Word32 accu_lut;       /* Q8 */
    Word16 loop_end;

    accu_variables = 0;
    accu_lut = 0;
@@ -1755,7 +1756,8 @@ Word16 RCcontextMapping_encode2_estimate_bandWise_fx(
    /* Main Loop through the 2-tuples */
    /*hContextMem->nt_half = end_line >> 1;*/

    FOR( k = start_line; k < min( hContextMem->lastnz, end_line ); k += 2 )
    loop_end = min( hContextMem->lastnz, end_line );
    FOR( k = start_line; k < loop_end; k += 2 )
    {
        a1_i = k; /* Q0 */
        move16();