• Stefano Sabatini's avatar
    iff/8svx: redesign 8SVX demuxing and decoding for handling stereo samples correctly · e280a4da
    Stefano Sabatini authored
    Make the iff demuxer send the whole audio chunk to the decoder as a
    single packet, move stereo interleaving from the iff demuxer to the
    decoder, and introduce an 8svx_raw decoder which performs
    stereo interleaving.
    
    This is required for handling stereo data correctly, indeed samples
    are stored like:
    LLLLLL....RRRRRR
    
    that is all left samples are at the beginning of the chunk, all right
    samples at the end, so it is necessary to store and process the whole
    buffer in order to decode each frame. Thus the decoder needs all the
    audio chunk before it can return interleaved data.
    
    Fix decoding of files 8svx_exp.iff and 8svx_fib.iff, fix trac issue #169.
    e280a4da
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
mt-work Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...