ffmpeg.git
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 23 Nov 2011 03:02:17 +0000 (04:02 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (22 commits)
  aacdec: Fix PS in ADTS.
  avconv: Consistently use PIX_FMT_NONE.
  dsputil: use cpuflags in x86 emu_edge_core
  dsputil: use movups instead of movdqu in ff_emu_edge_core_sse()
  wma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits.
  mov: Remove some redundant and obsolete comments.
  Add libavutil/mathematics.h #includes for INFINITY
  doxy: structure libavformat groups
  doxy: introduce an empty structure in libavcodec
  doxy: provide a start page and document libavutil
  doxy: cleanup pixfmt.h
  regtest: split video encode/decode tests into individual targets
  ARM: add explicit .arch and .fpu directives to asm.S
  pthread: do not touch has_b_frames
  avconv: cleanup the transcoding loop in output_packet().
  avconv: split subtitle transcoding out of output_packet().
  avconv: split video transcoding out of output_packet().
  avconv: split audio transcoding out of output_packet().
  avconv: reindent.
  avconv: move streamcopy-only code out of decoding loop.
  ...

Conflicts:
avconv.c
libavcodec/aaccoder.c
libavcodec/pthread.c
libavcodec/version.h
libavutil/audioconvert.h
libavutil/avutil.h
libavutil/mem.h
tests/ref/vsynth1/dv
tests/ref/vsynth1/mpeg2thread
tests/ref/vsynth2/dv
tests/ref/vsynth2/mpeg2thread

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopatcheck: spelling and grammar nits
Lou Logan [Wed, 23 Nov 2011 00:01:03 +0000 (15:01 -0900)]
patcheck: spelling and grammar nits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaacdec: Fix PS in ADTS.
Alex Converse [Tue, 22 Nov 2011 20:12:10 +0000 (12:12 -0800)]
aacdec: Fix PS in ADTS.

Fixes File1.aac and Bug 80.

8 years agoavconv: Consistently use PIX_FMT_NONE.
Alex Converse [Tue, 22 Nov 2011 18:38:37 +0000 (10:38 -0800)]
avconv: Consistently use PIX_FMT_NONE.

Use PIX_FMT_NONE instead of -1 when dealing with PixelFormat variables.

8 years agodoc: add a -map_channel example for splitting channels into streams.
Clément Bœsch [Tue, 22 Nov 2011 20:51:20 +0000 (21:51 +0100)]
doc: add a -map_channel example for splitting channels into streams.

8 years agodsputil: use cpuflags in x86 emu_edge_core
Justin Ruggles [Sun, 6 Nov 2011 22:42:50 +0000 (17:42 -0500)]
dsputil: use cpuflags in x86 emu_edge_core

avoids passing around the extra argument among all the macros it uses

8 years agodsputil: use movups instead of movdqu in ff_emu_edge_core_sse()
Justin Ruggles [Mon, 7 Nov 2011 01:43:13 +0000 (20:43 -0500)]
dsputil: use movups instead of movdqu in ff_emu_edge_core_sse()

This allows emulated_edge_mc_sse() and gmc_sse() to be used under
AV_CPU_FLAG_SSE.

8 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Tue, 22 Nov 2011 20:32:05 +0000 (21:32 +0100)]
Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  call revert_cdlms()
  Fix some loop conditions to prevent overreads
  Initialize pred in lms_predict()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavio: Support private options in URLProtocols
Michael Niedermayer [Thu, 10 Nov 2011 03:34:35 +0000 (04:34 +0100)]
avio: Support private options in URLProtocols

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agowma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits.
Justin Ruggles [Tue, 22 Nov 2011 18:37:52 +0000 (13:37 -0500)]
wma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits.

The initial values are not checked against the number of block sizes.
Initializing them to frame_len_bits will result in a block size index of 0
in these cases instead of something that might be out-of-range.

Fixes Bug 81.

8 years agoavio: allow any chars in protocols
Michael Niedermayer [Thu, 10 Nov 2011 16:02:02 +0000 (17:02 +0100)]
avio: allow any chars in protocols

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agohttp: add user_agent option.
Clément Bœsch [Wed, 28 Sep 2011 19:07:12 +0000 (21:07 +0200)]
http: add user_agent option.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomov: Remove some redundant and obsolete comments.
Alex Converse [Tue, 22 Nov 2011 02:46:02 +0000 (18:46 -0800)]
mov: Remove some redundant and obsolete comments.

