Michael Niedermayer
73f2cf4ed9
ffplay: Exit on ctrl-c.
...
This allows to get out of ffplay if it or SDL got stuck.
This for example happens when the audio driver is playing something
else and doesnt support mixing multiple sources.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Carl Eugen Hoyos
ceb0dd9f1e
Support decoding 1bpp and 4bpp palettized sunrast images.
...
Fixes ticket #864 and ticket #897 .
13 years ago
Clément Bœsch
625751c47a
log: use a different color for debug (green).
13 years ago
Paul B Mahol
e20a4881ff
pngdec: show verbose message for unsupported files
13 years ago
Gaurav Narula
a67b8c86d0
fate: Add tests for more AAC features.
...
al15_44 uses independent coupling.
al18_44 uses PNS (perceptual noise substitution).
am05_44 uses main prediction and independent coupling.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
13 years ago
Alex Converse
9de3cbc182
aacps: Add missing newline in error message.
13 years ago
Alex Converse
cd6e34d369
fate: Add tests for vc1/wmapro in ism.
13 years ago
Alex Converse
46ef355c65
aacdec: Add a fate test for 5.1 channel SBR.
13 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.
13 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>
13 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.
13 years ago
Stefano Sabatini
3b1355bb93
ffprobe: change formatting logic in the JSON writer
...
Print a "\n" at the end of each section, also print the section name in
the section print function, print the chapter name only in case the
chapter contains multiple entries.
Increase textual output readability - different sections can be
distinguished more easily.
13 years ago
Stefano Sabatini
48f37b1d21
ffprobe: implement generic reindent logic in the JSON writer
...
Clarify/generalize indent logic.
13 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>
13 years ago
Reimar Döffinger
efd6b80b40
rawdec: use av_shrink_packet.
...
This fixes reads of uninitialized data by the parser when running
FATE sample h264-conformance/SL1_SVA_B.264.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Paul B Mahol
5cad970971
swscale: RGB4444 and BGR444 input
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Marton Balint
741aca7936
libswresample: introduce int swr_set_compensation() instead of void swr_compensate()
...
The new version returns AVERROR(EINVAL) is the specified paramters are invalid,
and also creates the resampler if none was used so far.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3e9668501d
fate: add bitexact and idct to x8intra
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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>
13 years ago
Mike Melanson
d41d7773bc
FATE: add test for xWMA demuxer.
...
(Does not attempt to decode percetual audio data inside.)
Code coverage: libavformat/xwma.c: 3% -> 75%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
2138a89e71
Revert "Revert commit 599b4c6efddaed33b1667c386b34b07729ba732b"
...
This reverts commit c4f237a981
.
This didnt fix compilation on darwin with current clang.
13 years ago
Mike Melanson
2dee0cdb8e
FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.
...
(Don't attempt to decode JPEG data.)
Code coverage: libavformat/smjpeg.c: 0% -> 69%
libavcodec/adpcm.c: 0% -> 10% (fresh run); 92.4% -> 93% following a FATE run
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Vitor Sessak
39df0c434c
mpegaudiodec: optimized iMDCT transform
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Vitor Sessak
06677d0dd9
mpegaudiodec: change imdct window arrangment for better pointer alignment
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Vitor Sessak
6dfcf53092
mpegaudiodec: move imdct and windowing function to mpegaudiodsp
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Vitor Sessak
421c99a4a7
mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
2170a0e6ad
swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.
...
Also implement SSE2/AVX variants.
13 years ago
Michael Niedermayer
72c5828c93
lavf: Add forgotten line from 212fd3a1f1
...
This fixes a tiny memleak.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9273efac1b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
bfi: Use bytestream2 functions to prevent buffer overreads.
dpcm: Fix invalid writes
utvideo: frame multithreading.
vorbis: An additional defense in the Vorbis codec.
vorbisdec: Fix decoding bug with channel handling
Conflicts:
libavcodec/dpcm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b143562639
ljpegdec: Support MCU in ljpeg_decode_yuv_scan()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mike Melanson
599855748a
FATE: test to exercise WTV demuxer.
...
Does not attempt to decode perceptual codecs inside.
Code coverage: libavformat/wtv.c: 0% -> 71%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Daniel Huang
8549cf073b
mjpegdec: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
999484c9fb
swscale: K&R formatting cosmetics for code examples
13 years ago
Diego Biurrun
83890c66c4
swscale: K&R reformatting cosmetics for header files
13 years ago
Mike Melanson
a83f5b8a96
FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Aneesh Dogra
ccc27e2139
bfi: Use bytestream2 functions to prevent buffer overreads.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Laurentiu Ion
529a25d6e5
dpcm: Fix invalid writes
...
Fixes bug: #152
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Aneesh Dogra
12e984aed7
utvideo: frame multithreading.
...
>> time ./avconv -i file.avi -f null -
Before : real 0m7.784s
After : real 0m3.662s
Tested on a Intel Core i3 Processor (2 cores, 4 threads).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
cd2a27e1e5
Merge remote-tracking branch 'dilaroga/master'
...
* dilaroga/master:
vda: cosmetic.
vda: removes useless doxygen command.
vda: uses pthreads directly.
vda: convert 3 byte NAL sizes to 4 byte.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
52ef95474b
ipmovie: Fix passing resolution changes on.
...
Fixes Ticket676
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
dd319f17e6
tta: remove obsolete and useless error message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
73ddc5869d
Support 48bit rgb pam encoding.
13 years ago
Sebastien Zwickert
186980bf0f
vda: cosmetic.
13 years ago
Sebastien Zwickert
e953b8b7be
vda: removes useless doxygen command.
13 years ago
Sebastien Zwickert
75be547f77
vda: uses pthreads directly.
13 years ago
Sebastien Zwickert
5ada64a549
vda: convert 3 byte NAL sizes to 4 byte.
13 years ago
Carl Eugen Hoyos
fac2a6fa0c
Support 16bit gray pam encoding.
13 years ago
Carl Eugen Hoyos
2f21c50784
Support decoding 32bit sunrast images.
...
Fixes ticket #895 .
13 years ago
Clément Bœsch
ca324f9869
fate: add generic rules for most of the remaining tests/fate/*.mak files.
13 years ago
Reimar Döffinger
aeeb0e6deb
indeo4, swresample: add some missing static/const to tables.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago