Martin Storsjö
a78dbada55
movenc: Don't store a nonzero creation time if nothing was set by the caller
...
If the creation time is stored in the file as a zero, the
mov demuxer skips exporting the creation time. Currently,
files muxed without a creation time get demuxed with a
Jan 1st 1970 creation timestamp.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 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>
13 years ago
Paul B Mahol
0b8b3387a9
rgb2rgb: allow conversion for <15 bpp
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Luca Barbato
0c50edb789
doc: fix stray reference to FFmpeg
13 years ago
Luca Barbato
b6db385922
v4l2: use C99 struct initializer
...
Remove some unneeded memsets.
13 years ago
Luca Barbato
0efd48dfd1
v4l2: poll the file descriptor
...
Instead of busy waiting use poll();
13 years ago
Luca Barbato
b8c310cb0a
v4l2: support compressed formats
...
Let pass the codec name to -pixel_format and introduce -input_format.
13 years ago
Laurentiu Ion
da2e774fd6
kmvc: Use bytestream2 functions to prevent buffer overreads.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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
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
Paul B Mahol
5cad970971
swscale: RGB4444 and BGR444 input
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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
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
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
Chris Evans
afb2aa5379
vorbis: An additional defense in the Vorbis codec.
...
Fixes Bug: #190
Chromium Bug: #100543
Related to CVE-2011-3893
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
13 years ago
Reinhard Tartler
e6d527ff72
vorbisdec: Fix decoding bug with channel handling
...
Fixes Bug: #191
Chromium Bug: #101458
CVE-2011-3895
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
13 years ago
Diego Biurrun
badb195d13
cabac: Move code only used within the CABAC test program into the test program.
13 years ago
Diego Biurrun
1be4b8ccba
vp56: Drop unnecessary cabac.h #include.
13 years ago
Diego Biurrun
a7e3cb9d32
h264-test: Initialize AVCodecContext.av_class.
...
This fixes a segfault on startup.
Also remove a commented-out and completely unused variable.
13 years ago
Diego Biurrun
52877251cf
build: Skip compiling network.h and rtsp.h if networking is not enabled.
...
rtsp.h relies on network.h and the latter conditionally defines fallback OS
structures that rely on configure tests, which are only run if networking
is enabled.
13 years ago
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
13 years ago
Andrey Utkin
079688b6cb
Disable annoying warning without changing behavior
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Diego Biurrun
8b1a26864c
faq: Solutions for common problems with sample paths when running FATE.
13 years ago
Justin Ruggles
3f6aa85ed4
avcodec: attempt to clarify the CODEC_CAP_DELAY documentation
13 years ago
Justin Ruggles
07837e4158
avcodec: fix avcodec_encode_audio() documentation.
...
the previous documentation indicated how many bytes are read from the input,
not how many samples are read.
13 years ago
Mike Melanson
15f073ee6d
FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside.
...
Code coverage:
libavformat/xmv.c: 3% -> 91%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Paul B Mahol
49a2aebc00
vqf: recognize more metadata chunks
...
Do not create tags for non-char chunks.
Create readable tag for DSIZ chunk.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mike Melanson
2907f88aee
FATE test: BMV demuxer and associated video and audio decoders.
...
Code coverage:
libavcodec/bmv.c: 0% -> 75%
libavformat/bmv.c: 0% -> 85%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mike Melanson
9689a1af6d
FATE: indeo4 video decoder test.
...
Code coverage:
libavcodec/indeo4.c: 0% -> 78%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mike Melanson
f93843e9a0
FATE: update xxan-wc4 test to a sample with more code coverage.
...
The previous sample used for this test only contained type 0 frames.
Replace it with a sample that also features type 1 frames.
Code coverage:
libavcodec/xxan.c: 72% -> 89%
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mike Melanson
c262404d98
Change the recent h264_mp4toannexb bitstream filter test to output to an elementary stream rather than a program stream.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Justin Ruggles
cf1a259ad6
g722enc: validate AVCodecContext.trellis
13 years ago
Justin Ruggles
77c5b66cbe
g722enc: set frame_size, and also handle an odd number of input samples
...
The fate reference is updated because the previous test skipped a sample in
each encode() call due each input frame having an odd number of samples.
13 years ago
Justin Ruggles
34093ba081
g722enc: split encoding into separate functions for trellis vs. no trellis
13 years ago