Diego Biurrun
8728b381cb
x86: h264dsp: Adjust YASM #ifdefs
This fixes compilation with YASM disabled.
13 years ago
Stefano Sabatini
23fc4dd6e7
lavc: add channels field to AVFrame
This is required otherwise it is not always possible to guess the number
of channels from the layout, for example if the channel layout is
unknown.
13 years ago
Ronald S. Bultje
b829b4ce29
h264: convert loop filter strength dsp function to yasm.
This completes the conversion of h264dsp to yasm; note that h264 also
uses some dsputil functions, most notably qpel. Performance-wise, the
yasm-version is ~10 cycles faster (182->172) on x86-64, and ~8 cycles
faster (201->193) on x86-32.
13 years ago
Michael Niedermayer
3b5ba60aa7
vc1dec: fix handling of max_coded dimensions
Fixes Ticket1502
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
30c8573dc7
mpeg4videoenc: ensure SAR is within the supported range
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
0177b7d23a
Improve descriptiveness of a number of codec and container long names
13 years ago
jamal
938e4470ae
options: Fix warning about incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
be391fb6df
h264_ps: declare array of colorspace strings on its own line.
13 years ago
Mans Rullgard
f3eb008343
eamad/eatgq/eatqi: call special EA IDCT directly
These decoders use a special non-MPEG2 IDCT. Call it directly
instead of going through dsputil. There is never any reason
to use a regular IDCT with these decoders or to use the EA IDCT
with other codecs.
This also fixes the bizarre situation of eamad and eatqi decoding
incorrectly if eatgq is disabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
591766a3a9
eamad: remove use of MpegEncContext
There is no sense in pulling in this monster struct just for
a handful of fields. The code does not call any functions
expecting an MpegEncContext.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
87cf481aa8
mpegvideo: remove unnecessary inclusions of faandct.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
72dabdfc58
aacenc: new default cutoff
Improves subjective quality
Formula and testing by: kamedo2 <fujisakihir90@yahoo.co.jp>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
5c81a9ff55
libx264: list possible profiles.
The values are listed if setting them fails.
Using "-profile help" or "-profile list" have that effect.
Similar to 3aba391 .
Suggested by "rogerdpack" in trac ticket #1529 .
13 years ago
Ronald S. Bultje
c83f44dba1
h264_idct_10bit: port x86 assembly to cpuflags.
13 years ago
Ronald S. Bultje
b3c5ae5607
fft: rename "z" to "zc" to prevent name collision.
Without this, cglobal will expand "z" to "zh" to access the high byte
in a register's word, which causes a name collision with the ZH(x) macro
further up in this file.
13 years ago
Michael Niedermayer
45838561f2
vc1dec: Override invalid macroblock quantizer
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
2bf369b60c
vc1: avoid reading beyond the last line in vc1_draw_sprites()
Fixes overread
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
1100acbab2
vc1dec: check that coded slice positions and interlacing match.
This fixes out of array writes
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
0aa907cfb1
vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
a2f91e7bcd
mpegaudiodec: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
4d777eedfd
vp3: don't compile mmx IDCT functions on x86-64.
64-bit CPUs always have SSE2, and a SSE2 version exists, thus the MMX
version will never be used.
13 years ago
Ronald S. Bultje
a5bbb1242c
h264_loopfilter: port x86 simd to cpuflags.
13 years ago
jamal
64c53fa16a
dxva2: Fix some warnings about incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
d07ff3cd5a
h264_chromamc_10bit: port x86 simd to cpuflags.
13 years ago
Ronald S. Bultje
4a26fdd852
vp3: port x86 SIMD to cpuflags.
13 years ago
Michael Niedermayer
0fa352623d
dvdsubenc: switch to av_assert
we use av_assert0() because the previous code unconditionally
enabled the assert.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
76888c64b0
rv34: port x86 SIMD to cpuflags.
13 years ago
Ronald S. Bultje
158744a4cd
vp56: only compile MMX SIMD on x86-32.
All x86-64 CPUs have SSE2, so the MMX version will never be used. This
leads to smaller binaries.
13 years ago
Ronald S. Bultje
2734ba787b
vp56: port x86 simd to cpuflags.
13 years ago
Ronald S. Bultje
5361e10a5e
proresdsp: port x86 assembly to cpuflags.
13 years ago
Justin Ruggles
81f548de57
alac: check for truncated packets
This will give a clearer error message when the error is caused by a
truncated packet.
13 years ago
Justin Ruggles
fb57e913e1
alac: reverse lpc coeff order, simplify filter
Reversing the lpc coefficient order simplifies indexing in the filter.
13 years ago
jamal
52a62f9085
dwt: Fix several warnings about incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
789f8cb03a
avutil: support 50 and 60 frame rates in timecode api
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a2cd13f04f
zmbv: Fix warning about discarded qualifier
Based on patch by: jamal <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
jamal
cb40d36074
ffv1: Fix warnings about incompatible pointer type and discarded qualifiers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
0cf7d849ff
tscc2: fix typo in array index
13 years ago
Diego Biurrun
8784959234
build: Rename aandct component to more descriptive aandcttables
13 years ago
Ronald S. Bultje
bde73f28af
mpegaudio: bury inline asm under HAVE_INLINE_ASM.
13 years ago
Ronald S. Bultje
30b45d9c38
x86inc: automatically insert vzeroupper for YMM functions.
13 years ago
Clément Bœsch
316f8db2c2
SubViewer demuxer and decoder.
13 years ago
Clément Bœsch
2755abff3e
lavc/rt: small wording fix in a comment.
13 years ago
Michael Niedermayer
e15e5328a7
mpc8: Initialize AVFrame properly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5938b4d398
mpc7: Initialize AVFrame properly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
506ffa793f
h264_cabac: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7a4e30f3b6
h264_cabac: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
44dc9c6af0
libopenjpeg: support YUV and deep RGB pixel formats
Based on FFmpeg version from
commit 3275981207
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Carl Eugen Hoyos
92566540c3
Fix typo in v410 decoder.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
9746f87f15
libvpxenc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
aee675a326
intrax8: asserts cleanup
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago