History | View | Annotate | Download (16.8 KB)
vmdaudio: add out_bps to VmdAudioContext and use it to replace hard-coded sample size.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
vmdaudio: simplify vmdaudio_decode_frame() by handling block_type first, then making a single call to vmdaudio_loadsound().
This also adds output buffer size checks for AUDIO and SILENCE block types.
cosmetics: reindent after previous commit
vmdaudio: move all silence chunk handling to vmdaudio_loadsound().
cosmetics: remove debugging cruft
vmdaudio: simplify buffer pointer and header size handling.
vmdaudio: set *data_size to zero when skipping small packets and add a warning log message.
vmdaudio: validate block type
vmdaudio: use macros and a local variable for block type.
vmdaudio: correct the silent chunk count in the first block.
This fixes A/V sync with several samples, notably:http://samples.mplayerhq.hu/game-formats/sierra-vmd/swat_*.vmd
vmdaudio: output audio samples for standalone silent blocks.
vmdaudio: remove duplicated code by merging mono and stereo decoding.
vmdaudio: fix raw_block_size calculation.
The size should depend on the output sample size, not the internal bit depth.
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
None of these symbols should be accessed directly, so declare them ashidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumSampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if thedocumentation in the @file block refers to a file different from theone 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, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove useless #include <unistd.h> from many files
Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove useless assignment during initialization for some decoders
Originally committed as revision 18680 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anAVPacket argument rather than a const uint8_t *buf + int buf_size. This allowspassing of packet-specific flags from demuxer to decoder, such as the keyframeflag, which appears necessary to playback corePNG P-frames....
Use full internal pathname in doxygen @file directives.Otherwise doxygen complains about ambiguous filenames when files existunder the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix filenames in Doxygen comments.
Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
VMD first chunk of audio is not coded as many separate chunks of block_alignsize. Thus, make demuxer and decoder handle it as a whole.
Originally committed as revision 16708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Bump Major version, this commit is almost just renaming bits_per_sample tobits_per_coded_sample but that cannot be done seperately.Patch by Luca AbeniAlso reset the minor version and fix the forgotton change to libfaad.Note: The API/ABI should not be considered stable yet, there still may...
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
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add long names to AVCodec declarations.patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
These video decoders do not need to include and initialize the DSPsupport functions.
Originally committed as revision 12406 to svn://svn.ffmpeg.org/ffmpeg/trunk
const
Originally committed as revision 11785 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix decoding of VMDs representing sprites (Last Dynasty, Woodruff).
Fixes issue 101
Originally committed as revision 10552 to svn://svn.ffmpeg.org/ffmpeg/trunk
use av_clip_int16() where it makes sense
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
Do proper frame swapping so VMD video decoder works again
Originally committed as revision 9151 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
Get rid of unnecessary pointer casts.patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove superfluous setting of has_b_frames in codecs without B-frames.patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
Divide first audio buffer chunk into atomary bufffers.This slightly simplifies decoder and removes potentialaudio buffer overrun.
Originally committed as revision 7121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Output proper 16-bit sound (fixes decoding on PPC)
Originally committed as revision 7000 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Correct wrong memset invocation.patch by Panagiotis Issaris, takis%%.%%issaris%%@%%uhasselt%%.%%be
Originally committed as revision 5966 to svn://svn.ffmpeg.org/ffmpeg/trunk
16-bit DPCM and stereo support for Sierra VMD
Originally committed as revision 5147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
tinfoil patch: be more diligent about checking array boundaries beforewriting to them
Originally committed as revision 4515 to svn://svn.ffmpeg.org/ffmpeg/trunk
if audio is PCM, push it through (sync is not perfect yet)
Originally committed as revision 3528 to svn://svn.ffmpeg.org/ffmpeg/trunk
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
conversion to av_log
Originally committed as revision 2975 to svn://svn.ffmpeg.org/ffmpeg/trunk
minor VMD system update; still not perfect, but should not crash either
Originally committed as revision 2887 to svn://svn.ffmpeg.org/ffmpeg/trunk
(f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get...
first pass at Sierra VMD A/V decoders; video looks great, audio is notyet complete
Originally committed as revision 2652 to svn://svn.ffmpeg.org/ffmpeg/trunk