Michael Niedermayer
6287a356e3
h264: Fix memleaks on close, reset more fields
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
ba3bb53bdc
Fix 8BPS RGB32 output, the alpha channel was ignored.
Reviewed-by: Roberto Togni
14 years ago
Konstantin Todorov
4d9ec050a2
Code cleanup - mpegvideo.c - 500-1000line
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Janne Grunau
6c88988866
rv40: NEON optimised weighted prediction
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Janne Grunau
f5c05b9aa5
rv40: NEON optimised chroma MC
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 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>
14 years ago
Janne Grunau
42d32cf53c
rv34: NEON optimised inverse transform functions
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
51177b1fe9
lavc: Mark fields that require av_opt_ptr()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
31f93fc5f8
lavc: Fix sizeof(AVFrame) useability docs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
b9d2b45165
lavc: Document AVFrame av_opt_ptr() relation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
e873c03ac7
misc Doxygen markup improvements
14 years ago
Diego Biurrun
c68fafe0d2
doxygen: eliminate Qt-style doxygen syntax
14 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>
14 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>
14 years ago
Michael Niedermayer
fef411ef3b
lavc: Add a AVClass for AVFrames.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
0bafe04917
api-example: update to use avcodec_decode_audio4()
14 years ago
Chris Berov
dc6d043050
adpcmenc: cosmetics: pretty-printing
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Chris Berov
541d083a40
ac3dec: cosmetics: pretty-printing
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 years ago
Paul B. Mahol
eda8731285
shorten: remove dead initialization
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
14 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>
14 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>
14 years ago
Michael Niedermayer
fb266f5973
h264: show when has_b_frames is being increased.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Nathan Adil Maxson
8f8c785ffc
zmbv.c: coding style clean-up.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nathan Adil Maxson
6eedeefe0b
xan.c: coding style clean-up.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Konstantin Todorov
363114e813
mpegvideo.c: code cleanup - first 500 lines.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Reimar Döffinger
85372f9d57
Add forgotten %ifdef HAVE_AVX.
Fixes compilation with older YASM/NASM versions.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 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.
14 years ago
ami_stuff
28a11a67d2
BMP: Support BMP OS/2 v2 with RLE compression.
Fixes ticket #699 .
Patch also provided by Peter Ross.
14 years ago
Carl Eugen Hoyos
88bbabcc00
Support decoding right-to-left targa files.
Fixes ticket #698 .
14 years ago
Nicolas George
90bfd511c4
celtdec: adapt to avcodec_decode_audio4.
Original fix by Michael Niedermayer.
Slightly modified to avoid the now redundant multiplications
and divisions in the main code path.
14 years ago
Michael Niedermayer
8bd2b27f6b
zmbv: fix 2 memleaks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
3eb6e14618
zmbv: Fix keyframe fault protextion.
Fixes zzuf -s467 -r0.001 cat samples/zmbv/wc2_001-partial.avi
Bug-found-by: darkshikari
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7a5eb40ea1
audeo_get_buffer: fix pkt_pos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
52b7ed4f6e
iff: support ExtraHalfBrite (EHB) palette mode
Fixes ticket #663 .
Based on patch by ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
56f6628bca
pictordec: decode 8bpp images when extra header marker is missing
Fixes ticket #696 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
2d6a45c12a
Silence warnings when decoding QNAP Systems H264 codec.
Fixes ticket #571 .
14 years ago
Michael Niedermayer
eac5987c4f
g723_1dec: update to new API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7db5ff7996
g729dec: update to the new API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Janne Grunau
d268b79e34
aac_latm: reconfigure decoder on audio specific config changes
14 years ago
Janne Grunau
fd095539d1
latmdec: fix audio specific config parsing
Pass the correct size in bits to mpeg4audio_get_config and add a flag
to disable parsing of the sync extension when the size is not known.
Latm with AudioMuxVersion 0 does not specify the size of the audio
specific config. Data after the audio specific config can be
misinterpreted as sync extension resulting in random and wrong configs.
14 years ago
Justin Ruggles
0eea212943
Add avcodec_decode_audio4().
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
14 years ago
Justin Ruggles
560f773c7d
avcodec: change number of plane pointers from 4 to 8 at next major bump.
Add AV_NUM_DATA_POINTERS to simplify the bump transition.
This will allow for supporting more planar audio channels without having to
allocate separate pointer arrays.
14 years ago
Mans Rullgard
51a16077da
svq1dec: avoid undefined get_bits(0) call
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
59807fee6d
ARM: h264dsp_neon cosmetics
- Replace 'ip' with 'r12'.
- Use correct size designators for vld1/vst1.
- Whitespace fixes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Janne Grunau
a760f530bb
ARM: make some NEON macros reusable
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Aaron Colwell
e02dec25ab
vp8: flush buffers on size changes.
14 years ago
Peter Ross
1fd6924320
pictordec: support uncompressed images
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mashiat Sarker Shakkhar
460bec6800
Fix lms_update()
14 years ago
Nathan Adil Maxson
d0fd6fc201
Cleaned up alacenc.c
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago