[Mp4-tech] AAC decoder input buffer requirements
Barak Zalstein
Barak.Zalstein ceva-dsp.com
Wed Dec 21 15:18:18 ESTEDT 2005
Hello,
I'm trying to determine the required input buffer size for an HE-AAC
decoder.
According to 14496-3, 4.5.3 "The input buffer size is 6144 bits per SCE
or independently switched CCE, plus 12288 bits per CPE (6144*NCC). ".
Many decoder implementations (faad, helix, 3gp and various brochures of
closed source decoders) refer to this paragraph when declaring an input
buffer of 1536 bytes
(at least for decoding stereo).
However, it seems that this input buffer declaration does not take PCE,
DSE, and FIL elements size into consideration, which could cause a
larger requirement for the input frame size in the worst case.
My question is, since the size and quantity of the above elements is
unknown in advance, how should the input buffer size be decided, when
trying to support the largest possible frame size input. If "the largest
possible" is not a feasible requirement, what other criteria should be
used?
Barak.
More information about the Mp4-tech
mailing list