Kostya Shishkov
1f061da529
mss3: add forgotten 'static' qualifier for private table
13 years ago
Paul B Mahol
6936111d66
bmv: add CODEC_CAP_DR1
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
894319e010
lpc: use default number of passes when lpc_passes is invalid
...
Should fix valgrind failure (uninitialized vars)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
8f239412d8
tiffdec: PIX_FMT_GRAY16LE support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Nicolas George
8293a21a9c
lavc: fix shared build after dnxhd merge.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9862cbd7a4
add side data to indicate the amount of samples to skip at the begin and end
...
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Reveiwed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
c2cbe58cd4
paf: add forgotten CODEC_CAP_DR1
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Mans Rullgard
0a19000da8
lavc: options: add planar names for request_sample_fmt
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
784514a4a8
flacdec: add planar output support
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
acb52d3228
h264: print error on unsupported seperate color planes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
bb58c43c69
qdm2: remove broken and disabled dump_context() debug function
13 years ago
Diego Biurrun
878e669029
x86: h264_intrapred: use newly introduced SPLAT* and PSHUFLW macros
13 years ago
Loren Merritt
4d4752366f
x86inc: add SPLATB_LOAD, SPLATB_REG, PSHUFLW macros
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
d20f133ef9
x86: h264_intrapred: port to cpuflag macros
13 years ago
Mans Rullgard
28fff0d974
h264: use templates to avoid excessive inlining
...
Instead of inlining everything into ff_h264_hl_decode_mb(), use
explicit templating to create versions of the called functions
with constant parameters filled in. This greatly speeds up
compilation of h264.c and reduces the code size without any
measurable impact on performance.
Compilation time for h264.c on an i7 goes from 30s to 5.5s.
Code size is reduced by 430kB.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nedeljko Babic
6d74e3c6f2
Optimization of MP3 decoders for MIPS
...
MP3 fixed and floating point decoders are optimized
for MIPS architecture.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Reviewed-by: Vitor Sessak <vitor1001@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
18f2d5cb9c
mpegvideo: Don't use ff_mspel_motion() for vc1
...
Using ff_mspel_motion assumes that s (a MpegEncContext
poiinter) really is a Wmv2Context.
This fixes crashes in error resilience on vc1/wmv3 videos.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
07eeeb1d4f
vp8: Add ifdef guards around the sse2 loopfilter in the sse2slow branch too
...
This was missed in the the previous commit in 70a1c800
.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
7de4a16508
PAF demuxer and decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Carl Eugen Hoyos
73bb4e9ca6
nut: add 12/14 bit yuv to nut/raw
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
1f9bc3104a
sanm: remove code duplication
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
3b9dd906d1
sanm: replace conditions in for loops with more common version
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Nicolas George
8b421fad24
dpx: sanitize aspect ratio.
...
Fixes some samples where the ratio is declared as -1/-1.
13 years ago
Martin Storsjö
70a1c8000f
vp8: loopfilter >=sse2 functions need aligned stack on x86-32.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
c51838478c
amr: remove shift out of the AMR_BIT() macro.
...
MSVC doesn't like the offsetof(..) >> 1 construct, it interprets it as
a non-literal, thus causing use of this in static tables to fail
compilation.
13 years ago
Ronald S. Bultje
723b266d72
dsputilenc: group yasm and inline asm function pointer assignment.
13 years ago
Michael Bradshaw
d3b84fdccc
libopenjpegdec: add support for decoding YUV420/422/444P12/14
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
13 years ago
Michael Bradshaw
713a7854e0
libopenjpegenc: cosmetics: reorder pix_fmts
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
13 years ago
Michael Bradshaw
7544ef7805
libopenjpegenc: add support for YUV420/422/444P12/14
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Ronald S. Bultje
89b81a1c88
mpegvideo: remove VLAs
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
25accf93ad
flacdec: move lpc filter to flacdsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
4a8528349f
flacdec: split off channel decorrelation as flacdsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
87466f8124
flacdec: factor out code setting avctx->sample_fmt
13 years ago
Mans Rullgard
d155b60fc8
flac: make FLAC_CHMODE_* constants consecutive
13 years ago
Mans Rullgard
93e7ef9a24
flacdec: allocate sample buffers with av_malloc
...
The buffers are only allocated once, although it can happen from
any of a few different places, so there is no need to use realloc.
Using av_malloc() ensures they are aligned suitably for SIMD
optimisations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0da301e105
flacdec: remove curr_bps from FLACContext
...
This value does not need to be persistent across calls.
13 years ago
Mans Rullgard
360aa2465a
flacenc: add option for forcing stereo decorrelation mode
...
This is mainly useful for testing.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
5eb4af6c59
snow: move init code that depends on picture paramaters to after these parameters are known.
...
This should fix debug 2048 amongth other things
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
93d672967d
video_get_buffer: return ENOMEM instead of -1 on malloc failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f339ebc1ff
lavc/utils: print error message on get_buffer related errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ea973fc4c
avcodec_align_dimensions2: support 12 & 14 bit planar colorspaces
...
Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4251a0b84c
imgconvert: add planar RGB formats to pix_fmt_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ca8ef5189
imgconvert: add yuv 9,10,12,14 bit planar YUV formats to pix_fmt_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
4051be6f50
anm: fix a few Doxygen comments
13 years ago
Diego Biurrun
09f211987c
misc typo and wording fixes
13 years ago
Ronald S. Bultje
3389545157
snow: remove a VLA used for edge emulation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
5d171b1f47
jvdec: check if there is enough data
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
f8a81755c2
jvdec: remove redundant check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1bc9e4c5b2
jvdec: remove buf_size
...
It is same as avpkt->size.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago