Merge "Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
bb245d35b6
@ -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;
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user