Commit 270d7ca7 authored by malenov's avatar malenov
Browse files

removal of unused functions

parent a63580d4
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1772,7 +1772,7 @@ ivas_error write_indices_ivas(
    return error;
}


#ifndef BE_FIX_699_CLEANUP_UNUSED_FUNCTIONS
/*---------------------------------------------------------------------*
 * convertSerialToBytestream( )
 *
@@ -1821,6 +1821,7 @@ void convertBytestreamToSerial(
        serial[i] = ( bytestream[( i >> 3 )] >> ( 7 - ( i & 7 ) ) ) & 0x1;
    }
}
#endif

/*-------------------------------------------------------------------*
 * decoder_selectCodec()
+1 −0
Original line number Diff line number Diff line
@@ -181,6 +181,7 @@
#endif

#define NONBE_FIX_984_OMASA_EXT_OUTPUT                        /* Nokia: issue #984: complete the OMASA EXT output implementation */
#define BE_FIX_699_CLEANUP_UNUSED_FUNCTIONS                   /* VA: BE cleanup, removal of unused functions for delivery package */

/* ##################### End NON-BE switches ########################### */

+2 −1
Original line number Diff line number Diff line
@@ -666,7 +666,7 @@ Decoder_State **reset_elements(
    Decoder_Struct *st_ivas /* i/o: IVAS decoder structure      */
);


#ifndef BE_FIX_699_CLEANUP_UNUSED_FUNCTIONS
void convertSerialToBytestream(
    const uint16_t *const serial, /* i  : input serial bitstream with values 0 and 1  */
    const uint16_t num_bits,      /* i  : number of bits in the input bitstream       */
@@ -678,6 +678,7 @@ void convertBytestreamToSerial(
    const uint16_t num_bits,         /* i  : number of bits in the input bitstream       */
    uint16_t *const serial           /* o  : output serial bitstream with values 0 and 1 */
);
#endif

void mdct_switching_dec(
    Decoder_State *st /* i/o: decoder state structure                 */
+2 −1
Original line number Diff line number Diff line
@@ -1351,7 +1351,7 @@ ivas_error IVAS_ENC_EncodeFrameToSerial(
    return error;
}


#ifndef BE_FIX_699_CLEANUP_UNUSED_FUNCTIONS
/*---------------------------------------------------------------------*
 * IVAS_ENC_EncodeFrameToCompact()
 *
@@ -1378,6 +1378,7 @@ ivas_error IVAS_ENC_EncodeFrameToCompact(

    return IVAS_ERR_OK;
}
#endif


/*---------------------------------------------------------------------*
+3 −0
Original line number Diff line number Diff line
@@ -295,6 +295,7 @@ ivas_error IVAS_ENC_EncodeFrameToSerial(
    uint16_t *numOutBits                            /* o  : number of bits written to output bitstream. Each bit is stored as a single uint16_t value           */
);

#ifndef BE_FIX_699_CLEANUP_UNUSED_FUNCTIONS
/*! r: error code */
ivas_error IVAS_ENC_EncodeFrameToCompact(
    IVAS_ENC_HANDLE hIvasEnc,                       /* i/o: IVAS encoder handle                                                                                 */
@@ -304,6 +305,8 @@ ivas_error IVAS_ENC_EncodeFrameToCompact(
    uint16_t *numOutBits                            /* o  : number of bits written to output bitstream                                                          */
);

#endif

/* Setter functions - apply changes to encoder configuration */

/*! r: error code */