Baptiste Coudurier
dbfdb288c1
Set alpha of palettes to 0xff.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Baptiste Coudurier
e91946ed23
Rename y400a to gray8a.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Michael Niedermayer
52a81cd0e4
Fix add_paeth_prediction_mmx for rgb48
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Michael Niedermayer
afd2371d5c
merge read and and in add_paeth_prediction
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Baptiste Coudurier
6d4c49a2af
Move png mmx functions into x86/png_mmx.c, remove them from DSPContext.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Alexandre Colucci
d6f910ea47
Fix decoding of DXSA subtitles.
These have a DXSA tag and contain alpha in addition to
color values for palette.
15 years ago
Michael Niedermayer
f08d171caa
WMADEC: fix ticket125
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Stefano Sabatini
fd37eac495
indeo2: remove unnecessary release_buffer() call
This was preventing reget_buffer() to return a buffer with the same
data, which was resulting in playback artifacts.
Fix trac issue #116 .
15 years ago
Stefano Sabatini
10aa5a6c42
4xm: use reget_buffer() in decode_frame()
Also remove unnecessary call to avctx->release_buffer(). reget_buffer
is required since apparently the codec needs to be feeded with the
previous frame data.
Releasing the frame and using get_buffer was working only in the case
get_buffer() was returning the old frame data, and resulting in
playback artifacts otherwise.
Fix trac issue #85 .
15 years ago
Ronald S. Bultje
191e08d113
avparser: don't av_malloc(0).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Michael Niedermayer
7b9e98173c
Revert "Eliminate pointless '#if 1' statements without matching '#else'."
no comment
This reverts commit e6ff064845 .
Conflicts:
libavcodec/dsputil.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Justin Ruggles
79ee8977c2
ac3enc: correct the flipped sign in the ac3_fixed encoder
15 years ago
anatoly
75cf2602c7
Add MxPEG decoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
anatoly
dd1e5bfd5e
Add support for picture_ptr field in MJpegDecodeContext
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
anatoly
7e6a9e6444
Move MJPEG's input buffer preprocessing in separate public function
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
anatoly
34686566f3
Support reference picture defined by bitmask in MJPEG's SOS decoder
With cleanup & simplification by me
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Alexander E. Patrakov
d439ba15fd
DCA/DTA encoder
15 years ago
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
15 years ago
Vitor Sessak
9d35fa520e
Add AVX FFT implementation.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
15 years ago
Vitor Sessak
33cbfa6fa3
Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
15 years ago
Stefano Sabatini
ff558d7b01
bfi: store palette data in the context
Store palette data in the codec context, do not assume that the frame
allocated the first time by avctx->get_buffer will be returned again.
This requires to store the palette which comes with the first frame in
the context, and copy it to the following frames.
Fix trac issue #84 .
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
15 years ago
Michael Niedermayer
76cd98b445
mjpeg: Detect overreads in mjpeg_decode_scan() and error out.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
15 years ago
Stefano Sabatini
bebe72f4a0
lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums
Also deprecate av_get_pict_type_char() in favor of
av_get_picture_type_char().
The new enum and av_get_picture_type_char() are defined in libavutil.
This allows the use in libavfilter without the need to link against
libavcodec.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Michael Niedermayer
30fe971934
aac: add headers needed for log2f()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
15 years ago
Anton Khirnov
6deae83e55
lavc: remove FF_API_MB_Q cruft
15 years ago
Anton Khirnov
694c142434
lavc: remove FF_API_RATE_EMU cruft
15 years ago
Anton Khirnov
e7021c0ed5
lavc: remove FF_API_HURRY_UP cruft
15 years ago
Michael Niedermayer
05815b3545
Fix issue1503, this fix may be incomplete we need more samples to know for sure.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Michael Niedermayer
7157334c37
wmadec: prevent null pointer call.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Stefano Sabatini
1da254b849
fraps: do not set avctx->pix_fmt to none in decode_init()
This is required for setting up the filterchain, as it requires the
pixel format to be set, which is usually done when probing the file
with av_find_stream_info().
Fix trac issue #83 .
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
15 years ago
Janne Grunau
6ad2bafcfd
ac3: fix memleak in fixed-point encoder
caused by typo in mdct_end
15 years ago
Reimar Döffinger
bde9671795
dca: allow selecting float output at runtime.
15 years ago
Reimar Döffinger
5aff31b136
vorbisdec: allow selecting float output at runtime.
15 years ago
Reimar Döffinger
26d5a4b6b4
aacdec: Allow selecting float output at runtime.
15 years ago
Reimar Döffinger
4c7ad768e1
ac3dec: allow selecting float output at runtime.
15 years ago
Diego Biurrun
a14c08247d
flashsv: Return more meaningful error values.
15 years ago
Diego Biurrun
46cb2da1f0
flashsv: Employ explicit AVCodec struct initializers.
15 years ago
Carl Eugen Hoyos
6c93641683
Warn if the source has unsupported (or no) channel layout.
15 years ago
Diego Biurrun
293fe6da01
cosmetics: K&R coding style and more whitespace for Flash Screen Video
15 years ago
Diego Biurrun
2441003d3f
vorbisdec: Employ proper printf format specifiers for uint_fast32_t.
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
15 years ago
ami_stuff
3e1c59ebc6
Support fourcc auv2.
Fixes ticket #101 .
15 years ago
Reimar Döffinger
9a962f3055
Fix indentation.
15 years ago
Reimar Döffinger
02e3f7d042
Support PARSER_FLAG_COMPLETE_FRAMES for h261 and h263 parsers.
15 years ago
Philip Langdale
e4253b1a4f
CrystalHD: Add AVOption to configure hardware downscaling.
The CrystalHD hardware can do scaling, which is particularly
desirable when dealing with some high resolution clips that take
so long to decode and copy out that they end up playing back
slower than realtime. By using scaling, we can make the output
frames smaller and reduce the copy out time.
This option takes the desired horizontal width in pixels, and
the hardware will do an aspect-scale. Upscaling is not supported
and the hardware will simply ignore any request to do so.
Signed-off-by: Philip Langdale <philipl@overt.org>
15 years ago
Reimar Döffinger
67c1a59ad7
Check for malloc failures in fraps decoder.
15 years ago
Reimar Döffinger
80da2dcf05
Use av_fast_malloc instead of av_realloc in fraps decoder.
15 years ago
Sebastian Vater
183132872a
HAM6/HAM8 support for IFF demuxer/decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Peter Ross
b678d6db95
permit decoding of multichannel ADPCM_EA_XAS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Baptiste Coudurier
c225615bf2
In libx264 wrapper, fix side effect with has_b_frames, bframe_pyramid can be set
when bframe is not.
15 years ago
Diego Biurrun
43fb279f56
Replace more FFmpeg instances by Libav or ffmpeg.
15 years ago