[FFmpeg-devel] [PATCH] Create ff_amr_bit_reorder() in a shared amr.h file

Vitor Sessak vitor1001
Wed Sep 8 14:07:51 CEST 2010

On 09/07/2010 12:02 AM, Marcelo Galv?o P?voa wrote:
> Hello,
> I am not sure if it is the best way to do it, maybe it's better to
> move the memset outside the function. Unfortunately, I had to convert
> several tables in amrnbdata.h from uint8_t to uint16_t because
> amrwbdata.h uses the latter.

If you split the order tables in two (one for the pulses and one for the 
rest) can you replace in AMRWB

ff_amr_bit_reorder(ctx, size, data, order_mode);


ff_amr_bit_reorder(ctx, size, data, order_mode);
ff_amr_bit_reorder(ctx, size2, data + 8, order_mode_pulses);

in a way that you can keep uint8_t for the order tables?


More information about the ffmpeg-devel mailing list