8 years agoAdd libavutil/mathematics.h #includes for INFINITY
Mans Rullgard [Sun, 17 Jul 2011 10:19:35 +0000 (11:19 +0100)]
Add libavutil/mathematics.h #includes for INFINITY

This fixes build errors in some environments.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodoxy: structure libavformat groups
Luca Barbato [Tue, 22 Nov 2011 16:11:28 +0000 (17:11 +0100)]
doxy: structure libavformat groups

8 years agodoxy: introduce an empty structure in libavcodec
Luca Barbato [Sun, 20 Nov 2011 20:29:52 +0000 (21:29 +0100)]
doxy: introduce an empty structure in libavcodec

8 years agodoxy: provide a start page and document libavutil
Luca Barbato [Sun, 20 Nov 2011 19:38:24 +0000 (20:38 +0100)]
doxy: provide a start page and document libavutil

Introduce a basic layout, the subpages are currently left empty.

Split libavutil in multiple groups as example of the structure

8 years agodoxy: cleanup pixfmt.h
Luca Barbato [Sat, 19 Nov 2011 15:57:53 +0000 (16:57 +0100)]
doxy: cleanup pixfmt.h

Remove the dubious warning about the header being private and
add some formatting

8 years agographparser: Fix doxy on avfilter_graph_parse() return value.
Michael Niedermayer [Tue, 22 Nov 2011 14:09:26 +0000 (15:09 +0100)]
graphparser: Fix doxy on avfilter_graph_parse() return value.

Found-by: ZacS123
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoregtest: split video encode/decode tests into individual targets
Mans Rullgard [Mon, 21 Nov 2011 23:02:32 +0000 (23:02 +0000)]
regtest: split video encode/decode tests into individual targets

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: add explicit .arch and .fpu directives to asm.S
Mans Rullgard [Tue, 15 Nov 2011 01:15:52 +0000 (01:15 +0000)]
ARM: add explicit .arch and .fpu directives to asm.S

This prevents build errors when compiler and assembler default
targets differ.  Ideally each file would declare the highest
level it requires.  This is however not easily possible as it
complicates assembling pre-armv6t2 code in Thumb-2 mode.

HAVE_NEON is used as indicator for ARMv7-A since no other
symbol exists for this and NEON is only available in this
variant.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agopthread: do not touch has_b_frames
Janne Grunau [Thu, 10 Nov 2011 16:30:33 +0000 (17:30 +0100)]
pthread: do not touch has_b_frames

Adding the thread count in frame level multithreading to has_b_frames
as an additional delay causes more problems than it solves.
For example inconsistent behaviour during timestamp calculation in
libavformat.
Thread count and frame level multithreading are both set by the user.
If the additional delay caused by frame level multithreading needs
to be considered in the calling code it has all information to take
it into account.
Should it become necessary to calculate a maximum delay inside
libavcodec it should be exported as its own field and not reusing
an existing field.

Based on a patch by Michael Niedermayer.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 22 Nov 2011 01:54:50 +0000 (02:54 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  pthread: add some malloc failure checks
  avconv: cosmetics, reformat transcode_init()
  avconv: rename 'os' variable to 'oc'
  doc/filters: fix some typos.
  configure: add libpulse to help output

Conflicts:
avconv.c
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDocument a critical gotcha in FATE
Mike Melanson [Mon, 21 Nov 2011 05:48:45 +0000 (21:48 -0800)]
Document a critical gotcha in FATE

FATE samples paths can not be contain a '~' character. This has bitten me
on multiple occasions and I have heard I'm not the only victim.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: Fix segfault when using ffmpeg with ffserver where ffmpeg does not supply...
Michael Niedermayer [Mon, 21 Nov 2011 22:32:39 +0000 (23:32 +0100)]
ffmpeg: Fix segfault when using ffmpeg with ffserver where ffmpeg does not supply all requested streams.
Fixes Ticket675

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years ago[PATCH] IFF Amiga Continuous Bitmap (ACBM)decoder
ami_stuff [Mon, 21 Nov 2011 19:31:47 +0000 (20:31 +0100)]
[PATCH] IFF Amiga Continuous Bitmap (ACBM)decoder

Some sample IFF ACBM files can be found here:

http://aminet.net/package/dev/basic/ABdemos

Thanks to Peter Ross for his help with this patch.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'mjbshaw/master'
Michael Niedermayer [Mon, 21 Nov 2011 21:43:17 +0000 (22:43 +0100)]
Merge remote-tracking branch 'mjbshaw/master'

* mjbshaw/master:
  Applied patches from Michael Niedermayer to clean up the code
  Added support for J2K encoding with libopenjpeg

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavconv: cleanup the transcoding loop in output_packet().
Anton Khirnov [Mon, 21 Nov 2011 14:37:40 +0000 (15:37 +0100)]
avconv: cleanup the transcoding loop in output_packet().

8 years agoffplay: Check for pix_fmt changes Fixes Ticket238 by not crashing but also not playin...
Michael Niedermayer [Sun, 20 Nov 2011 18:56:49 +0000 (19:56 +0100)]
ffplay: Check for pix_fmt changes Fixes Ticket238 by not crashing but also not playing the file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agocall revert_cdlms()
Mashiat Sarker Shakkhar [Mon, 21 Nov 2011 19:03:15 +0000 (01:03 +0600)]
call revert_cdlms()

8 years agoFix some loop conditions to prevent overreads
Mashiat Sarker Shakkhar [Mon, 21 Nov 2011 19:01:30 +0000 (01:01 +0600)]
Fix some loop conditions to prevent overreads

8 years agoInitialize pred in lms_predict()
Mashiat Sarker Shakkhar [Mon, 21 Nov 2011 18:54:01 +0000 (00:54 +0600)]
Initialize pred in lms_predict()

8 years agoFix various if parenthesis misplacements.
Clément Bœsch [Mon, 21 Nov 2011 06:50:03 +0000 (07:50 +0100)]
Fix various if parenthesis misplacements.

8 years agoavconv: split subtitle transcoding out of output_packet().
Anton Khirnov [Mon, 21 Nov 2011 13:39:22 +0000 (14:39 +0100)]
avconv: split subtitle transcoding out of output_packet().

8 years agoavconv: split video transcoding out of output_packet().
Anton Khirnov [Mon, 21 Nov 2011 13:39:22 +0000 (14:39 +0100)]
avconv: split video transcoding out of output_packet().

8 years agoavconv: split audio transcoding out of output_packet().
Anton Khirnov [Mon, 21 Nov 2011 13:39:22 +0000 (14:39 +0100)]
avconv: split audio transcoding out of output_packet().

8 years agoavconv: reindent.
Anton Khirnov [Mon, 21 Nov 2011 13:06:25 +0000 (14:06 +0100)]
avconv: reindent.

8 years agoavconv: move streamcopy-only code out of decoding loop.
Anton Khirnov [Mon, 21 Nov 2011 13:05:38 +0000 (14:05 +0100)]
avconv: move streamcopy-only code out of decoding loop.

8 years agoavconv: remove an always true condition and reindent.
Anton Khirnov [Mon, 21 Nov 2011 12:51:51 +0000 (13:51 +0100)]
avconv: remove an always true condition and reindent.

8 years agoavconv: split off streamcopy handling into a separate loop.
Anton Khirnov [Mon, 21 Nov 2011 12:48:45 +0000 (13:48 +0100)]
avconv: split off streamcopy handling into a separate loop.

This is easier to understand and is less likely to break horribly when a
stream is to be both decoded and copied.

8 years agosvq1dec: call avcodec_set_dimensions() after dimensions changed.
Michael Niedermayer [Fri, 18 Nov 2011 18:10:21 +0000 (19:10 +0100)]
svq1dec: call avcodec_set_dimensions() after dimensions changed.
Fixes NGS00148

Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovp3dec: Check coefficient index in vp3_dequant()
Michael Niedermayer [Fri, 18 Nov 2011 17:08:31 +0000 (18:08 +0100)]
vp3dec: Check coefficient index in vp3_dequant()
Fixes NGS00145

Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoqdm2dec: fix buffer overflow.
Michael Niedermayer [Fri, 18 Nov 2011 16:48:31 +0000 (17:48 +0100)]
qdm2dec: fix buffer overflow.
Fixes NGS00144

Thanks to Phillip for suggestions to improve the patch.
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopthread: add some malloc failure checks
Justin Ruggles [Wed, 16 Nov 2011 22:30:28 +0000 (17:30 -0500)]
pthread: add some malloc failure checks

8 years agoalsdec: update checked AV_EF flags.
Michael Niedermayer [Sat, 19 Nov 2011 19:41:30 +0000 (20:41 +0100)]
alsdec: update checked AV_EF flags.

A user who wishes to use default error concealment cannot set the
AV_EF_CRCCHECK flag because not every CRC in every format is a
reliable indicator of bitstream damage. In some formats crcrs
can be nonsensical in absence of any damage. We thus add the
AV_EF_CAREFUL flag in addition to the AV_EF_CRCCHECK flag to
allow a user to enable this reliable CRC check without having to
enable all CRC checks in all formats.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavconv: cosmetics, reformat transcode_init()
Anton Khirnov [Sun, 20 Nov 2011 11:32:27 +0000 (12:32 +0100)]
avconv: cosmetics, reformat transcode_init()

Fix spacing, vertically align, break some long lines, add some empty
lines for readability.

8 years agoavconv: rename 'os' variable to 'oc'
Anton Khirnov [Sun, 20 Nov 2011 11:23:55 +0000 (12:23 +0100)]
avconv: rename 'os' variable to 'oc'

Output AVFormatContext is called 'oc' in most other places.

8 years agodoc/filters: fix some typos.
Anton Khirnov [Sun, 20 Nov 2011 05:42:43 +0000 (06:42 +0100)]
doc/filters: fix some typos.

8 years agoconfigure: add libpulse to help output
Anton Khirnov [Fri, 18 Nov 2011 10:08:31 +0000 (11:08 +0100)]
configure: add libpulse to help output

Fixes Bug 72.

8 years agovsrc_mandelbrot: fix inner=period, the previous optimizations broke it.
Michael Niedermayer [Mon, 21 Nov 2011 03:16:41 +0000 (04:16 +0100)]
vsrc_mandelbrot: fix inner=period, the previous optimizations broke it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264: Fix invalid interlaced progressive MB combinations for direct mode prediction.
Michael Niedermayer [Mon, 21 Nov 2011 01:03:13 +0000 (02:03 +0100)]
h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.
Fixes Ticket312

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMAINTAINERS: add myself as a web site maintainer
Lou Logan [Sun, 20 Nov 2011 21:51:12 +0000 (12:51 -0900)]
MAINTAINERS: add myself as a web site maintainer

Also add GPG fingerprint.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: 10l add back show_banner() that was lost in the last merge.
Michael Niedermayer [Sun, 20 Nov 2011 23:06:23 +0000 (00:06 +0100)]
ffmpeg: 10l add back show_banner() that was lost in the last merge.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agogit-howto: update git url.
Michael Niedermayer [Sun, 20 Nov 2011 21:31:36 +0000 (22:31 +0100)]
git-howto: update git url.
git.videolan.org is confusing to some users as videolan is a seperate project from ffmpeg.
the new name points to git.videolan.org but avoids the confusion.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh263: make default color black, like flv
Michael Niedermayer [Sun, 20 Nov 2011 19:40:22 +0000 (20:40 +0100)]
h263: make default color black, like flv
Fixes Ticket126

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegvideo: dont use ff_mspel_motion() for vc1
Michael Niedermayer [Sun, 20 Nov 2011 16:19:25 +0000 (17:19 +0100)]
mpegvideo: dont use ff_mspel_motion() for vc1
Fixes Ticket655

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswr: change minimum I/O channel count to zero.
Clément Bœsch [Sun, 20 Nov 2011 14:25:01 +0000 (15:25 +0100)]
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).

