Mans Rullgard
7d7b40f48a
pcmenc: set correct bitrate value
...
This fixes a bogus bitrate value in the header of WAV files with
alaw/ulaw audio.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Piotr Bandurski
4d37877632
aasc: support "Autodesk 24 bit RLE compressor" (FourCC: aas4)
...
fixes ticket #1310
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
183596fa08
Support more Avid Meridien / AVUI samples.
...
Fixes ticket #1288 .
13 years ago
Piotr Bandurski
e5e20a3d31
dv_profile: fix decoding of SoftLabDVCPRO codec (PAL mode)
...
fixes ticket #1307
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Kostylev
6797d1948b
x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.
13 years ago
Justin Ruggles
95a98ab3f0
ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16
...
Simplifies the code by using cpuflags and a new macro.
Also fixes the invalid use of the MMX2 pshufw operation in the MMX-only
function.
13 years ago
Aneesh Dogra
46ea46357a
tta: Fix comment about channel number; TTA supports >2 channels.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Kostya Shishkov
6de226a2b8
indeo3: validate new frame size before resetting decoder
13 years ago
Kostya Shishkov
bc00da2701
indeo3: when freeing buffers, set pointers referencing them to NULL as well
13 years ago
Kostya Shishkov
81064a8045
indeo3: initialise pixel planes on allocation
...
This prevents decoder from reading garbage from it in case of errors later.
13 years ago
Kostya Shishkov
fc417db3f1
indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder
13 years ago
Michael Niedermayer
dd20e7ede5
assdec: check that the alloc+init of the private data succeeded.
...
Fixes a part of Ticket1208
Found-by: John Villamil and Piotr Bandurski
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3938a0eeae
audio_frame_queue: fix null ptr dereference
...
This happened when a frame was removed before any was added.
Fixes part of Ticket1208
Found-by: John Villamil, Piotr Bandurski and Carl Eugen Hoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
e6694659fc
libmp3lame: set supported channel layouts.
13 years ago
Diego Biurrun
100c70b048
vcr1: Add vcr1_ prefixes to all static functions with generic names.
13 years ago
Diego Biurrun
a761e5951c
vcr1: Fix return type of common_init to match the function pointer signature.
...
libavcodec/vcr1.c:182: warning: initialization from incompatible pointer type
13 years ago
Diego Biurrun
55da88c5ab
vcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.
13 years ago
Diego Biurrun
5aad8e80a7
motion-test: remove disabled code
13 years ago
Vitor Sessak
fcc456b829
x86: use more standard construct for setting ASM functions in FFT code
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
4991cbafaf
mpegvideo_enc: Fix chroma edge size
...
Fixes ticket1303
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
555e2921dd
flac_parser: speedup fifo realloc
...
Fixes Ticket1121
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
6108e1be2f
wmvenc: check if width is multiple of 2
...
The width of wmv1/2 video must be multiple of 2 or win32 codec will fail to decode it (WMP displays black screen).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
1f2f031c2f
Set bits_per_raw_sample when decoding libopenjpeg images.
...
Reviewed-by: Michael Bradshaw
13 years ago
Michael Niedermayer
1337c6cf15
mpeg1enc: dont use size extension.
...
the spec doesnt mention this extension for mpeg1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
038eb59b3a
mpeg2dec: support slice_vertical_position_extension
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6b0a0dc555
mpeg2enc: check input dimensions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d5df0df848
mpeg1enc: check input dimensions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f153dfc9e4
h263enc: test that dimensions are a multiple of 4
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
70f133fb54
h263enc: check w/h for validity
...
Fixes Ticket1063
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Kostylev
ea60dfe284
x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.
13 years ago
Carl Eugen Hoyos
db11fc5392
Fix flashsv2 encoder error message.
13 years ago
Michael Niedermayer
2a37ac042f
flashsv2enc: fix division by zero
...
Fixes other half of Ticket1105
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
40d8c89cb6
flashsvenc: fix image sizes below 192x192
...
Fixes half of Ticket1105
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d04956344d
tiffenc: fix out of array read
...
Fixes ticket1112
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3b5632479e
snow: fix 32x32 encoding
...
Fixes ticket1083
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
de1824e970
mpeg12: fix logic that prevents extradata from being parsed twice.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e20f46481b
mpeg12: print an error when there was a frame in extradata.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
6d376346eb
Allow decoding of j2k images with bpp<8 and 8<bpp<16 with libopenjpeg.
...
Fixes one of several problems described in ticket #1279 .
13 years ago
Michael Niedermayer
940be96540
dcaenc: fix out of array read
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
e54e6f25cf
arm/neon: dsputil: use correct size specifiers on vld1/vst1
...
Change the size specifiers to match the actual element sizes
of the data. This makes no practical difference with strict
alignment checking disabled (the default) other than somewhat
documenting the code. With strict alignment checking on, it
avoids trapping the unaligned loads.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2eba6898c9
arm: dsputil: prettify some conditional instructions in put_pixels macros
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
c776531aef
vqavideo: change x/y loop counters to the usual pattern
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
afcb67113d
Revert "Remove libvorbis Vorbis decoding support. Our native decoder is complete"
...
Its useful to support the official decoder for comparission and debugging.
This reverts commit f9def9ccc6
.
Conflicts:
Changelog
configure
libavcodec/allcodecs.c
libavcodec/libvorbis.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Christophe Gisquet
110d0cdc9d
rv40dsp x86: MMX/MMX2/3DNow/SSE2/SSSE3 implementations of MC
...
Code mostly inspired by vp8's MC, however:
- its MMX2 horizontal filter is worse because it can't take advantage of
the coefficient redundancy
- that same coefficient redundancy allows better code for non-SSSE3 versions
Benchmark (rounded to tens of unit):
V8x8 H8x8 2D8x8 V16x16 H16x16 2D16x16
C 445 358 985 1785 1559 3280
MMX* 219 271 478 714 929 1443
SSE2 131 158 294 425 515 892
SSSE3 120 122 248 387 390 763
End result is overall around a 15% speedup for SSSE3 version (on 6 sequences);
all loop filter functions now take around 55% of decoding time, while luma MC
dsp functions are around 6%, chroma ones are 1.3% and biweight around 2.3%.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
8ea5df4fac
lavc/utils: fix division by 0
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Christophe Gisquet
706b998cdc
ape: Use unsigned integer maths
...
This involves a division that should be a shift.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Mans Rullgard
cbc7d60afa
arm: dsputil: fix overreads in put/avg_pixels functions
...
The vertically interpolating variants of these functions read
ahead one line to optimise the loop. On the last line processed,
this might be outside the buffer. Fix these invalid reads by
processing the last line outside the loop.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
1de53d006b
h264: K&R formatting cosmetics for header files (part II/II)
13 years ago
Diego Biurrun
be545b8a34
h264: K&R formatting cosmetics for header files (part I/II)
13 years ago
Diego Biurrun
8ae1914327
vcr1enc: drop pointless empty encode_init() wrapper function
13 years ago