- 27 Nov, 2015 2 commits
-
-
Rostislav Pehlivanov authored
AAC-Fixed decoder segfaulted. This commit makes the aac encoder and decoder init the table twice in case of transcoding again. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Since the ff_aac_tableinit() can be called by both the encoder and the decoder (in case of transcoding) this commit shares the AVOnce variable to prevent this. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 10 Nov, 2015 1 commit
-
-
Andreas Cadhalpun authored
This is similar to commit ec38a1ba for aac_decode_frame_int. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 21 Oct, 2015 1 commit
-
-
Hendrik Leppkes authored
Function protoypes without arguments require a void argument in C, instead of an empty list.
-
- 15 Oct, 2015 1 commit
-
-
Derek Buitenhuis authored
This makes AAC init threadsafe. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 02 Aug, 2015 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Emanuel Czirai authored
related to ticket4749 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 29 Jul, 2015 1 commit
-
-
Nedeljko Babic authored
2nd channel makes sense only for CPE type. Skip 2nd channel in preparation for resampler (in spectral_to _sample()) depending on block type. Fixes fate failure with clang ftrapv. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 28 Jul, 2015 1 commit
-
-
Nedeljko Babic authored
There was fixed number of loops (2048) in preparation for resampler, so when number of samples is smaller than this, there would be an overflow on ret_buf. For some reason this behavior popped out only under valgrind with --disable-memory-poisoning option. This is now fixed and number of loops depends on actual number of samples. Signed-off-by: Nedeljko Babic <nedeljko.babic@rt-rk.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 25 Jul, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes pointer type mismatch Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 20 Jul, 2015 1 commit
-
-
Djordje Pesut authored
Add fixed poind code. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 09 Jul, 2015 2 commits
-
-
Djordje Pesut authored
Add fixed point implementation Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Jovan Zelincevic authored
Move existing code to the new template files Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 08 Jun, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Jun, 2015 3 commits
-
-
Luca Barbato authored
The channel configuration can be delivered only by the PCE, try to parse it first and not try to decode until a channel configuration is set. CC: libav-stable@libav.org
-
Sebastian Dröge authored
These are defined in ISO/IEC 14496-3:2009/PDAM 4 for 6.1 and 7.1. It also defines another 7.1 layout with configuration 14, that one is not added here for now. 11: 3/3.1 FC FL+FR BL+BR BC LFE 12: 3/2/2.1 FC FL+FR SiL+SiR BL+BR LFE Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
nu774 authored
FDK AAC encoder outputs SCE(front)+CPE(front)+CPE(back)+CPE(back) on MODE_7_1_REAR_SURROUND configuration. Since decoder couldn't properly map 4 back channels, decoding failed unless -request_channel_layout 0x8000000000000000 has been specified. Now we treat first CPE(back) as CPE(side) on channel mapping. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 03 Jun, 2015 1 commit
-
-
nu774 authored
The decoder assigns channels using default channel configuration for 5.1ch when it parses an ADTS frame header using consecutive channel ids. When a PCE comes, it reassigns channels using PCE configuration using directly the ids provided. They can be arbitrary. Always use consecutive channel ids to avoid decoding glitches due spurious reconfigurations due the channel ids mismatch between the two otherwise-identical channel maps. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 12 May, 2015 2 commits
-
-
Andreas Cadhalpun authored
got_frame_ptr is set again after the if block. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
Since commit 676a395a aac->frame->data is not necessarily allocated at the end of aac_decode_frame_int if avctx->channels is 0. In this case a bogus frame without any data, but non-zero nb_samples is returned. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 19 Apr, 2015 2 commits
-
-
Andreas Cadhalpun authored
ac may be NULL and then accessing ac->avctx results in a segmentation fault. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Vittorio Giovara authored
-
- 16 Apr, 2015 1 commit
-
-
Andreas Cadhalpun authored
ac may be NULL and then accessing ac->avctx results in a segmentation fault. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 14 Apr, 2015 1 commit
-
-
Rostislav Pehlivanov authored
This commit replaces the previous hardcoded constants with both new and previously defined macros from aac.h. This change makes it easy for anyone reading the code to know how encoding and decoding scalefactors works. It's also possibly a step in unifying some of the code across both the encoder and decoder. Reviewed-by: Claudio Freire <klaussfreire@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 08 Apr, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket4460 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Mar, 2015 1 commit
-
-
Vittorio Giovara authored
Although the specification mandates this bit to zero, it may happen that software tools incorrectly flip it to one, invalidating a possibly valid stream. Relax this restriction, by failing only when AV_EF_BITSTREAM is set. This behaviour is similar to aac decoders in Firefox and Quicktime. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 28 Feb, 2015 1 commit
-
-
Anton Khirnov authored
Those decoders have been switched to float output and so do not use fmtconvert anymore.
-
- 04 Feb, 2015 5 commits
-
-
Alex Converse authored
Based in part on work from Niel van der Westhuizen <espes@pequalsnp.com>.
-
Niel van der Westhuizen authored
-
Niel van der Westhuizen authored
-
Alex Converse authored
-
Alex Converse authored
-
- 30 Jan, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 02 Dec, 2014 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Luca Barbato authored
Might spare few cycles if the compiler is naive and makes the function more readable.
-
- 24 Nov, 2014 1 commit
-
-
Vittorio Giovara authored
Also move the check in the case it is actually used. CC: libav-stable@libav.org Bug-Id: CID 1087090
-
- 09 Nov, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Nov, 2014 2 commits
-
-
Michael Niedermayer authored
based on tables of aac encoders from libavcodec Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-