Michael Niedermayer
1ebf6f941e
g723_1: change to encode2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b4b5848513
shorten: increase max_frame_size.
...
Fixes Ticket1250
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
40f81769ae
options_table: Add some missing #includes to fix "make checkheaders".
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
e7117f1c10
aasc: use the correct reader offset
...
Fixes Ticket1232
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
541bfba85d
Write palettised targa.
...
Fixes ticket #1190 .
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
299d58e18a
Support yuva422p rawvideo in nut.
13 years ago
Carl Eugen Hoyos
4e4634aa16
Support yuva422p in ffv1.
13 years ago
Carl Eugen Hoyos
8ba543eb3b
Add Avid Meridien (AVUI) decoder.
13 years ago
Carl Eugen Hoyos
143a5c55ff
Add yuva422p pix_fmt.
13 years ago
Kostya Shishkov
464e9ab011
lagarith: add YUY2 decoding support
...
Unlike other variants, for YUY2 we need to use different prediction:
* on line 0 for luma we should left predict starting from the second pixel
* on line 1 we should left predict first 4 pixels for luma and 2 for chroma
* median prediction employed here is taken directly from HuffYUV
13 years ago
Carl Eugen Hoyos
58637a0b24
Support decoding unaligned rgb24 lagarith.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
3183c38aaa
mp3decoder: discard ID3 tags
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
011004152f
lavc/utils: change a few asserts to av_assert0()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
36583d23bd
audio_frame_que: simplify
...
Also update libav->ffmpeg as theres pretty much no code left from libav.
The new code is faster, requires fewer mallocs and less memory. Its
also half the number of lines of code.
This code is not 100% identical in behavior to the previous, but the
differences appear to be rather limitations of the previous design
than intended though i could be wrong of course.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
520c1ec699
dv: Split profile handling code into a separate file.
13 years ago
Michael Niedermayer
cb982739fa
mpegvideo: double thread limit
...
16 seems a bit tight for current high end and expected near term future boxes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
64953f67f9
qdm2: clip array indices returned by qdm2_get_vlc().
...
Prevents subsequent overreads when these numbers are used as indices
in arrays.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Ole Dittmann
fff9680d8c
aacdec: Add forgotten flush
...
See Ticket420
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nick Brereton
8036a69e6b
Decode XBR extension in first asset
...
Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
f132248028
avcodec: do not needlessly set packet size to 0 in avcodec_encode_audio2()
...
It is already set to 0 by av_free_packet()
13 years ago
Justin Ruggles
74e10b6204
avcodec: for audio encoding, reset output packet when it is not valid
13 years ago
Justin Ruggles
fa0319b4fd
avcodec: refactor avcodec_encode_audio2() to merge common branches
13 years ago
Justin Ruggles
b461cd4deb
avcodec: remove fallbacks for AVCodec.encode() in avcodec_encode_audio2()
...
We no longer have any audio encoders using AVCodec.encode().
13 years ago
Diego Biurrun
fdc918632f
libschroedinger: Switch to function names more in line with Libav style.
13 years ago
Diego Biurrun
9cef0669c4
Move code shared between libdirac and libschroedinger to libschroedinger.
...
This also involves making some function static and changing the name
prefixes of some functions and structures.
13 years ago
Diego Biurrun
10d2ea2604
h264: Remove a commented-out function pointer typedef.
13 years ago
Diego Biurrun
ea14050642
txd: Remove write-only variable in txd_decode_frame().
...
libavcodec/txd.c:49:60: warning: variable ‘mipmap_count’ set but not used
13 years ago
Diego Biurrun
246b050f51
mmvideo.c: Remove unused variable in mm_decode_pal().
...
libavcodec/mmvideo.c:87:9: warning: variable ‘i’ set but not used
13 years ago
Diego Biurrun
dbe6ba55a3
build: cosmetics: Add missing end-of-line backslashes to item lists.
13 years ago
Diego Biurrun
9eb83a56aa
build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.
13 years ago
Diego Biurrun
1f4f752117
libschroedinger: Move a function to avoid a forward declaration.
13 years ago
Sean McGovern
b68c4ac293
pthread: warn on high thread counts
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Anton Khirnov
828bd088f3
lavc: add sample rate and channel layout to AVFrame.
...
Rationale is the same as for video width/height etc.
13 years ago
Paul B Mahol
37f4a976b3
zerocodec: check if the previous frame is missing
...
ZeroCodec relies on the keyframe flag being set in the container, and
prev is the previously decoded frame. A keyframe flags incorrectly set
will lead to this condition.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Kostya Shishkov
fb5c1aaea6
dfa: use more meaningful return codes
13 years ago
Michael Niedermayer
71a3c59ed7
eatgv: check vector_bits
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Kostya Shishkov
a390aa0ea4
eatgv: check motion vectors
13 years ago
Diego Biurrun
30b1961c66
Mark a number of variables only used in av_dlog() calls as av_unused.
...
This fixes a number of unused-but-set gcc warnings.
13 years ago
Diego Biurrun
b2e92e946c
dvdec: drop const qualifier from variable to eliminate a warning
...
libavcodec/dvdec.c:344:12: warning: assignment discards ‘const’ qualifier from pointer target type
13 years ago
Robert Nagy
ad0278661b
avcodec: Improve comment for thread_safe_callbacks to avoid misinterpretation.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Philip Langdale
d1ac8e1034
CrystalHD: Improve detection of field pair -> two fields content.
...
Istvan Sebok provided a sample where field pair -> two fields content
was being misdetected by the existing logic. I added an additional
test to check the input picture type as identified by our h.264
parser.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
1fdb5649d9
lagarith: make offset array type unsigned
...
This is logical and also fixes checking for the fourth plane offset.
13 years ago
Kostya Shishkov
8099187e89
dfa: add some checks to ensure that decoder won't write past frame end
13 years ago
Mans Rullgard
96f7590efd
aacps: NEON optimisations
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
47d18d5354
aacps: align some arrays
...
This is required for SIMD optimisations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
bf1945af30
aacps: move some loops to function pointers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Carl Eugen Hoyos
23fba3ed5c
Remove unused variable from ffv1 decoder.
13 years ago
Carl Eugen Hoyos
396d2aecc5
alsdec.c: Also test 0 when checking rice decoder values.
...
Suggested-by: Thilo Borgmann
13 years ago
Carl Eugen Hoyos
849172882c
alsdec.c: Simplify error check before calling rice decoder.
...
Reviewed-by: Thilo Borgmann
13 years ago
Jakub Stachowski
ddffe3de43
WMAL: Shift output samples by the specified number of padding zeroes.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago