Clément Bœsch
bdd22e3523
swr: change minimum I/O channel count to zero.
...
This will silence the warning of av_set_opt_int() in swr for
input/output channels when the layout is not yet defined (or supported).
2011-11-20 16:06:16 +01:00
Michael Niedermayer
34465bbcb4
Merge remote-tracking branch 'shariman/wmall'
...
* shariman/wmall: (24 commits)
Clean-up
dump_int_buffer() to dump samples from a buffer
Implement revert_cdlms()
Doxy for reset_codec()
Store transient state and position of transient area
Implement use_high_update_speed() and use_normal_update_speed()
Initialize num_logged_tiles and remove unnecessary codes
Log index for each line of output
Log tile size
Output decoded residues
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
Implement lms_update()
Implement lms_predict()
Implement reset_codec()
Add missing syntax elements to WmallDecodeCtx
Add .recent syntax element to cdlms struct
Implement clear_codec_buffers()
Add buffers to context necessary for reverting cdmls and mclms filter
Use avpriv_copy_bits() instead of ff_copy_bits()
Cosmetics
...
Conflicts:
libavcodec/wmalosslessdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-20 15:43:19 +01:00
Michael Niedermayer
a9011623ea
avopts: Fix random values being printed in error messages:
...
Bug introduced in:
commit 7bb1807c2d
Author: Anton Khirnov <anton@khirnov.net>
Date: Tue Aug 23 12:58:49 2011 +0200
AVOptions: refactor set_number/write_number
write_number() does the actual writing of the supplied
number to destination. Move finding the option and choosing destination
address out of it.
2011-11-20 15:02:36 +01:00
Reimar Döffinger
e8ab4bac0c
Fix compilation with YASM.
...
YASM does not support %ifempty even though it is in the official
NASM documentation and supported since NASM 2.02.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-11-20 15:03:32 +01:00
Reimar Döffinger
03f1caec61
HACK: fix compilation with NASM.
...
This issue is actually already fixed in NASM, however it will be a
bit before it arrives everywhere.
This should work as a temporary work-around.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-11-20 12:35:10 +01:00
Mashiat Sarker Shakkhar
7a9807dea4
Clean-up
2011-11-20 14:51:40 +06:00
Mashiat Sarker Shakkhar
3e2f664b99
dump_int_buffer() to dump samples from a buffer
2011-11-20 14:51:40 +06:00
Mashiat Sarker Shakkhar
caf9eb85b1
Implement revert_cdlms()
2011-11-20 14:51:40 +06:00
Mashiat Sarker Shakkhar
d47782df26
Doxy for reset_codec()
2011-11-20 14:51:40 +06:00
Mashiat Sarker Shakkhar
3e4901b24e
Store transient state and position of transient area
2011-11-20 14:51:40 +06:00
Mashiat Sarker Shakkhar
3f3d2b5f65
Implement use_high_update_speed() and use_normal_update_speed()
2011-11-20 14:51:40 +06:00
Mashiat Sarker Shakkhar
1e0db1c52a
Initialize num_logged_tiles and remove unnecessary codes
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
5b2680a2af
Log index for each line of output
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
a7c31f1595
Log tile size
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
d5aef477e6
Output decoded residues
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
f3d349f697
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
269a0dee19
Implement lms_update()
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
0faae518e9
Implement lms_predict()
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
03684c8ff3
Implement reset_codec()
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
93d2cabd61
Add missing syntax elements to WmallDecodeCtx
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
79b16e780d
Add .recent syntax element to cdlms struct
2011-11-20 14:51:39 +06:00
Mashiat Sarker Shakkhar
87b9c23b9a
Implement clear_codec_buffers()
2011-11-20 14:51:38 +06:00
Mashiat Sarker Shakkhar
d58db7207d
Add buffers to context necessary for reverting cdmls and mclms filter
2011-11-20 14:51:38 +06:00
Mashiat Sarker Shakkhar
a80a10bd73
Use avpriv_copy_bits() instead of ff_copy_bits()
2011-11-20 14:51:38 +06:00
Mashiat Sarker Shakkhar
374582acfe
Cosmetics
2011-11-20 14:51:38 +06:00
Mashiat Sarker Shakkhar
fa3e0190f9
Add missing ff_ before the AVCodec struct for wmalossless
2011-11-20 14:51:38 +06:00
Andreas Öman
4d9d9a443f
wmall: Working bitstream parser
2011-11-20 14:51:38 +06:00
John Stebbins
c40e1757a1
httpproxy: Fix dependencies
...
Fix building with --disable-network.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-20 09:51:17 +02:00
Martin Storsjö
66e9c0b6ab
httpproxy: Specify the object files needed in the Makefile
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-20 09:41:43 +02:00
Michael Niedermayer
dbb38bc389
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
swscale: Fix stack alignment for SSE
avcodec: move some AVCodecContext fields to an internal struct.
avcodec: use av_opt_set() instead of deprecated av_set_string3()
avcodec: fix some const warnings
avcodec: remove pointless AVOption, internal_buffer_count
imgutils: Fix illegal read.
Conflicts:
doc/APIchanges
libavcodec/avcodec.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-20 02:46:06 +01:00
Michael Niedermayer
90c02ae142
vsrc_mandelbrot: increase maxiter to 7189
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 23:52:29 +01:00
Michael Niedermayer
690860d0d5
vsrc_mandelbrot: Use threshold to detect cycles.
...
This way cycles are detected much earlier.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 23:28:56 +01:00
Michael Niedermayer
a5dfedd381
vsrc_mandelbrot: detect edges in interpol()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 22:22:21 +01:00
Michael Niedermayer
4ebbcdb3eb
vsrc_mandelbrot: avoid a | in interpol()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 22:11:53 +01:00
Michael Niedermayer
c88bdafe25
lavc: translate FF_ER_EXPLODE to AV_EF_EXPLODE|COMPLIANT
...
This is most likely what the user wants.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 20:43:44 +01:00
Michael Niedermayer
5dd16af6b5
vsrc_mandelbrot: increase default zoom speed by a factor of 2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 19:42:24 +01:00
Michael Niedermayer
ca14808275
vsrc_mandelbrot: spatial interpolation
...
speeds the code up by a factor of about 2-3.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 19:41:28 +01:00
John Stebbins
09d243ddd0
swscale: Fix stack alignment for SSE
...
Although gcc guarantees 16 byte stack alignment, threads under WinXP
don't appear to be guaranteed to start stack aligned. So fix the
alignment.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-11-19 09:55:07 -08:00
Justin Ruggles
f3a29b750a
avcodec: move some AVCodecContext fields to an internal struct.
...
A new field, AVCodecContext.internal is used to hold a new struct
AVCodecInternal, which has private fields that are not codec-specific and are
used by general libavcodec functions.
Moved internal_buffer, internal_buffer_count, and is_copy.
2011-11-19 10:01:05 -05:00
Michael Niedermayer
56fc4cf04f
vsrc_mandelbrot: always store values for periodicity checking, this avoids a few checks.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 15:02:34 +01:00
Michael Niedermayer
da1344e0cd
vsrc_mandelbrot: simplify second bailout search by not recalculating values.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 15:00:26 +01:00
Michael Niedermayer
e749b3780c
vsrc_mandelbrot: increase zyklus array size so that optimizations can write a bit more.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 14:16:53 +01:00
Michael Niedermayer
649d3932db
vsrc_mandelbrot: check bailout only once every 8 iterations, this is around 10% faster.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 14:15:56 +01:00
Michael Niedermayer
fe2efc5264
vsrc_mandelbrot: factorize periodicity checking too.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 13:55:51 +01:00
Michael Niedermayer
cf670fbc96
vsrc_mandelbrot: factorize main calculation out into a macro.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 13:51:44 +01:00
Justin Ruggles
513b691955
avcodec: use av_opt_set() instead of deprecated av_set_string3()
2011-11-19 01:14:27 -05:00
Justin Ruggles
fa9aeb82e2
avcodec: fix some const warnings
...
libavcodec/options.c:583: warning: assignment discards qualifiers from pointer
target type
libavcodec/options.c:589: warning: initialization discards qualifiers from
pointer target type
2011-11-19 01:10:58 -05:00
Justin Ruggles
86d3730360
avcodec: remove pointless AVOption, internal_buffer_count
2011-11-19 00:36:49 -05:00
Michael Niedermayer
0af8d20755
h261dec: correct AV_EF flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 04:07:26 +01:00
Michael Niedermayer
b0ccebe448
mpeg12dec: correct AV_EF flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-11-19 04:07:26 +01:00