Commit 66176058 authored by vaclav's avatar vaclav
Browse files

fix debugging outpu files output.[sce,cpe]

parent 73d4bc3d
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -583,11 +583,15 @@ ivas_error ivas_cpe_dec(
            {
                dbgwrite( output[j], sizeof( float ), output_frame, 1, fname( debug_dir, "output.cpe", j, cpe_id, DEC ) );
            }

            if ( st_ivas->ivas_format != MASA_ISM_FORMAT )
            {
                tmpF = 0;
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.sce", 0, cpe_id, DEC ) );
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.mct", 0, cpe_id, DEC ) );
            }
        }
    }
#endif

    pop_wmops();
+7 −3
Original line number Diff line number Diff line
@@ -309,11 +309,15 @@ ivas_error ivas_sce_dec(
            dbgwrite( &st->element_mode, sizeof( int16_t ), 1, output_frame, fname( debug_dir, "element_mode", 0, sce_id, DEC ) );

            dbgwrite( output, sizeof( float ), output_frame, 1, fname( debug_dir, "output.sce", 0, sce_id, DEC ) );

            if ( st_ivas->ivas_format != MASA_ISM_FORMAT )
            {
                tmpF = 0;
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.cpe", 0, sce_id, DEC ) );
                dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "output.mct", 0, sce_id, DEC ) );
            }
        }
    }
#endif