Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34188358 authored by Andreas Huber's avatar Andreas Huber
Browse files

Increase scratch buffers sizes in mp3 software decoder, this integrates a PV...

Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch.

Change-Id: I5a637f1b380e44c94040ec507843d58a1f5a9b61
related-to-bug: 3065605
parent dfe0870e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
    int32 xr[ ],                rescaled data
    struct gr_info_s *gr_info,  granule structure
    mp3Header *info,            mp3 header info
    int32  Scratch_mem[168]     for temporary usage
    int32  Scratch_mem[198]     for temporary usage

 Outputs:

@@ -120,7 +120,7 @@ void pvmp3_reorder(int32 xr[SUBBANDS_NUMBER*FILTERBANK_BANDS],
                   granuleInfo *gr_info,
                   int32  *used_freq_lines,
                   mp3Header *info,
                   int32  Scratch_mem[168])
                   int32  Scratch_mem[198])
{
    int32 sfreq =  info->version_x + (info->version_x << 1);
    sfreq += info->sampling_frequency;
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ extern "C"
    granuleInfo *gr_info,
    int32 *used_freq_lines,
    mp3Header *info,
    int32  Scratch_mem[168]);
    int32  Scratch_mem[198]);

#ifdef __cplusplus
}
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ extern "C"
        int32           num_channels;
        int32           predicted_frame_size;
        int32           frame_start;
        int32           Scratch_mem[168];
        int32           Scratch_mem[198];
        tmp3dec_chan    perChan[CHAN];
        mp3ScaleFactors scaleFactors[CHAN];
        mp3SideInfo     sideInfo;