summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
Commit message (Collapse)AuthorAge
* alacdec: implement the 2-pass prediction type.Justin Ruggles2012-01-03
| | | | | The reference encoder does not generate any streams using this, but the reference decoder can handle it, so we should as well.
* alacdec: fill in missing or guessed info about the extradata format.Justin Ruggles2012-01-03
| | | | | Now that there is official documentation from Apple about this, we don't have to guess anymore.
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* alacdec: remove unneeded NULL or zero-size packet checks.Justin Ruggles2011-10-26
| | | | This is already done in avcodec_decode_audio3()
* alacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO()Justin Ruggles2011-10-26
|
* alacdec: ask for a sample for unsupported sample depths.Justin Ruggles2011-10-26
| | | | Also return AVERROR_PATCHWELCOME.
* alacdec: cosmetics: use 'ch' instead of 'chan' to iterate channelsJustin Ruggles2011-10-26
|
* alacdec: move some declarations to the top of the functionJustin Ruggles2011-10-26
|
* alacdec: always use get_sbits_long() for uncompressed samplesJustin Ruggles2011-10-26
|
* alacdec: remove unneeded local variableJustin Ruggles2011-10-26
|
* alacdec: remove the numchannels parameter from several functions.Justin Ruggles2011-10-26
| | | | | They only operate on stereo content, so the extra param is not necessary and also allows for simplifying the code.
* alacdec: rename 2 functions.Justin Ruggles2011-10-26
| | | | Now they only do stereo interleaving.
* alacdec: move appending of extra_bits to a separate function.Justin Ruggles2011-10-26
| | | | This should also fix decoding of mono 24-bit.
* alacdec: split stereo decorrelation into a separate function.Justin Ruggles2011-10-26
| | | | | It is identical for 16-bit and 24-bit, so there is no need to have duplicate code.
* alacdec: cosmetics: rename 'wasted_bits' to 'extra_bits'.Justin Ruggles2011-10-26
| | | | | The bits are not wasted, they are additional low bits that are added to the 16-bit decompressed samples to increase the output sample depth.
* alacdec: remove unneeded numsamples checksJustin Ruggles2011-10-26
|
* alacdec: check for buffer allocation failure.Justin Ruggles2011-10-26
| | | | Also rearranges some functions for easier cleanup on failure.
* alacdec: allocate per-channel buffers based on channel count.Justin Ruggles2011-10-26
| | | | reduces memory usage when the stream has fewer than MAX_CHANNELS
* alacdec: read/validate number of channels from the extradata.Justin Ruggles2011-10-26
| | | | check frame header channel count against header/container channel count.
* alacdec: remove unneeded validation of setinfo_sample_size.Justin Ruggles2011-10-26
| | | | It is already done when using it to set sample_fmt.
* alacdec: set sample_fmt in alac_decode_init()Justin Ruggles2011-10-26
|
* alacdec: set bytespersample using av_get_bytes_per_sample()Justin Ruggles2011-10-26
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* alac: Remove unused dummy code.Diego Biurrun2011-07-16
|
* doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun2011-07-15
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clean up ALACdecJason Garrett-Glaser2010-10-26
| | | | | | | Do decode init in the init function instead of at the first frame. Fix some possible crash cases. Originally committed as revision 25572 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alac: change VLAs to fixed sizeMåns Rullgård2010-06-24
| | | | Originally committed as revision 23751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid using an intermediate variable.Jai Menon2010-02-06
| | | | Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant use of numchannels since it is 1 for mono.Jai Menon2010-02-06
| | | | Originally committed as revision 21655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alac.c : Use av_freep instead of av_free.Jai Menon2010-02-06
| | | | Originally committed as revision 21654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ALAC 24 bps decoding support.Jai Menon2010-02-04
| | | | Originally committed as revision 21637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alacdec: Simplify reading of uncompressed samples by usingJustin Ruggles2009-03-03
| | | | | | get_sbits_long(). Originally committed as revision 17744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ALAC: use sign_extend() from mathops.hMåns Rullgård2009-03-03
| | | | Originally committed as revision 17739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alac : fix case where bits_per_sample is not set.Baptiste Coudurier2008-09-08
| | | | | | Patch by Baptiste Originally committed as revision 15275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* alac : check readsamplesize to ensure get_bits() doesn'tMatthieu Castet2008-08-22
| | | | | | fail. Patch by Matthieu Castet <castet.matthieu AT free fr> Originally committed as revision 14905 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).Jai Menon2008-06-15
| | | | Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indent after last commit. patch by matthieu castet <castet ↵Matthieu Castet2008-05-11
| | | | | | matthieu free fr>. Originally committed as revision 13121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify decoding of uncompressed samples. patch by matthieu castet <castet ↵Matthieu Castet2008-05-11
| | | | | | matthieu free fr>. Originally committed as revision 13120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix reading of samples-per-frameJustin Ruggles2008-05-11
| | | | Originally committed as revision 13111 to svn://svn.ffmpeg.org/ffmpeg/trunk