Kostya Shishkov
d073f122ea
imc: some cosmetics
13 years ago
Michael Niedermayer
5e50a5724b
Revert "removing lowres support"
...
There have been multiple user complaints about loosing this feature
while its not clear the 3% speedloss claims where real or fabricated.
My own testing indicates no statistically significant speed difference
both with mpeg2 and mpeg4, and if at all the code with lowres support
is a tiny bit faster than without.
This reverts commit 92ef4be4ab
, reversing
changes made to 2e07f42957
.
Conflicts:
cmdutils.c
libavcodec/arm/vp8dsp_init_arm.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavutil/arm/Makefile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
001d9d5e93
Fix compilation with --disable-everything.
13 years ago
Stefano Sabatini
f2ee065638
lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h
...
Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from
libavcodec/avcodec.h to libavutil/pixfmt.h.
The definition is more useful in libavutil, where it can be shared for
example by libavfilter and libswscale.
13 years ago
Michael Niedermayer
90290a5150
tqi: Pass errors from the MB decoder
...
This silences some valgrind warnings.
CC: libav-stable@libav.org
Fixes second half of http://ffmpeg.org/trac/ffmpeg/ticket/794
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f85334f58e
)
13 years ago
Michael Niedermayer
3cb83b225e
xsubdec: print frame size when too small
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
5e268633d1
Do not leak extradata when encoding avui.
13 years ago
Carl Eugen Hoyos
fb6c6b15d7
avuienc: Use field_order to determine if a stream is interlaced.
13 years ago
Carl Eugen Hoyos
7a0d00dc79
Fix compilation with --disable-everything --enable-demuxer=ogg (--disable-yasm).
13 years ago
Carl Eugen Hoyos
9ddc47227d
Fix compilation with --disable-everything --enable-demuxer=flac (--disable-yasm).
13 years ago
Michael Niedermayer
e15f1286e6
ffv1: fix decoder state_transition table
...
This fixes a regression with ffv1.1 coder=1 decoding
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
60c950ac08
dwt: use av_freep()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
713548cbad
x86: lavc: use %if HAVE_AVX guards around AVX functions in yasm code.
...
This is needed for older versions of yasm/nasm that do not support AVX.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
d9b92980c9
libvorbis: only store version string if bitexact is not set.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
50858a64bf
Add Avid Meridien Uncompressed (AVUI) encoder.
13 years ago
Michael Niedermayer
035f6620ce
mpeg4videoparser: support using timestamps from codec.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
696452e4c5
avcodec: add parser flag to indicate that codec TS are the only available and should be used
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
cc7fac9970
dwt: return errors from ff_slice_buffer_init()
13 years ago
Paul B Mahol
672f8226bb
shorten: fix lossy decoding
...
Closes #1299 , #1300 and #1301 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Jordi Ortiz
c89e428ed8
dwt: check malloc calls
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
3ea5429489
ppc: Drop unused header regs.h
13 years ago
Kieran Kunhya
5ff01259a8
Convert vector_fmul range of functions to YASM and add AVX versions
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Michael Niedermayer
faa2930f19
flvdec: reenable extradata passing code
...
This fixes passing junk in stream.
It should not have any user vissible effect.
We are discarding the new data in the decoder as no case is known
where it is needed but it causes problems if used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a6f650af8d
aac: fix SCE in stereo case, this is surprisingly actually needed
...
Fixes Ticket513
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a3710f1ebb
aacdec: print debug note when unexpected SCE/CPE is encountered
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3230590c5d
libavcodec: fix side data split with 0 sized packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a1bb0823a9
libavcodec: correct consumed bytes for decoders
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
307562be98
mpeg4videodec: print more debug info for debug_pict_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8258697c49
ivi_common: skip null frames for all indeo variants
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
13a867a63e
dwt: K&R prettyprinting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Jean First
f7985f348f
exr: fix header parsing
...
the header in the sample provided for ticket #1306 is not parsed correctly and thus
ffmpeg tries to decode the sample instead of abording the decoding.
I tested it with two other exr samples I have - one float, one half float - and
they still decode correctly.
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
cb7b0f3573
flicvideo: support 256-bytes extradata
...
sample:
http://www.datafilehost.com/download-ab1156a9.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
718b90d4b9
aasc: support 16bpp
...
sample:
http://www.datafilehost.com/download-b881f3f6.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
4f04f5cc8b
indeo: Make ivi_calc_band_checksum() static, it is only used in one file.
13 years ago
Diego Biurrun
9ccbdc0aca
indeo: Drop unused debug function ivi_check_band().
13 years ago
Diego Biurrun
0c517644b2
avcodec/utils: cast a function argument to shut up a compiler warning
...
libavcodec/utils.c:251: note: expected ‘const uint8_t *’ but argument is of type ‘const short int *’
13 years ago
Diego Biurrun
4466d0e84b
truemotion1: remove disabled code
13 years ago
Kostya Shishkov
f05b69a79f
fix typo in comment
13 years ago
Kostya Shishkov
cf61aaaca1
indeo: check for invalid motion vectors
13 years ago
Kostya Shishkov
9603738221
indeo: check that band output buffer exists
13 years ago
Kostya Shishkov
23ba1503f2
indeo: clear allocated band buffers
13 years ago
Kostya Shishkov
a6e4ac40a6
indeo: track tile macroblock size
13 years ago
Kostya Shishkov
fe7a37c36f
indeo: check custom Huffman tables for errors
13 years ago
Kostya Shishkov
aa372cf470
factor out common decoding code for Indeo 4 and Indeo 5
13 years ago
Kostya Shishkov
b37d945dd4
mp3: fix start band index for block type 2 in 8kHz audio
...
In hybrid frames long window part ends at 36 samples for most of the cases
but at 72 for 8kHz case. For some reason decoder assumed it's 48 or even 36
samples, which caused wrong bitstream decoding for such blocks.
l3_25207.mpg from conformance suite demonstrates it the best.
13 years ago
Michael Niedermayer
c5371f775c
mpegaudidec: 10l forgot buf_size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
43bc5cf9f4
mpegaudiodec: skip initial zeros.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
612abe2773
Use a variable instead of a repeated calculation when decoding AVUI.
13 years ago
Carl Eugen Hoyos
f1892348c2
avuidec.c: Fix indentation.
13 years ago
Carl Eugen Hoyos
d9b2410f75
Simplify AVUI decoding, one skip value is enough.
13 years ago