Michael Niedermayer
eae983f4ff
ffmpeg: fix fate breakage introduced by key=value buffersrc args.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
1d69dcb887
swscale: unscaled rgb48 <-> bgr48
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
e400b95b32
bink: check av_mallocz() return value
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
c2dd01c16f
binkaudio: prevent extradata overread
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Nicolas George
6fef82f22d
ffmpeg: with filter_complex, avoid random in<->out mapping.
...
With complex filters, an output can come from any input,
or several inputs, including inputs of a different type.
Copying the codec parameters from the first input with
the same type does not make any sense.
This does not change anything for simple 1->1 filters,
as source_index is set in that case.
13 years ago
Nicolas George
fbaa8fe6c6
ffmpeg: init icodec.
...
With complex filter graphs, it can end up accessed
without having been set.
13 years ago
Nicolas George
8362d734a3
ffmpeg: use the frame rate computed by lavfi.
...
This frame rate is more reliable than the one copied
from the input stream, so it is used in priority.
13 years ago
Nicolas George
5f281e94ba
ffmpeg: add frame rate to the buffersrc arguments.
...
The arguments now use the key=value syntax.
13 years ago
Nicolas George
0f62125643
buffersrc: deprecate flat options syntax.
13 years ago
Nicolas George
9ca440679d
buffersrc: accept the frame rate as argument.
13 years ago
Nicolas George
dcaa4efcee
buffersrc: accept key=value arguments.
...
The current flat arguments syntax is not easily extensible
due to sws_param possibly containing commas.
This is also consistent with abuffersrc.
13 years ago
Nicolas George
283cc05938
buffersink: add av_buffersink_get_frame_rate().
13 years ago
Nicolas George
7b42036b3b
lavfi: add a frame_rate field to AVFilterLink.
13 years ago
Kostya Shishkov
cac4760bf4
iac: generate codec tables as they are supposed to be
...
Unlike its predecessor, Indeo Audio codec generates tables depending on
sampling rate. Previously decoder used pre-generated tables for 22050 Hz
which obviously doesn't work with other frequencies.
Many thanks to Maxim Poliakovsky for providing all needed information
for this.
13 years ago
Kostya Shishkov
e1a3fa5d3a
indeo4: handle frame type 1 properly
...
It turns out that this frame type is actually intra and should be used as
a reference for interframes too.
13 years ago
Michael Niedermayer
04e2ac4749
libavutil.v: add avpriv prefix
...
This should fix the fate failure
http://fate.ffmpeg.org/log.cgi?time=20120609002213&log=compile&slot=x86_64-archlinux-gcc-enableshared
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a5c6349358
swr: skip memset(0) in rematrix when the array is known to be already 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
75d900d52e
swr: zero buffers on allocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
J. Bohl
023c073076
add bracket around the argument (fixes compilation error with ICL)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
690ea9359d
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: reset AVFrame to defaults before decoding each new frame.
ffplay: check return code of avcodec_decode_video2()
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7e22514d98
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
float_dsp: ppc: add a separate header for Altivec function prototypes
ARM: fix float_dsp breakage from d5a7229
Add a float DSP framework to libavutil
PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil
ARM: Move asm.S from libavcodec to libavutil
vc1dsp: mark put/avg_vc1_mspel_mc() always_inline
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e016e3c9d7
swr: add mix8to2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b0348158a0
swr: 5.1->stereo double, float and s16
...
2.5 times faster than the generic code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ca30ae12c5
swr: add all in one rematrixing function ptr
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dfde3d497e
swr: add inrermediate sample type for rematrixing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
03e098e7a0
lavu: change versioning script to include all av* prefixed symbols
...
Needed to properly export avpriv_* symbols.
13 years ago
Michael Niedermayer
cb819338d1
ffplay: reset AVFrame to defaults before decoding each new frame.
...
This fixes: ffplay -f lavfi -i cellauto
This was a regression since factorizing the filter code with ffmpeg.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Michael Niedermayer
349b65eee2
ffplay: check return code of avcodec_decode_video2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Justin Ruggles
3b81a18ba3
float_dsp: ppc: add a separate header for Altivec function prototypes
...
Also include config.h so that HAVE_ALTIVEC will be defined.
Fixes compilation on PPC with Altivec enabled.
13 years ago
Mans Rullgard
a839d6abf8
ARM: fix float_dsp breakage from d5a7229
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
d5a7229ba4
Add a float DSP framework to libavutil
...
Move vector_fmul() from DSPContext to AVFloatDSPContext.
13 years ago
Justin Ruggles
98db4e2a4e
PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil
...
This will allow for easier implementation of Altivec functions in libraries
other than libavcodec.
13 years ago
Justin Ruggles
94d2b0d2fd
ARM: Move asm.S from libavcodec to libavutil
...
This will allow for easier implementation of ARM-optimized functions in
libraries other than libavcodec.
13 years ago
Michael Niedermayer
718607be28
rv10: change assert() to av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mike Scheutzow
1be7bfdd2b
ffmpeg.c: fix erroneous "Output file is empty" message.
...
This message is printed whenever the RAWVIDEO codec is used, whether the
output file contains any frames or not. Test command:
./ffmpeg -i infile.y4m outfile.y4m
Signed-off-by: Mike Scheutzow <mjs973@optonline.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
134d0f7119
Revert "Fix building libopencore_amrnb decoder without libopencore_amrnb encoder"
...
Reverting "Fix" because it disables amrwb decoder.
This reverts commit e11020a145
.
13 years ago
Carl Eugen Hoyos
b35d38bd04
Add iac build dependency.
...
Found and analysed by trac user Jamal.
Fixes the remaining part of ticket #1428 .
13 years ago
Carl Eugen Hoyos
37a9cdfc2c
Fix dirac decoder build dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Carl Eugen Hoyos
8a880d6918
Fix latm muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Carl Eugen Hoyos
b8e2dcd266
Fix jacosub muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Carl Eugen Hoyos
b8fe9f08be
Fix amv encoder dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Paul B Mahol
e11020a145
Fix building libopencore_amrnb decoder without libopencore_amrnb encoder
...
Fixes #1210 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
f4e0ec814b
pixdesc: BGRA64 is rgb pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
5b51efdc3a
fate-bprint: try to workaround platform specific value.
...
this should fix some fate failures
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d5d30d56ed
Revert "sinewin_tablegen: use av_assert"
...
using as_assert() in the table generator would make the generators
have to be linked to libavutil.
This reverts commit c3b6efa4cb
.
13 years ago
Mans Rullgard
bc92214e27
vc1dsp: mark put/avg_vc1_mspel_mc() always_inline
...
This ensures that these functions are inlined into the per-position
entry points, allowing constant propagation as needed for proper
optimisation.
18% faster VC1 decoding on Cortex-A9.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
80485a4f9a
mpegtsenc: make pts/dts offseting optional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
6668ef7567
cmdutils: include threading caps in codecs listing.
...
Suggested by Roger Pack on ffmpeg-user.
13 years ago
Nicolas George
e0545262a2
amerge: accept multiple inputs.
13 years ago
Nicolas George
e8e492b302
af_amerge: move nb_in_ch into the in structure.
...
With that change, there is only one array for the inputs,
it will make easier to implement a variable number of inputs.
13 years ago