8 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Sun, 20 Nov 2011 14:43:19 +0000 (15:43 +0100)]
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>
8 years agoavopts: Fix random values being printed in error messages:
Michael Niedermayer [Sun, 20 Nov 2011 13:44:41 +0000 (14:44 +0100)]
avopts: Fix random values being printed in error messages:
Bug introduced in:
commit 7bb1807c2dd9623842f1c6d454e7f2892b5bc8d7
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.

8 years agoFix compilation with YASM.
Reimar Döffinger [Sun, 20 Nov 2011 14:02:26 +0000 (15:02 +0100)]
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>
8 years agoHACK: fix compilation with NASM.
Reimar Döffinger [Tue, 8 Nov 2011 19:10:44 +0000 (20:10 +0100)]
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>
8 years agoClean-up
Mashiat Sarker Shakkhar [Sat, 12 Nov 2011 11:12:28 +0000 (17:12 +0600)]
Clean-up

8 years agodump_int_buffer() to dump samples from a buffer
Mashiat Sarker Shakkhar [Sat, 12 Nov 2011 13:14:51 +0000 (19:14 +0600)]
dump_int_buffer() to dump samples from a buffer

8 years agoImplement revert_cdlms()
Mashiat Sarker Shakkhar [Sat, 12 Nov 2011 10:07:12 +0000 (16:07 +0600)]
Implement revert_cdlms()

