Ronald S. Bultje
331e7c4cb3
imdct36: mark SSE functions as using all 16 XMM registers.
On x86-64, it indeed uses all 16 registers (and on x86-32, this gets
clipped to 8). Not marking it properly causes callers of this function
to fail randomly because of XMM register clobbering.
14 years ago
Ronald S. Bultje
e92003514d
png: move DSP functions to their own DSP context.
14 years ago
Aneesh Dogra
f9708e9a0e
sunrast: Add a sample request for TIFF, IFF, and Experimental Rastfile formats.
Signed-off-by: Aneesh Dogra <lionaneesh@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Aneesh Dogra
415f358a1f
sunrast: Cosmetics
Signed-off-by: Aneesh Dogra <lionaneesh@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Aneesh Dogra
4ffb8e2c14
sunrast: Remove if (unsigned int < 0) check.
Note: This fixes the following GCC warning :-
libavcodec/sunrast.c:94: warning: comparison of unsigned expression < 0 is always false.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Aneesh Dogra
fef3771778
sunrast: Replace magic number by a macro.
Signed-off-by: Aneesh Dogra <lionaneesh@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nathan Caldwell
2e626dd513
aacenc: Fix LONG_START windowing.
Forgot to add the equivalent amount to the incoming sample pointer as the output pointer.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Nathan Caldwell
dc7e7d4dd9
aacenc: Fix a bug where deinterleaved samples were stored in the wrong place.
10l: Forgot to adjust deinterleave for new location of incoming samples in 7946a5a .
This produced incorrect, but surprisingly listenable results.
Thanks to Justin Ruggles for the report.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
9bfe218299
lavc: extend doxy for avcodec_alloc_context3().
14 years ago
Anton Khirnov
2d9535ad31
avcodec_align_dimensions2: set only 4 linesizes, not AV_NUM_DATA_POINTERS.
This function is video-only, so there's no point in setting more
linesizes.
Fixes stack corruption in avplay.
14 years ago
Mans Rullgard
be822d77b6
aacsbr: ARM NEON optimised sbrdsp functions
Overall speedup of HE-AAC decoding 2.3x on Cortex-A8, 1.2x on A9.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8996ed2b73
aacsbr: align some arrays
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
aac46e088d
aacsbr: move some simdable loops to function pointers
This prepares for assembly optimisations by moving the most
time-consuming loops to functions called through pointers
in a new context.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
14 years ago
Martin Storsjö
9a7dc618c5
libavcodec: Don't crash in avcodec_encode_audio if time_base isn't set
Earlier, calling avcodec_encode_audio worked fine even if time_base
wasn't set. Now it crashes due to trying to scale the output pts to
the codec context time base. This affects e.g. VLC.
If no time_base is set for audio codecs, set it to the sample
rate.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Aneesh Dogra
bca77a1a64
sunrast: Document the different Sun Raster file format types.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Aneesh Dogra
1bbb173652
sunrast: Add a check for experimental type.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Justin Ruggles
2c577155a7
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
Fixes build with --enable-libspeex
14 years ago
Anton Khirnov
3b4aaa6190
lavc: remove disabled FF_API_AVFRAME_AGE cruft.
14 years ago
Anton Khirnov
d803775e81
lavc: remove disabled FF_API_DATA_POINTERS cruft.
14 years ago
Anton Khirnov
10e1ae5eff
lavc: remove disabled FF_API_TIFFENC_COMPLEVEL cruft.
14 years ago
Anton Khirnov
370e923e0b
lavc: remove disabled FF_API_INTERNAL_CONTEXT cruft.
14 years ago
Anton Khirnov
ac84395d6a
lavc: remove disabled FF_API_PARSE_FRAME cruft.
14 years ago
Anton Khirnov
8b9b6041d7
lavc: remove disabled FF_API_GET_ALPHA_INFO cruft.
14 years ago
Anton Khirnov
99ace37e68
lavc: remove disabled FF_API_MJPEG_GLOBAL_OPTS cruft.
14 years ago
Anton Khirnov
96e9b96fcd
lavc: remove disabled FF_API_SNOW_GLOBAL_OPTS cruft.
14 years ago
Anton Khirnov
b9de160c3e
lavc: remove disabled FF_API_LAME_GLOBAL_OPTS cruft.
14 years ago
Anton Khirnov
3211932c51
lavc: remove disabled FF_API_AVCODEC_INIT cruft.
14 years ago
Anton Khirnov
491f443e1f
lavc: remove disabled FF_API_ER cruft.
14 years ago
Anton Khirnov
f326501a65
lavc: remove disabled FF_API_DRC_SCALE cruft.
14 years ago
Anton Khirnov
d2d931500b
lavc: remove disabled FF_API_AVCODEC_OPEN cruft.
14 years ago
Anton Khirnov
ec104eef51
lavc: remove disabled FF_API_ALLOC_CONTEXT cruft.
14 years ago
Anton Khirnov
8e5746d461
lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.
14 years ago
Anton Khirnov
0dc6bab092
lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.
14 years ago
Anton Khirnov
fbca04e6f6
lavc: remove disabled FF_API_OLD_FF_PICT_TYPES cruft.
14 years ago
Anton Khirnov
9a79bb552a
lavc: remove disabled FF_API_THREAD_INIT cruft.
14 years ago
Anton Khirnov
7831a7e4ec
lavc: remove disabled FF_API_ANTIALIAS_ALGO cruft.
14 years ago
Anton Khirnov
62dfea6535
lavc: remove disabled FF_API_OLD_AUDIOCONVERT cruft.
14 years ago
Anton Khirnov
284e65d64e
lavc: remove disabled FF_API_OLD_SAMPLE_FMT cruft.
14 years ago
Anton Khirnov
6c8dab98b8
lavc: remove disabled FF_API_PALETTE_CONTROL cruft.
14 years ago
Anton Khirnov
9ce2a91b84
lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.
14 years ago
Anton Khirnov
7232bfbd93
lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.
14 years ago
Anton Khirnov
7460398b89
lavc: remove the deprecated opt.h header.
14 years ago
Anton Khirnov
041cd5a0c5
lavc: remove the deprecated "ab" option.
14 years ago
Anton Khirnov
7063b6eaee
lavc: increase major version to 54.
The lavf-ffm test results change because ffmenc writes
AVCodecContext.flags/flags2 and the defaults for those change.
14 years ago
Ronald S. Bultje
3b15a6d742
config.asm: change %ifdef directives to %if directives.
This allows combining multiple conditionals in a single statement.
14 years ago
Paul B Mahol
5eda82aac9
frwu: check if allocation was successful
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mashiat Sarker Shakkhar
d51d6ae9c4
vc1dec.c: Don't use uninitialized values of dmv_[x, y]
MVDATA may or may not be transmitted. If it is not, both
dmv_x and dmv_y is to be assumed zero.
This may not trigger wrong picture in all systems, but
it's a bug nevertheless. Fixes SA10116.vc1 on my 64-bit
Windows 7.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Alex Converse
b57d262412
mjpegbdec: Fix overflow in SOS.
Based in part by a fix from Michael Niedermayer <michaelni@gmx.at>
Fixes CVE-2011-3947
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
14 years ago
Paul B Mahol
324e818093
8bps: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago