Statistics
| Branch: | Revision:

ffmpeg / libavcodec / pcm.c @ 63613fe6

History | View | Annotate | Download (18.5 KB)

# Date Author Comment
63613fe6 07/26/2009 12:20 PM Måns Rullgård

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN

Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk

34365443 04/19/2009 08:41 PM Michael Niedermayer

Indent

Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk

012e4f5a 04/19/2009 08:40 PM Michael Niedermayer

Do not discard truncated packets.
Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv

Originally committed as revision 18626 to svn://svn.ffmpeg.org/ffmpeg/trunk

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
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....

655463b9 03/02/2009 05:45 AM Diego Biurrun

cosmetics: Reformat long_names so that "PCM" comes first.

Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

469f5f25 01/14/2009 11:20 PM Aurelien Jacobs

WORDS_BIGENDIAN must be checked with #ifdef

Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

Bump Major version, this commit is almost just renaming bits_per_sample to
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...

7cabcf7d 09/01/2008 09:13 PM Baptiste Coudurier

make pcm encoder setting bits_per_sample field

Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk

0cdc6ec9 08/23/2008 10:45 PM Peter Ross

Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars dot taeuber at gmx dot net.

Originally committed as revision 14931 to svn://svn.ffmpeg.org/ffmpeg/trunk

2cd04cf9 08/20/2008 11:05 AM Peter Ross

Fix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars dot taeuber at gmx dot net.

Originally committed as revision 14864 to svn://svn.ffmpeg.org/ffmpeg/trunk

143a5d6f 08/19/2008 10:43 AM Peter Ross

Add F64BE, F64LE and F64BE PCM codecs.

Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk

4efbd755 08/19/2008 10:17 AM Peter Ross

Fix PCM_S16LE_PLANAR channel-address calculation bug introduced in r14659.

Originally committed as revision 14831 to svn://svn.ffmpeg.org/ffmpeg/trunk

38a1c7f2 08/16/2008 01:25 AM Peter Ross

Use memcpy() for PCM S16/S32 codecs when codec byte-order matches machine byte-order.

Originally committed as revision 14784 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b4b1137 08/12/2008 12:32 PM Peter Ross

Fix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of samples.

Originally committed as revision 14712 to svn://svn.ffmpeg.org/ffmpeg/trunk

5e8ecfde 08/11/2008 09:52 AM Peter Ross

Apply PCM ENCODE/DECODE macros to the S/U,8/24/32,LE/BE PCM codecs.

Originally committed as revision 14692 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ee573a3 08/07/2008 09:32 AM Peter Ross

Add simpler/cleaner/faster F32BE encoding/decoding.

Originally committed as revision 14660 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff66caab 08/07/2008 09:23 AM Peter Ross

Simplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".

Originally committed as revision 14659 to svn://svn.ffmpeg.org/ffmpeg/trunk

13dbd9b7 08/07/2008 08:16 AM Peter Ross

Prevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds when input sample values are < 0.

Originally committed as revision 14658 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc0b6129 08/04/2008 07:49 AM Peter Ross

Simplify PCM codec; replace switch() statements with av_get_bits_per_sample().

Originally committed as revision 14534 to svn://svn.ffmpeg.org/ffmpeg/trunk

0fd7e57e 08/04/2008 07:47 AM Peter Ross

Simplify PCM codec; use sample_fmts field to set the avctx->sample_fmt field.

Originally committed as revision 14533 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd76c37f 07/31/2008 10:47 AM Peter Ross

Modify all codecs to report their supported input and output sample format(s).

Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa29709e 07/26/2008 07:08 AM Peter Ross

add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)

Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk

bbdfa06d 07/05/2008 07:30 AM Diego Biurrun

Add a note to remind people that new PCM/ADPCM formats need to be added to
the Makefile as well to allow proper selective compilation.

Originally committed as revision 14072 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk

1472b7dd 05/17/2008 11:42 AM Lars Täuber

LPCM 24 bits support, patch by Lars Täuber, lars.taeuber gmx net

Originally committed as revision 13187 to svn://svn.ffmpeg.org/ffmpeg/trunk

51c86db5 05/16/2008 01:12 PM Diego Biurrun

Fix big-endian vs. little-endian typo.

Originally committed as revision 13181 to svn://svn.ffmpeg.org/ffmpeg/trunk

44caa86d 05/16/2008 12:26 AM Diego Biurrun

Add PCM codec long names; by Stefano Sabatini, stefano.sabatini-lala poste it.

Originally committed as revision 13179 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccd425e7 05/06/2008 09:16 AM Diego Biurrun

Remove unnecessary parentheses from return calls.

Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ddfbc73 04/17/2008 10:04 PM Diego Biurrun

cosmetics: Sort some lists alphabetically.

Originally committed as revision 12886 to svn://svn.ffmpeg.org/ffmpeg/trunk

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk

7993df65 02/01/2008 03:26 AM Michael Niedermayer

consts
I have underestimated this a little, and these are just some ...

Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk

3426d575 12/17/2007 10:41 AM wg

Fix crash in PCM decoder when number of channels is not set.
Patch by "wg": video06 malloc de
See Issue298

Originally committed as revision 11249 to svn://svn.ffmpeg.org/ffmpeg/trunk

48b36ec2 11/27/2007 09:30 PM Aurelien Jacobs

cosmetics: alignment

Originally committed as revision 11098 to svn://svn.ffmpeg.org/ffmpeg/trunk

725d86bf 11/25/2007 04:32 PM Aurelien Jacobs

add pcm_s16le_planar support for electronicarts files

Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk

2b045c9c 11/07/2007 10:54 PM Aurelien Jacobs

split definition of PCM_CODEC into PCM_ENCODER and PCM_DECODER

Originally committed as revision 10946 to svn://svn.ffmpeg.org/ffmpeg/trunk

e916de2c 11/01/2007 03:55 PM Aurelien Jacobs

remove useless #undef

Originally committed as revision 10897 to svn://svn.ffmpeg.org/ffmpeg/trunk

a11c2a2c 07/30/2007 02:05 AM Michael Niedermayer

support silly PCM variant used by zork nemesis
fixes audio decoding of T000A11C.AVI

Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3a257af 05/10/2007 06:44 PM Ramiro Polla

Revert r8979 (Ugly fix for r8963)

Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk

dccabd4c 05/10/2007 03:00 PM Ramiro Polla

Fix r8963

Originally committed as revision 8979 to svn://svn.ffmpeg.org/ffmpeg/trunk

a4461664 05/09/2007 11:32 PM Ramiro Polla

Simplify ptr0; ptr++; to *ptr++

Originally committed as revision 8965 to svn://svn.ffmpeg.org/ffmpeg/trunk

5a2f421a 05/09/2007 11:21 PM Ramiro Polla

Use bytestream

Originally committed as revision 8964 to svn://svn.ffmpeg.org/ffmpeg/trunk

a32c2ce4 05/09/2007 11:15 PM Ramiro Polla

Use AV_XX16 macros

Originally committed as revision 8963 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d5aaa04 05/09/2007 11:08 PM Ramiro Polla

Factorize usum

Originally committed as revision 8960 to svn://svn.ffmpeg.org/ffmpeg/trunk

e2e712e7 03/13/2007 11:10 PM Michael Niedermayer

10^10l to whoever wrote this

Originally committed as revision 8394 to svn://svn.ffmpeg.org/ffmpeg/trunk

b2a581dc 02/09/2007 01:57 PM Michael Niedermayer

packets with half pcm samples are invalid

Originally committed as revision 7900 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac66834c 01/14/2007 11:50 PM Michael Niedermayer

avcodec_decode_audio2()
difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space

Originally committed as revision 7518 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c0d6064 09/02/2005 08:04 PM Reimar Döffinger

Document "us" parameter for PCM conversion functions.

Originally committed as revision 4550 to svn://svn.ffmpeg.org/ffmpeg/trunk

b461b3bc 09/02/2005 07:16 PM Reimar Döffinger

Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).

Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk

a8d02f2b 02/13/2005 11:36 PM Michael Niedermayer

buffer overflow

Originally committed as revision 3954 to svn://svn.ffmpeg.org/ffmpeg/trunk

359fa0fe 11/06/2004 07:11 PM Michael Niedermayer

cbr audio muxing fix

Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk

e8733cc4 05/21/2004 02:40 PM Michael Niedermayer

more data_size=0 cleanup

Originally committed as revision 3147 to svn://svn.ffmpeg.org/ffmpeg/trunk

cd1f22f9 09/28/2003 08:27 PM Michael Niedermayer

simpler

Originally committed as revision 2310 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ab3d669 03/06/2003 01:22 PM Michael Niedermayer

typos & cosmetics

Originally committed as revision 1636 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

ef9f7306 01/19/2003 06:30 PM Måns Rullgård

C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))

Originally committed as revision 1474 to svn://svn.ffmpeg.org/ffmpeg/trunk

492cd3a9 12/09/2002 12:03 PM Michael Niedermayer

AVVideoFrame -> AVFrame

Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk

0eaec105 09/07/2002 10:57 AM Nikolai Zhubr

fixing overflow in 16->8 bit conversion, patch by (Nikolai Zhubr <s001 at hotbox dot ru>)

Originally committed as revision 913 to svn://svn.ffmpeg.org/ffmpeg/trunk

cd4af68a 05/27/2002 04:42 PM Zdenek Kabelac
  • started to cleanup name clashes for onetime compilation

Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff4ec49e 05/25/2002 10:45 PM Fabrice Bellard

license/copyright change

Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk

6000abfa 05/18/2002 11:03 PM Fabrice Bellard

removed useless header includes - use av memory functions

Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk

13a0314f 05/14/2002 02:36 AM Philip Gladstone
  • Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.

Originally committed as revision 493 to svn://svn.ffmpeg.org/ffmpeg/trunk

4c3d2e5f 05/09/2002 01:22 AM Philip Gladstone
  • Every frame is a key_frame

Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk

a96b68b7 09/23/2001 05:16 PM Fabrice Bellard

added pcm codecs

Originally committed as revision 140 to svn://svn.ffmpeg.org/ffmpeg/trunk