8 years agoDoxy for reset_codec()
Mashiat Sarker Shakkhar [Sat, 12 Nov 2011 10:04:35 +0000 (16:04 +0600)]
Doxy for reset_codec()

8 years agoStore transient state and position of transient area
Mashiat Sarker Shakkhar [Sat, 12 Nov 2011 10:03:54 +0000 (16:03 +0600)]
Store transient state and position of transient area

8 years agoImplement use_high_update_speed() and use_normal_update_speed()
Mashiat Sarker Shakkhar [Thu, 10 Nov 2011 07:42:10 +0000 (13:42 +0600)]
Implement use_high_update_speed() and use_normal_update_speed()

8 years agoInitialize num_logged_tiles and remove unnecessary codes
Mashiat Sarker Shakkhar [Thu, 10 Nov 2011 06:05:42 +0000 (12:05 +0600)]
Initialize num_logged_tiles and remove unnecessary codes

8 years agoLog index for each line of output
Mashiat Sarker Shakkhar [Thu, 10 Nov 2011 06:04:31 +0000 (12:04 +0600)]
Log index for each line of output

8 years agoLog tile size
Mashiat Sarker Shakkhar [Thu, 10 Nov 2011 06:03:51 +0000 (12:03 +0600)]
Log tile size

8 years agoOutput decoded residues
Mashiat Sarker Shakkhar [Tue, 8 Nov 2011 12:42:01 +0000 (18:42 +0600)]
Output decoded residues

8 years agoReplace placeholders with actual calls to clear_codec_buffers() and reset_codec()
Mashiat Sarker Shakkhar [Sat, 5 Nov 2011 21:04:12 +0000 (03:04 +0600)]
Replace placeholders with actual calls to clear_codec_buffers() and reset_codec()

8 years agoImplement lms_update()
Mashiat Sarker Shakkhar [Sat, 5 Nov 2011 21:02:41 +0000 (03:02 +0600)]
Implement lms_update()

8 years agoImplement lms_predict()
Mashiat Sarker Shakkhar [Sat, 5 Nov 2011 21:02:11 +0000 (03:02 +0600)]
Implement lms_predict()

8 years agoImplement reset_codec()
Mashiat Sarker Shakkhar [Sat, 5 Nov 2011 21:00:49 +0000 (03:00 +0600)]
Implement reset_codec()

8 years agoAdd missing syntax elements to WmallDecodeCtx
Mashiat Sarker Shakkhar [Sat, 5 Nov 2011 20:59:06 +0000 (02:59 +0600)]
Add missing syntax elements to WmallDecodeCtx

8 years agoAdd .recent syntax element to cdlms struct
Mashiat Sarker Shakkhar [Fri, 4 Nov 2011 20:32:56 +0000 (02:32 +0600)]
Add .recent syntax element to cdlms struct

8 years agoImplement clear_codec_buffers()
Mashiat Sarker Shakkhar [Fri, 4 Nov 2011 20:19:35 +0000 (02:19 +0600)]
Implement clear_codec_buffers()

8 years agoAdd buffers to context necessary for reverting cdmls and mclms filter
Mashiat Sarker Shakkhar [Fri, 4 Nov 2011 20:22:21 +0000 (02:22 +0600)]
Add buffers to context necessary for reverting cdmls and mclms filter

8 years agoUse avpriv_copy_bits() instead of ff_copy_bits()
Mashiat Sarker Shakkhar [Fri, 4 Nov 2011 19:25:22 +0000 (01:25 +0600)]
Use avpriv_copy_bits() instead of ff_copy_bits()

8 years agoCosmetics
Mashiat Sarker Shakkhar [Thu, 3 Nov 2011 20:50:54 +0000 (02:50 +0600)]
Cosmetics

8 years agoAdd missing ff_ before the AVCodec struct for wmalossless
Mashiat Sarker Shakkhar [Sun, 16 Oct 2011 18:45:10 +0000 (23:45 +0500)]
Add missing ff_ before the AVCodec struct for wmalossless

8 years agowmall: Working bitstream parser
Andreas Öman [Thu, 3 Mar 2011 08:31:34 +0000 (09:31 +0100)]
wmall: Working bitstream parser

8 years agohttpproxy: Fix dependencies
John Stebbins [Sat, 19 Nov 2011 17:58:26 +0000 (09:58 -0800)]
httpproxy: Fix dependencies

Fix building with --disable-network.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agohttpproxy: Specify the object files needed in the Makefile
Martin Storsjö [Sat, 19 Nov 2011 08:02:15 +0000 (10:02 +0200)]
httpproxy: Specify the object files needed in the Makefile

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 20 Nov 2011 01:46:06 +0000 (02:46 +0100)]
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>
8 years agovsrc_mandelbrot: increase maxiter to 7189
Michael Niedermayer [Sat, 19 Nov 2011 22:52:29 +0000 (23:52 +0100)]
vsrc_mandelbrot: increase maxiter to 7189

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: Use threshold to detect cycles.
Michael Niedermayer [Sat, 19 Nov 2011 22:28:56 +0000 (23:28 +0100)]
vsrc_mandelbrot: Use threshold to detect cycles.
This way cycles are detected much earlier.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: detect edges in interpol()
Michael Niedermayer [Sat, 19 Nov 2011 21:22:21 +0000 (22:22 +0100)]
vsrc_mandelbrot: detect edges in interpol()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: avoid a | in interpol()
Michael Niedermayer [Sat, 19 Nov 2011 21:07:10 +0000 (22:07 +0100)]
vsrc_mandelbrot: avoid a | in interpol()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavc: translate FF_ER_EXPLODE to AV_EF_EXPLODE|COMPLIANT
Michael Niedermayer [Sat, 19 Nov 2011 19:33:28 +0000 (20:33 +0100)]
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>
8 years agovsrc_mandelbrot: increase default zoom speed by a factor of 2
Michael Niedermayer [Sat, 19 Nov 2011 18:42:24 +0000 (19:42 +0100)]
vsrc_mandelbrot: increase default zoom speed by a factor of 2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: spatial interpolation
Michael Niedermayer [Sat, 19 Nov 2011 18:41:28 +0000 (19:41 +0100)]
vsrc_mandelbrot: spatial interpolation
speeds the code up by a factor of about 2-3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswscale: Fix stack alignment for SSE
John Stebbins [Fri, 18 Nov 2011 23:06:17 +0000 (15:06 -0800)]
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>
8 years agoavcodec: move some AVCodecContext fields to an internal struct.
Justin Ruggles [Tue, 15 Nov 2011 20:34:50 +0000 (15:34 -0500)]
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.

8 years agovsrc_mandelbrot: always store values for periodicity checking, this avoids a few...
Michael Niedermayer [Sat, 19 Nov 2011 14:02:34 +0000 (15:02 +0100)]
vsrc_mandelbrot: always store values for periodicity checking, this avoids a few checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: simplify second bailout search by not recalculating values.
Michael Niedermayer [Sat, 19 Nov 2011 14:00:26 +0000 (15:00 +0100)]
vsrc_mandelbrot: simplify second bailout search by not recalculating values.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: increase zyklus array size so that optimizations can write a bit...
Michael Niedermayer [Sat, 19 Nov 2011 13:16:53 +0000 (14:16 +0100)]
vsrc_mandelbrot: increase zyklus array size so that optimizations can write a bit more.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: check bailout only once every 8 iterations, this is around 10% faster.
Michael Niedermayer [Sat, 19 Nov 2011 13:15:56 +0000 (14:15 +0100)]
vsrc_mandelbrot: check bailout only once every 8 iterations, this is around 10% faster.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovsrc_mandelbrot: factorize periodicity checking too.
Michael Niedermayer [Sat, 19 Nov 2011 12:55:51 +0000 (13:55 +0100)]
vsrc_mandelbrot: factorize periodicity checking too.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>