Luca Barbato
78212cefe1
drawtext: remove typo
...
It slipped through the last two iterations.
13 years ago
Hendrik Leppkes
bc057f7592
pcm-mpeg: implement new audio decoding api
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Ronald S. Bultje
8b03d7fe95
w32thread: port fixes to pthread_cond_broadcast() from x264.
13 years ago
Diego Biurrun
d8538f06e6
doc: add editor configuration section with Vim and Emacs settings
...
based on a patch by Victor Vasiliev, vasilvv gmail com
13 years ago
Rafaël Carré
7efea2a051
dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Diego Biurrun
c7e8187d9d
avformat/utils: Drop unused goto label.
...
libavformat/utils.c:2165:2: warning: label ‘fail’ defined but not used
13 years ago
Diego Biurrun
ff159e7816
doxygen: Replace '\' by '@' in Doxygen markup tags.
13 years ago
Diego Biurrun
ee41963f19
cosmetics: drop some completely pointless parentheses
13 years ago
Paul B. Mahol
fc9489f6ad
cljr: simplify CLJRContext
...
There is no need to have delta, offset and gb in CLJRContext.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Luca Barbato
f5edfc9e92
drawtext: introduce rand(min, max)
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
73585620b8
drawtext: introduce explicit draw/hide variable
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Martin Storsjö
1eef08f98c
rtmp: Use nb_invokes for all invoke commands
...
704af3e29c
broke publishing
of rtmp streams, at least publishing to Wowza servers.
This changes all invoke commands to use nb_invokes.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Konstantin Todorov
4d9ec050a2
Code cleanup - mpegvideo.c - 500-1000line
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Janne Grunau
6c88988866
rv40: NEON optimised weighted prediction
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Janne Grunau
f5c05b9aa5
rv40: NEON optimised chroma MC
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
f054a82727
ARM: move NEON H264 chroma mc to a separate file
...
This allows sharing code with the rv40 version of these functions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Janne Grunau
42d32cf53c
rv34: NEON optimised inverse transform functions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Alex Converse
52401b82bd
mov: Don't av_malloc(0).
...
malloc() is allowed to return NULL when zero is the argument. This
causes us to think malloc has failed and return AVERROR(ENOMEM). In
addition OS X malloc() returns an unfreeable non-NULL pointer for size
zero when alignment is greater than 16.
13 years ago
Justin Ruggles
9179f27c64
avconv: only allocate 1 AVFrame per input stream
...
This avoids allocating/freeing an AVFrame for each packet decode. It also
simplifies error handling in transcode_audio() and transcode_video().
13 years ago
Justin Ruggles
110d2af28e
avconv: fix memleaks due to not freeing the AVFrame for audio
13 years ago
Ronald S. Bultje
b41995d20e
h264-fate: remove -strict 1 except where necessary (mr4/5-tandberg).
13 years ago
Diego Biurrun
e873c03ac7
misc Doxygen markup improvements
13 years ago
Diego Biurrun
c68fafe0d2
doxygen: eliminate Qt-style doxygen syntax
13 years ago
Martin Storsjö
714cd7e758
g722: Add a regression test for muxing/demuxing in wav
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Sjoerd Simons
f32fd31858
g722: Change bits per sample to 4
...
Earlier, bits per sample was defined as 8, since
bits_per_coded_sample was used to indicate whether to ignore
the lower bits of the codeword, having values 6, 7 or 8.
g722 encodes 2 samples into one byte codeword, therefore the
bits per sample is 4. By changing this, the generated timestamps
for streams encoded with g722 become correct.
This makes timestamp generation for g722 data correct (both when
encoding and when demuxing from raw g722 files).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
6fcbb0f553
g722dec: Signal skipping the lower bits via AVOptions instead of bits_per_coded_sample
...
This avoids using bits_per_coded_sample for this information.
bits_per_coded_sample should be 4 for this codec normally,
since two samples are encoded into one 8 bit codeword.
In principle, this might be info that needs to be passed from
a demuxer, and in that case, a private AVOption isn't the best
choice, but no such samples are available at the moment, so
that use case is purely theoretical at the moment.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
0bafe04917
api-example: update to use avcodec_decode_audio4()
13 years ago
Justin Ruggles
f199f38573
avplay: use avcodec_decode_audio4()
13 years ago
Justin Ruggles
e2a2c49fcd
avplay: use a separate buffer for playing silence
13 years ago
Justin Ruggles
f08e54e83d
avformat: use avcodec_decode_audio4() in avformat_find_stream_info()
13 years ago
Justin Ruggles
d1241ff3b2
avconv: use avcodec_decode_audio4() instead of avcodec_decode_audio3()
13 years ago
Alex Converse
6d23d19729
mov: Allow empty stts atom.
...
Fixes regressions caused by 30c3d976
13 years ago
Diego Biurrun
def5dc1260
doc: document preferred Doxygen syntax and make patcheck detect it
13 years ago
Chris Berov
dc6d043050
adpcmenc: cosmetics: pretty-printing
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Chris Berov
541d083a40
ac3dec: cosmetics: pretty-printing
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Chris Berov
a4e21baa74
yuv4mpeg: cosmetics: pretty-printing
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Paul B. Mahol
eda8731285
shorten: remove dead initialization
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Reimar Döffinger
7679bd6e60
roqvideodec: set AVFrame reference before reget_buffer.
...
Otherwise it might return a write-only frame which would break
decoding completely.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Carl Eugen Hoyos
1e92d58e44
bmp: fix some 1bit samples.
...
<= 8bpp BMP images always have palette.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Janne Grunau
8dd92eca74
latmdec: add fate test for audio config change
13 years ago
David Goldwich
c8b27a0ec4
oma: PCM support
...
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
David Goldwich
8ae5eb75df
oma: better format detection with small probe buffer
...
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
David Goldwich
e96070074d
oma: clearify ambiguous if condition
...
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Derek Buitenhuis
a548b6cbfc
wavpack: Properly clip samples during lossy decode
...
When decoding lossy WavPack samples, they are supposed
to be clipped, in order to be decoded correctly.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Yordan Makariev
425b45d4b0
Code clean-up for crc.c, lfg.c, log.c, random_see.d, rational.c and tree.c.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Tsvetelina Borisova
4a59eca97a
Cleaned pixdesc.c file in libavutil
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Nathan Adil Maxson
8f8c785ffc
zmbv.c: coding style clean-up.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Nathan Adil Maxson
6eedeefe0b
xan.c: coding style clean-up.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Konstantin Todorov
363114e813
mpegvideo.c: code cleanup - first 500 lines.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
adedd840e2
h264: fix frame reordering code.
...
Fixes fate-h264-conformance-{mr2_tandberg_e,mr3_tandberg_b} without
requiring -strict 1.
13 years ago