Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-02pcmenc: Do not set avpkt->size.Justin Ruggles
It is already the correct size as set by ff_alloc_packet().
2012-01-16pcmenc: use AVCodec.encode2()Justin Ruggles
2012-01-16avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()Justin Ruggles
This allows audio encoders to optionally take an AVFrame as input and write encoded output to an AVPacket. This also adds AVCodec.encode2() which will also be usable by video and subtitle encoders once support is implemented in the public functions.
2012-01-11pcmenc: set frame_size to 0.Justin Ruggles
This indicates that the actual frame size is based on the buf_size passed to avcodec_encode_audio().
2011-12-03Add avcodec_decode_audio4().Justin Ruggles
Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
2011-11-24pcmdec: remove unneeded resetting of samples pointerJustin Ruggles
2011-10-26pcmdec: fix output buffer size check by calculating the actual output sizeJustin Ruggles
prior to decoding.
2011-10-26pcmdec: move codec-specific variable declarations to the corresponding codecJustin Ruggles
blocks.
2011-10-26pcmdec: return buf_size instead of src-buf.Justin Ruggles
The values will always be the same, so this change eliminates an unneeded variable. It also gets rid of the need to reset src when memcpy() is used.
2011-10-26avcodec: remove the Zork PCM encoder.Justin Ruggles
The Zork PCM decoder does not decode the 1 sample we have correctly, therefore the encoder based on the decoder is also incorrect. There is no good reason to keep the encoder.
2011-10-26pcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8.Justin Ruggles
2011-10-26pcmenc: remove unneeded sample_fmt check.Justin Ruggles
It is already checked by avcodec_open2().
2011-10-26pcmdec: move number of channels check to pcm_decode_init()Justin Ruggles
2011-10-26pcmdec: remove unnecessary check for sample_fmt changeJustin Ruggles
2011-10-26pcmdec: move DVD PCM bits_per_coded_sample check near to the code that setsJustin Ruggles
the sample size.
2011-10-26pcmdec: do not needlessly set *data_size to 0Justin Ruggles
2011-10-13pcm: reduce pointer type castingMans Rullgard
Making 'samples' a pointer to uint8_t simplifies the DECODE macro and reduces the amount of type casting overall. This also fixes some signed overflows on left shift. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03Remove statements immediately following unconditional jumpsMans Rullgard
This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-04-19pcm: Add const to cast in ENCODE macro.Diego Biurrun
This fixes a lot of warnings of the sort: libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-11Remove final semicolon from some macrosMans Rullgard
This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-26Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò
None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-25Don't declare a pcm_dvd encoder.Diego Elio Pettenò
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>
2011-01-11Do not crash for illegal sample size, fixes issue 2502.Daniel Kang
Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-12Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini
SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-01Add pcm_lxf, a decoder for the 20-bit planar PCM format used in LXFTomas Härdin
Originally committed as revision 25280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-24Use "const" qualifier for pointers that point to input data ofReimar Döffinger
audio encoders. This is purely for clarity/documentation purposes. Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16Use designated initialisers for pcm codec structPeter Ross
Originally committed as revision 24264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10Set bits_per_raw_sample in the pcm decoder.Justin Ruggles
Originally committed as revision 23566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
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
2010-04-01Allow hardcoding of ulaw and alaw tables.Reimar Döffinger
Originally committed as revision 22762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-31Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra
Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-06Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger
.data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-20IndentMichael Niedermayer
Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-20Do not discard truncated packets.Michael Niedermayer
Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv Originally committed as revision 18626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13Rename bitstream.h to get_bits.h.Stefano Sabatini
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann
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
2009-03-02cosmetics: Reformat long_names so that "PCM" comes first.Diego Biurrun
Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01Use full internal pathname in doxygen @file directives.Diego Biurrun
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
2009-01-19cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15WORDS_BIGENDIAN must be checked with #ifdefAurelien Jacobs
Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs
They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni
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
2008-09-02make pcm encoder setting bits_per_sample fieldBaptiste Coudurier
Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars ↵Peter Ross
dot taeuber at gmx dot net. Originally committed as revision 14931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20Fix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars ↵Peter Ross
dot taeuber at gmx dot net. Originally committed as revision 14864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19Add F64BE, F64LE and F64BE PCM codecs.Peter Ross
Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19Fix PCM_S16LE_PLANAR channel-address calculation bug introduced in r14659.Peter Ross
Originally committed as revision 14831 to svn://svn.ffmpeg.org/ffmpeg/trunk