summaryrefslogtreecommitdiffstats
path: root/libavcodec/pcm.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove final semicolon from some macrosMans Rullgard2011-02-101-3/+3
| | | | | | This avoids double semicolons after macro expansion. 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-261-2/+2
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Don't declare a pcm_dvd encoder.Diego Elio Pettenò2011-01-251-1/+1
| | | | | | | | | | The PCM_DVD encoder would be left unused, as allcodecs.c properly declared it as being decoder-only, but it would still be built into the object file. Since there is no block of code to properly encode this PCM format, it's not a full codec. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not crash for illegal sample size, fixes issue 2502.Daniel Kang2011-01-111-0/+5
| | | | | | Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-121-28/+28
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add pcm_lxf, a decoder for the 20-bit planar PCM format used in LXFTomas Härdin2010-10-011-1/+25
| | | | Originally committed as revision 25280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use "const" qualifier for pointers that point to input data ofReimar Döffinger2010-07-241-7/+7
| | | | | | | audio encoders. This is purely for clarity/documentation purposes. Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use designated initialisers for pcm codec structPeter Ross2010-07-161-20/+16
| | | | Originally committed as revision 24264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set bits_per_raw_sample in the pcm decoder.Justin Ruggles2010-06-101-0/+4
| | | | Originally committed as revision 23566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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
* Allow hardcoding of ulaw and alaw tables.Reimar Döffinger2010-04-011-76/+3
| | | | Originally committed as revision 22762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-2/+2
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra2009-11-091-5/+5
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-061-2/+2
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-261-4/+4
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentMichael Niedermayer2009-04-191-2/+2
| | | | Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not discard truncated packets.Michael Niedermayer2009-04-191-0/+3
| | | | | | Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv Originally committed as revision 18626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-1/+1
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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
* cosmetics: Reformat long_names so that "PCM" comes first.Diego Biurrun2009-03-021-24/+24
| | | | Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WORDS_BIGENDIAN must be checked with #ifdefAurelien Jacobs2009-01-141-2/+2
| | | | Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-2/+2
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-081-4/+4
| | | | | | | | | | | 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
* make pcm encoder setting bits_per_sample fieldBaptiste Coudurier2008-09-011-1/+2
| | | | Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars ↵Peter Ross2008-08-231-11/+30
| | | | | | dot taeuber at gmx dot net. Originally committed as revision 14931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars ↵Peter Ross2008-08-201-2/+3
| | | | | | dot taeuber at gmx dot net. Originally committed as revision 14864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add F64BE, F64LE and F64BE PCM codecs.Peter Ross2008-08-191-0/+25
| | | | Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix PCM_S16LE_PLANAR channel-address calculation bug introduced in r14659.Peter Ross2008-08-191-2/+2
| | | | Originally committed as revision 14831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use memcpy() for PCM S16/S32 codecs when codec byte-order matches machine ↵Peter Ross2008-08-161-31/+47
| | | | | | byte-order. Originally committed as revision 14784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of ↵Peter Ross2008-08-121-1/+1
| | | | | | samples. Originally committed as revision 14712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply PCM ENCODE/DECODE() macros to the S/U,8/24/32,LE/BE PCM codecs.Peter Ross2008-08-111-138/+77
| | | | Originally committed as revision 14692 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add simpler/cleaner/faster F32BE encoding/decoding.Peter Ross2008-08-071-14/+39
| | | | Originally committed as revision 14660 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number ↵Peter Ross2008-08-071-15/+8
| | | | | | of samples". Originally committed as revision 14659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent DAUD PCM encoder from fetching values outside of ff_reverse[] array ↵Peter Ross2008-08-071-1/+1
| | | | | | bounds when input sample values are < 0. Originally committed as revision 14658 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify PCM codec; replace switch() statements with av_get_bits_per_sample().Peter Ross2008-08-041-56/+2
| | | | Originally committed as revision 14534 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify PCM codec; use sample_fmts field to set the avctx->sample_fmt field.Peter Ross2008-08-041-12/+6
| | | | Originally committed as revision 14533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-24/+25
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)Peter Ross2008-07-261-0/+34
| | | | Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a note to remind people that new PCM/ADPCM formats need to be added toDiego Biurrun2008-07-051-0/+1
| | | | | | the Makefile as well to allow proper selective compilation. Originally committed as revision 14072 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-2/+2
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LPCM 24 bits support, patch by Lars Täuber, lars.taeuber gmx netLars Täuber2008-05-171-5/+26
| | | | Originally committed as revision 13187 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix big-endian vs. little-endian typo.Diego Biurrun2008-05-161-1/+1
| | | | Originally committed as revision 13181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PCM codec long names; by Stefano Sabatini, stefano.sabatini-lala poste it.Diego Biurrun2008-05-161-26/+28
| | | | Originally committed as revision 13179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-061-2/+2
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Sort some lists alphabetically.Diego Biurrun2008-04-171-15/+15
| | | | Originally committed as revision 12886 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-6/+6
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-011-3/+3
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud