Commit 21d52032 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

write bitstream data with annotations to a text file

parent 2e062fa2
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -785,7 +785,12 @@ int main(
        }

        /* *** Encode one frame *** */
        if ( ( error = IVAS_ENC_EncodeFrameToSerial( hIvasEnc, pcmBuf, pcmBufSize, bitStream, &numBits ) ) != IVAS_ERR_OK )
        if ( ( error = IVAS_ENC_EncodeFrameToSerial( hIvasEnc, pcmBuf, pcmBufSize, bitStream, &numBits
#ifdef BITSTREAM_ANALYSIS
                                                     ,
                                                     frame
#endif
                                                     ) ) != IVAS_ERR_OK )
        {
            fprintf( stderr, "\nencodeFrame failed: %s\n\n", IVAS_ENC_GetErrorMessage( error ) );
            goto cleanup;

enum-helper.c

0 → 100644
+382 −0

File added.

Preview size limit exceeded, changes collapsed.

+2008 −66

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@

/*DirAC Debug switches*/
/*#define DEBUG_DISABLE_DIRAC_DELAY_COMP */     /* temporarily disable delay compensation on DirAC encoder */
/*#define DEBUG_BS_READ_WRITE*/
/*#define DEBUG_MODE_DIRAC_NOCORE*/
/*#define DEBUG_MODE_QMETADATA*/                /* output q_metadata parameters */

@@ -145,6 +144,7 @@

/* #################### End FIXES switches ############################ */

#define BITSTREAM_ANALYSIS

/* clang-format on */

+16 −48

File changed.

Preview size limit exceeded, changes collapsed.

Loading