Baptiste Coudurier
045cc36fe7
100l, change #ifdef to #if
14 years ago
Baptiste Coudurier
46394d39e3
In png decoder, only call png_init_mmx if HAVE_MMX is defined.
14 years ago
Baptiste Coudurier
624a7e005c
Correctly support pal8 with alpha in libswscale, fix png pal8 with alpha.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Baptiste Coudurier
dbfdb288c1
Set alpha of palettes to 0xff.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Baptiste Coudurier
e91946ed23
Rename y400a to gray8a.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
52a81cd0e4
Fix add_paeth_prediction_mmx for rgb48
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
afd2371d5c
merge read and and in add_paeth_prediction
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Diego Biurrun
b239526873
vorbisdec: Rename silly "class_" variable to plain "class".
14 years ago
Diego Biurrun
81afa5a274
simple_idct_alpha: Drop some useless casts.
14 years ago
Diego Biurrun
3fd3632ffe
Simplify av_log_missing_feature().
...
Do not print the results of the conditional call to av_log_ask_for_sample()
into the same line as the main output, separate the already long text.
14 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.
14 years ago
Justin Ruggles
8745e9c458
ac3enc: remove check for mismatching channels and channel_layout
14 years ago
Justin Ruggles
688b09fa59
If AVCodecContext.channels is 0 and AVCodecContext.channel_layout is
...
non-zero, set channels based on channel_layout.
This allows the user to set only channel_layout and not channels.
14 years ago
Justin Ruggles
168f9e8c40
If AVCodecContext.channel_layout and AVCodecContext.channels are both
...
non-zero, check to make sure they do not contradict eachother.
14 years ago
Justin Ruggles
3dfc3e70c0
cosmetics: indentation
14 years ago
Justin Ruggles
8b00ab0113
Check AVCodec.supported_samplerates and AVCodec.channel_layouts in
...
avcodec_open().
If the encoder has a channel_layouts list and AVCodecContext.channel_layout
is 0, then only print a warning and let the encoder decide how to handle it.
14 years ago
Alex Converse
767848d761
aacdec: remove sf_scale and sf_offset.
...
Instead, scalefactors are adjusted by the offset amount, removing the need
for sf_scale, and the MDCT scales are adjusted to compensate for the higher
scalefactors. Floating-point output will be handled by modifying the MDCT
scales.
14 years ago
Justin Ruggles
6271794041
aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficient
...
table values from the spec.
14 years ago
Alex Converse
d70fa4c423
Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets instead
...
of hardcoding 200 everywhere.
14 years ago
Alex Converse
e4744b59aa
Large intensity stereo and PNS indices are legal. Clip them instead of
...
erroring out. A magnitude of 100 corresponds to 2^25 so the will most
likely result in clipped output anyway.
None of the conformance streams fall in the range that need to be clipped.
14 years ago
Michael Niedermayer
f08d171caa
WMADEC: fix ticket125
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
f4e043ff63
qpeg: use reget_buffer() in decode_frame()
...
Decoder relies on previous frame data, so use reget_buffer().
This also set frame->reference to 3, as the frame will be requested
unmodified later so it shouldn't be modified by the application.
Fix playback of file Clock.avi.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
4f0b80599a
ultimotion: use reget_buffer() in ulti_decode_frame()
...
Decoder relies on previous frame data, so use reget_buffer().
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
4f2954e232
smacker: remove unnecessary call to avctx->release_buffer in decode_frame()
...
The release_buffer was cleaning the provided frame, thus causing the
successive call to avctx->reget_buffer() to allocate a new frame. In
case the returned frame was not the same one previously returned but a
new one with different data, it resulted in artifacts.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
0886267e3c
Revert buggy hunk that leaked in from a libav merge.
...
This unbreaks compilation with --disable-avfilter.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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 .
14 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 .
14 years ago
Stefano Sabatini
c2606259de
ffplay: move output_picture() code to queue_picture()
...
Move output_picture() code to queue_picture(), and remove it.
Simplify code path.
14 years ago
Stefano Sabatini
4a22ea4da1
ffplay: rename video_refresh_timer() to video_refresh()
...
The new name is shorter and less confusing.
14 years ago
Stefano Sabatini
8adf9bb2cb
ffplay: rename decode_thread to read_thread, parse_tid to read_tid
...
The new names are less misleading and more reciprocally consistent.
14 years ago
Stefano Sabatini
31d8467d82
lavfi: add showinfo filter
14 years ago
Stefano Sabatini
f7bdffb09d
lavfi: print key-frame and picture type information in ff_dlog_ref()
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Ronald S. Bultje
5eef4afb9a
avparser: don't av_malloc(0).
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Ronald S. Bultje
191e08d113
avparser: don't av_malloc(0).
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Michael Niedermayer
d7e5aebae7
Merge remote branch 'qatar/master'
...
* qatar/master: (23 commits)
ac3enc: correct the flipped sign in the ac3_fixed encoder
Eliminate pointless '#if 1' statements without matching '#else'.
Add AVX FFT implementation.
Increase alignment of av_malloc() as needed by AVX ASM.
Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.
mjpeg: Detect overreads in mjpeg_decode_scan() and error out.
documentation: extend documentation for ffmpeg -aspect option
APIChanges: update commit hashes for recent additions.
lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums
aac: add headers needed for log2f()
lavc: remove FF_API_MB_Q cruft
lavc: remove FF_API_RATE_EMU cruft
lavc: remove FF_API_HURRY_UP cruft
pad: make the filter parametric
vsrc_movie: add key_frame and pict_type.
vsrc_movie: fix leak in request_frame()
lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.
vsrc_buffer: add sample_aspect_ratio fields to arguments.
lavfi: add fieldorder filter
scale: make the filter parametric
...
Conflicts:
Changelog
doc/filters.texi
ffmpeg.c
libavcodec/ac3dec.h
libavcodec/dsputil.c
libavfilter/avfilter.h
libavfilter/vf_scale.c
libavfilter/vf_yadif.c
libavfilter/vsrc_buffer.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
tateu
93c28a55fd
Fix runtime CPU detection in libswscale.
14 years ago
Michael Niedermayer
075933a068
vsrc_buffer: 10l mixed up input & output sizes. (funnily this worked 99% of the time) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
79ee8977c2
ac3enc: correct the flipped sign in the ac3_fixed encoder
14 years ago
anatoly
75cf2602c7
Add MxPEG decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 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>
14 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>
14 years ago
Alexander E. Patrakov
d439ba15fd
DCA/DTA encoder
14 years ago
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
14 years ago
Vitor Sessak
9d35fa520e
Add AVX FFT implementation.
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Vitor Sessak
13dfce3d44
Increase alignment of av_malloc() as needed by AVX ASM.
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 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>
14 years ago
Michael Niedermayer
d84f191d37
vsrc_buffer: Reinit scale filter when an existing filter is used.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago