Commit b7860d1c authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬 Committed by Jan Kiene
Browse files

fix compilation error with instrumented code

parent 87801fdc
Loading
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2865,9 +2865,11 @@ ivas_error push_indice(
 * Push a new indice into the buffer at the next position
 *-------------------------------------------------------------------*/

ivas_error push_next_indice_(
#ifdef DBG_BITSTREAM_ANALYSIS
ivas_error push_next_indice_(
    const char *caller,
#else
ivas_error push_next_indice(
#endif
    BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle                    */
    uint16_t value,        /* i  : value of the quantized indice               */
@@ -2930,10 +2932,11 @@ ivas_error push_next_indice_(
 * Push a bit buffer into the buffer at the next position
 *-------------------------------------------------------------------*/


ivas_error push_next_bits_(
#ifdef DBG_BITSTREAM_ANALYSIS
ivas_error push_next_bits_(
    const char *caller,
#else
ivas_error push_next_bits(
#endif
    BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle                     */
    const uint16_t bits[], /* i  : bit buffer to pack, sequence of single bits  */
+6 −5
Original line number Diff line number Diff line
@@ -481,23 +481,24 @@ ivas_error push_indice(
#ifdef DBG_BITSTREAM_ANALYSIS
#define push_next_indice( ... ) push_next_indice_( __func__, __VA_ARGS__ )
#define push_next_bits( ... )   push_next_bits_( __func__, __VA_ARGS__ );
#else
#define push_next_indice( ... ) push_next_indice_( __VA_ARGS__ )
#define push_next_bits( ... )   push_next_bits_( __VA_ARGS__ );
#endif

ivas_error push_next_indice_(
#ifdef DBG_BITSTREAM_ANALYSIS
ivas_error push_next_indice_(
    const char *caller,
#else
ivas_error push_next_indice(
#endif
    BSTR_ENC_HANDLE hBstr,
    uint16_t value, /* i  : value of the quantized indice          */
    int16_t nb_bits /* i  : number of bits used to quantize the indice */
);

ivas_error push_next_bits_(
#ifdef DBG_BITSTREAM_ANALYSIS
ivas_error push_next_bits_(
    const char *caller,
#else
ivas_error push_next_bits(
#endif
    BSTR_ENC_HANDLE hBstr, /* i/o: encoder bitstream handle               */
    const uint16_t bits[], /* i  : bit buffer to pack, sequence of single bits */