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
2013-11-16vmdvideo: use the AVFrame API properly.Anton Khirnov
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-06-02vmd: decode videos with no LZ buffer size provided - they might not need itKostya Shishkov
The buffer is used for an additional pass of frame compression, so videos can be coded without ever using it (and some are coded so indeed, e.g. in Woodruff and the Schnibble of Azimuth game).
2013-06-02vmd: fix mode 3 decodingKostya Shishkov
2013-05-29vmd: drop incomplete chunks and spurious samplesLuca Barbato
Odd chunk size makes no sense for stereo and incomplete chunks are not supported. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-05-29vmd: refactor the inner decode loopLuca Barbato
Simplify a little, assume empty frames are acceptable and do not pointlessly reinit the bytestream2 contexts using possibly wrong size values. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
2013-05-29vmd: return meaningful errorsLuca Barbato
CC: libav-stable@libav.org
2013-05-29vmd: use the PALETTE_COUNT constant uniformlyLuca Barbato
While at it drop useless parentheses.
2013-03-28vmdav: convert to bytestream2Alexandra Khirnova
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-08vmdaudio: fix invalid reads when packet size is not a multiple of chunk sizeAnton Khirnov
CC:libav-stable@libav.org
2013-03-08lavc decoders: work with refcounted frames.Anton Khirnov
2013-02-12vmdaudio: decode directly to the user-provided AVFrameJustin Ruggles
2012-12-05lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov
It's got_frame, not data size
2012-12-05lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov
It will be useful in the upcoming transition to refcounted AVFrames.
2012-11-11Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles
Also reorder some other #include when applicable.
2012-11-01vmdaudio: set channel layoutJustin Ruggles
2012-10-08Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov
2012-08-15Don't include common.h from avutil.hMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-04-06cosmetics: Align codec declarationsMartin Storsjö
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
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-10-07vmd: fix segfaults on corruped streamsLaurent Aimar
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2011-09-25vmdaudio: fix decoding of 16-bit audio format.Justin Ruggles
The initial sample of each block is raw 16-bit PCM, not DPCM. Fixes decoding of all samples in: http://streams.videolan.org/samples/game-formats/sierra-vmd/Lighthouse/
2011-07-29lavc: use designated initialisers for all codecs.Anton Khirnov
It's more readable and less prone to breakage.
2011-06-21Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles
av_get_bits_per_sample_fmt() is deprecated.
2011-06-02Remove unused variablesMans Rullgard
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-24vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.Justin Ruggles
There is no need to expand to 16-bits. Just use memcpy() to copy the raw data. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: remove unnecessary fields from VmdAudioContext and use the ↵Justin Ruggles
corresponding AVCodecContext fields instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: add out_bps to VmdAudioContext and use it to replace hard-coded ↵Justin Ruggles
sample size. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: simplify vmdaudio_decode_frame() by handling block_type first, ↵Justin Ruggles
then making a single call to vmdaudio_loadsound(). This also adds output buffer size checks for AUDIO and SILENCE block types. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24cosmetics: reindent after previous commitJustin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: move all silence chunk handling to vmdaudio_loadsound().Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24cosmetics: remove debugging cruftJustin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24cosmetics: reindent after previous commitJustin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: simplify buffer pointer and header size handling.Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: set *data_size to zero when skipping small packets and add a ↵Justin Ruggles
warning log message. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: validate block typeJustin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: use macros and a local variable for block type.Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: correct the silent chunk count in the first block.Justin Ruggles
This fixes A/V sync with several samples, notably: http://samples.mplayerhq.hu/game-formats/sierra-vmd/swat_*.vmd Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: output audio samples for standalone silent blocks.Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: remove duplicated code by merging mono and stereo decoding.Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-24vmdaudio: fix raw_block_size calculation.Justin Ruggles
The size should depend on the output sample size, not the internal bit depth. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.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>
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-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-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-07-23Remove useless #include <unistd.h> from many filesMåns Rullgård
Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-24Remove useless assignment during initialization for some decodersKostya Shishkov
Originally committed as revision 18680 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