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.
2012-06-09 08:38:51 +02:00
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.
2012-06-09 08:38:31 +02:00
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>
2012-06-09 02:51:02 +02:00
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>
2012-06-09 02:43:10 +02:00
Michael Niedermayer
75d900d52e
swr: zero buffers on allocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-09 02:42:46 +02:00
J. Bohl
023c073076
add bracket around the argument (fixes compilation error with ICL)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-09 00:34:21 +02:00
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>
2012-06-09 00:28:20 +02:00
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>
2012-06-08 23:59:09 +02:00
Michael Niedermayer
e016e3c9d7
swr: add mix8to2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08 22:12:00 +02:00
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>
2012-06-08 22:02:14 +02:00
Michael Niedermayer
ca30ae12c5
swr: add all in one rematrixing function ptr
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08 21:55:33 +02:00
Michael Niedermayer
dfde3d497e
swr: add inrermediate sample type for rematrixing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08 21:54:54 +02:00
Justin Ruggles
03e098e7a0
lavu: change versioning script to include all av* prefixed symbols
...
Needed to properly export avpriv_* symbols.
2012-06-08 15:47:59 -04:00
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>
2012-06-08 21:32:10 +02:00
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>
2012-06-08 21:32:10 +02:00
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.
2012-06-08 14:52:01 -04:00
Mans Rullgard
a839d6abf8
ARM: fix float_dsp breakage from d5a7229
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-08 19:45:37 +01:00
Justin Ruggles
d5a7229ba4
Add a float DSP framework to libavutil
...
Move vector_fmul() from DSPContext to AVFloatDSPContext.
2012-06-08 13:14:38 -04:00
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.
2012-06-08 13:14:38 -04:00
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.
2012-06-08 13:14:38 -04:00
Michael Niedermayer
718607be28
rv10: change assert() to av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08 18:24:47 +02:00
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>
2012-06-08 18:22:40 +02:00
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
.
2012-06-08 13:55:30 +00:00
Carl Eugen Hoyos
b35d38bd04
Add iac build dependency.
...
Found and analysed by trac user Jamal.
Fixes the remaining part of ticket #1428 .
2012-06-08 15:29:24 +02:00
Carl Eugen Hoyos
37a9cdfc2c
Fix dirac decoder build dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
2012-06-08 15:29:24 +02:00
Carl Eugen Hoyos
8a880d6918
Fix latm muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
2012-06-08 15:29:23 +02:00
Carl Eugen Hoyos
b8e2dcd266
Fix jacosub muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
2012-06-08 15:29:23 +02:00
Carl Eugen Hoyos
b8fe9f08be
Fix amv encoder dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
2012-06-08 15:29:23 +02:00
Paul B Mahol
e11020a145
Fix building libopencore_amrnb decoder without libopencore_amrnb encoder
...
Fixes #1210 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-08 13:03:10 +00:00
Paul B Mahol
f4e0ec814b
pixdesc: BGRA64 is rgb pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-08 10:42:27 +00:00
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>
2012-06-08 12:16:31 +02:00
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
.
2012-06-08 11:44:50 +02:00
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>
2012-06-08 09:40:07 +01:00
Michael Niedermayer
80485a4f9a
mpegtsenc: make pts/dts offseting optional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08 03:35:15 +02:00
Nicolas George
6668ef7567
cmdutils: include threading caps in codecs listing.
...
Suggested by Roger Pack on ffmpeg-user.
2012-06-07 23:19:20 +02:00
Nicolas George
e0545262a2
amerge: accept multiple inputs.
2012-06-07 22:51:08 +02:00
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.
2012-06-07 22:28:32 +02:00
Nicolas George
e45a92dc88
audioconvert: implement av_bprint_channel_layout().
...
And reimplement av_get_channel_layout_string() on top of it.
2012-06-07 22:28:32 +02:00
Nicolas George
7a2b429175
fate: add bprint test.
2012-06-07 22:28:32 +02:00
Nicolas George
b3e2bb08a9
bprint: add av_bprint_init_for_buffer().
2012-06-07 22:28:32 +02:00
Nicolas George
9148ae5b91
opt: add test for IMAGE_SIZE and PIXEL_FMT.
2012-06-07 22:13:59 +02:00
Nicolas George
61c266d72f
opt: free test_ctx.string at the end.
...
Makes valgrind happy.
2012-06-07 22:13:59 +02:00
Nicolas George
42b774ab6f
opt: init test_ctx to 0.
...
Otherwise, setting string will try to free a random address.
2012-06-07 22:13:59 +02:00
Nicolas George
d9b0d75c56
opt: add AV_OPT_TYPE_PIXEL_FMT.
2012-06-07 22:13:59 +02:00
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>
2012-06-07 21:55:34 +02:00
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>
2012-06-07 21:45:52 +02:00
Michael Niedermayer
b4d44367bc
h261enc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-07 21:32:32 +02:00
Michael Niedermayer
07732b4f09
h261dec: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-07 21:31:22 +02:00
Michael Niedermayer
a21c212681
swfenc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-07 21:30:07 +02:00
Alex Converse
a8656cd425
mpegts: Remove disabled extension matching probe.
2012-06-07 12:27:04 -07:00