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
Nicolas George
e45a92dc88
audioconvert: implement av_bprint_channel_layout().
...
And reimplement av_get_channel_layout_string() on top of it.
13 years ago
Nicolas George
7a2b429175
fate: add bprint test.
13 years ago
Nicolas George
b3e2bb08a9
bprint: add av_bprint_init_for_buffer().
13 years ago
Nicolas George
9148ae5b91
opt: add test for IMAGE_SIZE and PIXEL_FMT.
13 years ago
Nicolas George
61c266d72f
opt: free test_ctx.string at the end.
...
Makes valgrind happy.
13 years ago
Nicolas George
42b774ab6f
opt: init test_ctx to 0.
...
Otherwise, setting string will try to free a random address.
13 years ago
Nicolas George
d9b0d75c56
opt: add AV_OPT_TYPE_PIXEL_FMT.
13 years ago
Michael Niedermayer
9f7b014ad3
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: fix build if avfilter is disabled
ffplay: fix frame_delay calculation in new avfilter code
ffplay: add support for changing pixel format
ffplay: add missing filt_in assignment after video filter reconfigure
ffplay: fix frame aspect ratio after qatar merge
ffplay: fix use after free
ffplay: use dummy video driver if display is disabled
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
67732b9d62
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mpegts: Remove disabled extension matching probe.
fate: avoid freopen(NULL) in videogen/rotozoom
Conflicts:
tests/rotozoom.c
tests/videogen.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b4d44367bc
h261enc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
07732b4f09
h261dec: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a21c212681
swfenc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago