Commit 360eef8c authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Clang format

parent 4354a2d6
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -3400,7 +3400,6 @@ static ivas_error decodeVoIP(
                /* EVS RTP payload format has timescale 16000, JBM uses 1000 internally */
                rtpTimeStamp = rtpTimeStamp / 16;
#endif

            }
#ifdef IVAS_RTPDUMP
            if ( error == IVAS_ERR_END_OF_FILE || rtpdumpDepackerError == IVAS_RTPDUMP_DEPACKER_EOF )
+1 −2
Original line number Diff line number Diff line
@@ -2427,8 +2427,7 @@ static void init_encoder_config(
 *---------------------------------------------------------------------*/

bool IVAS_isImmersiveFormat(
    const IVAS_ENC_HANDLE hIvasEnc
)
    const IVAS_ENC_HANDLE hIvasEnc )
{
    if ( hIvasEnc->st_ivas->hEncoderConfig->ivas_format == MONO_FORMAT )
    {
+154 −150
Original line number Diff line number Diff line
@@ -45,6 +45,8 @@ extern "C"
{
#endif

    /* clang-format off */

static const int32_t AMRWB_IOmode2rate[16] = {
    6600,  /* AMRWB_IO_6600 */
    8850,  /* AMRWB_IO_8850 */
@@ -201,6 +203,8 @@ extern "C"

void EVS_RTPDUMP_DEPACKER_close( EVS_RTPDUMP_DEPACKER *self );

    /* clang-format on */

#ifdef __cplusplus
}
#endif
+101 −99
Original line number Diff line number Diff line
@@ -909,9 +909,11 @@ IVAS_RTPDUMP_PACKER_ERROR IVAS_RTPDUMP_PACKER_writeNextFrame(
    IVAS_RTPDUMP_PACKER_writeToc( self, frameBitrate, isImmersiveFormat, false );

    /* frame data */
    for (i = 0; i < numBits; i += 8) {
    for ( i = 0; i < numBits; i += 8 )
    {
        tempData = 0;
        for (k = 0; k < 8; ++k) {
        for ( k = 0; k < 8; ++k )
        {
            tempData = ( tempData << 1 ) | (char) bitStream[i + k];
        }
        writeByteToRtp( self, tempData );
+112 −108
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ extern "C"
{
#endif

    /* clang-format off */

static const int32_t IVASmode2rate[16] = {
    13200,
@@ -411,6 +412,9 @@ void IVAS_RTPDUMP_PACKER_close(
    IVAS_RTPDUMP_PACKER **self /* i  : IVAS rtpdump packer handle                                      */
);


    /* clang-format on */

#ifdef __cplusplus
}
#endif
+1 −1

File changed.

Contains only whitespace changes.

+12 −12

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+6 −6

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+8 −8

File changed.

Contains only whitespace changes.

Loading