Carl Eugen Hoyos
01616f12e2
Fix linesize for rawvideo in mov.
Fixes ticket #823 .
14 years ago
Carl Eugen Hoyos
ef3a19d595
Fix compilation with yasm-0.6.2
14 years ago
Paul B Mahol
3e8a368b2b
lavc: constify enums for .pix_fmts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Paul B Mahol
bd36ec55be
bmpdec: proper check for alpha
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kostya Shishkov
08bab32cf1
indeo4: add some missing static and const qualifiers
From the patch by Reimar Döffinger.
14 years ago
Christophe GISQUET
3faa303a47
rv34: DC-only inverse transform
When decoding coefficients, detect whether the block is DC-only, and take
advantage of this knowledge to perform DC-only inverse transform.
This is achieved by:
- first, changing the 108x4 element modulo_three_table into a 108 element
table (kind of base4), and accessing each value using mask and shifts.
- then, checking low bits for 0 (as they represent the presence of higher
frequency coefficients)
Also provide x86 SIMD code for the DC-only inverse transform.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
14 years ago
Carl Eugen Hoyos
4093d130d1
Support encoding RGB48 with libopenjpeg.
Reviewed-by: Michael Bradshaw
14 years ago
Alex Converse
b5fc571e4f
latmdec: Check AudioSpecificConfig length before decoding extradata.
This is different than a normal get_bits() over read because
decode_audio_specific_config() creates its own GetBitContext.
Fixes Bug 170.
14 years ago
Michael Niedermayer
5387f9917f
cabac: Try to disable problematic ASM for gcc-llvm 4.2.1
This should fix compilation with gcc-llvm (see darwin fate box)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Paul B Mahol
8b87fd9825
bmpenc: support for BGRA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
84d0fcf268
libmp3lame: It appears the buffer used is a bit too small.
Increase it by an arbitrary amount.
Fixes part of Ticket676
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Henrik Gramner
e7d02b04dc
fft: init functions with INIT_XMM/YMM.
This is required to handle clobbering of XMM registers on Win64
correctly. Fixes FFT and all tests depending on FFT on Win64.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Clément Bœsch
ca1bae3983
timecode: support >24h timecode.
14 years ago
Clément Bœsch
f1db99166b
timecode: string representation can be negative.
Timecode can be specified with a negative value in MOV...
14 years ago
Clément Bœsch
98aafc5bbf
timecode: set a fixed buffer size of 16B for tc string.
14 years ago
Justin Ruggles
56f22b7e16
pcmenc: set frame_size to 0.
This indicates that the actual frame size is based on the buf_size passed to
avcodec_encode_audio().
14 years ago
Paul B Mahol
7c4b397508
bmpdec: support various bitfields for 32 bit depth
Fixes #740
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
82390f57d1
avcodec: add GSM parser
The WAVE demuxer returns packets with many blocks per frame, which needs to be
parsed into single blocks. This has a side-effect of fixing the timestamps.
14 years ago
Diego Biurrun
5ea20630b4
Fix a bunch of platform name and other typos.
14 years ago
Paul B Mahol
98dfdfdd8e
tiffdec: notify user that tile support is missing
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
14 years ago
Janne Grunau
f6a152db11
threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
14 years ago
Michael Niedermayer
24be30de64
ljpegdec: Fix the left column of rgb24 decoding
Fixes Ticket894
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
9472d37d8e
rv34: frame-level multi-threading
Statistics for bourne.rmvb -an -f null
1 thread: 37.12s user 0.03s system 99% cpu 37.174 total
2 threads: 47.63s user 0.24s system 185% cpu 25.807 total
4 threads: 41.21s user 0.30s system 327% cpu 12.674 total
14 years ago
Janne Grunau
3ab7700018
mpegvideo: claim ownership of referenced pictures
Under certain conditions pictures could be released before they were
returned with frame-threading. Broken mv computation in the upcoming
rv34 frame-threading patch was caused by this.
To prevent contexts from running out of available pictures the loop
releasing "unused" pictures has to be run for B frames too.
14 years ago
Alex Converse
17ce52912f
aacsbr: prevent out of bounds memcpy().
Fixes Libav Bug 195.
This doesn't make the code handle sample rate or upsample/downsample
change properly but this is still a good sanity check.
Based on change by Michael Niedermayer.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
14 years ago
Aneesh Dogra
29112db8c0
bethsoftvideo: Use bytestream2 functions to prevent buffer overreads.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Paul B Mahol
047a28f759
bmpenc: support for PIX_FMT_RGB444
14 years ago
Paul B Mahol
a6839c4e60
bmpdec: support for rgb444 with bitfields compression
Do not display garbage for invalid/unsupported bitfields values.
14 years ago
Paul B Mahol
84e5159e25
bmpenc: support for PIX_FMT_RGB444
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Janne Grunau
e652cc9606
rv34: use get_bits_left()
It is not necessary to store the bit stream length in a RV34DecContext
field.
14 years ago
Paul B Mahol
353a2d2164
bmpdec: support for rgb444 with bitfields compression
Do not display garbage for invalid/unsupported bitfields values.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
anonymous
7e2ba2df28
mjpeg: update whitespaces to qatar
14 years ago
Laurentiu Ion
da2e774fd6
kmvc: Use bytestream2 functions to prevent buffer overreads.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Carl Eugen Hoyos
ceb0dd9f1e
Support decoding 1bpp and 4bpp palettized sunrast images.
Fixes ticket #864 and ticket #897 .
14 years ago
Paul B Mahol
e20a4881ff
pngdec: show verbose message for unsupported files
14 years ago
Alex Converse
9de3cbc182
aacps: Add missing newline in error message.
14 years ago
Alex Converse
4acd43a295
aacdec: Turn off PS for multichannel files that use PCE based configs.
Fixes al_sbr_cm_48_5.1.mp4.
14 years ago
Michael Niedermayer
f247f4cf47
cabac: 3rd try at working around a compiler bug in clang.
Switch to a broader detection of versions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
1ef8ff4534
cabac: remove put_cabac_u/ueg from cabac-test.
The functions are not used in any part of Libav, therefore testing them in the
cabac-test is unnecessary. Since this makes them unused, remove the functions.
14 years ago
Reimar Döffinger
4231bbbf4c
sgidec: make compiler optimize away memcpy call in inner loop.
Using an always_inline function makes the memcpy length a constant,
any reasonable compiler will replace it by a single mov instruction
without us having to duplicate the actual code.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Michael Niedermayer
444632eae6
cabac: Disable get_cabac_inline_x86() for clang 2.9 on x86_32
This should finally fix the compilation issue on darwin
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
2138a89e71
Revert "Revert commit 599b4c6efddaed33b1667c386b34b07729ba732b"
This reverts commit c4f237a981 .
This didnt fix compilation on darwin with current clang.
14 years ago
Vitor Sessak
39df0c434c
mpegaudiodec: optimized iMDCT transform
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Vitor Sessak
06677d0dd9
mpegaudiodec: change imdct window arrangment for better pointer alignment
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Vitor Sessak
6dfcf53092
mpegaudiodec: move imdct and windowing function to mpegaudiodsp
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Vitor Sessak
421c99a4a7
mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
b143562639
ljpegdec: Support MCU in ljpeg_decode_yuv_scan()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Daniel Huang
8549cf073b
mjpegdec: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Aneesh Dogra
ccc27e2139
bfi: Use bytestream2 functions to prevent buffer overreads.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Laurentiu Ion
529a25d6e5
dpcm: Fix invalid writes
Fixes bug: #152
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago