platform/upstream/libav.git
15 years ago10l != vs. == (yes, my fault not kostya's).
Michael Niedermayer [Fri, 26 Dec 2008 14:39:21 +0000 (14:39 +0000)]
10l != vs. == (yes, my fault not kostya's).

Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoindent
Michael Niedermayer [Fri, 26 Dec 2008 13:52:07 +0000 (13:52 +0000)]
indent

Originally committed as revision 16329 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSimplify zero run handling in put_line().
Michael Niedermayer [Fri, 26 Dec 2008 13:51:52 +0000 (13:51 +0000)]
Simplify zero run handling in put_line().

Originally committed as revision 16328 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAvoid negation in put_line().
Michael Niedermayer [Fri, 26 Dec 2008 13:50:00 +0000 (13:50 +0000)]
Avoid negation in put_line().

Originally committed as revision 16327 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFactorize mode switching in put_line().
Michael Niedermayer [Fri, 26 Dec 2008 13:48:09 +0000 (13:48 +0000)]
Factorize mode switching in put_line().

Originally committed as revision 16326 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix (rewrite) find_group3_syncmarker().
Michael Niedermayer [Fri, 26 Dec 2008 13:46:11 +0000 (13:46 +0000)]
Fix (rewrite) find_group3_syncmarker().

Originally committed as revision 16325 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix documentation for -passlogfile, the argument is not a file name
Stefano Sabatini [Fri, 26 Dec 2008 13:40:02 +0000 (13:40 +0000)]
Fix documentation for -passlogfile, the argument is not a file name
but a prefix used to create the complete pass log file name.

Originally committed as revision 16324 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCCITT Fax Group 3 and 4 decompression by kostya.
Michael Niedermayer [Fri, 26 Dec 2008 13:39:19 +0000 (13:39 +0000)]
CCITT Fax Group 3 and 4 decompression by kostya.
Will be activated after a little more reviewing and fixing by me.
Commited now, so as to not lose history of that.

Originally committed as revision 16323 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse more descriptive long_names for Video4Linux input devices.
Stefano Sabatini [Fri, 26 Dec 2008 11:23:50 +0000 (11:23 +0000)]
Use more descriptive long_names for Video4Linux input devices.

Originally committed as revision 16322 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoASAO Nelly Moser implementation moved to a better place on mphq.
Diego Biurrun [Fri, 26 Dec 2008 11:00:30 +0000 (11:00 +0000)]
ASAO Nelly Moser implementation moved to a better place on mphq.

Originally committed as revision 16321 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoChoose better names for the variables in create_filter().
Stefano Sabatini [Fri, 26 Dec 2008 10:54:16 +0000 (10:54 +0000)]
Choose better names for the variables in create_filter().

Originally committed as revision 16320 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix documentation for avfilter_parse_graph().
Stefano Sabatini [Fri, 26 Dec 2008 10:48:54 +0000 (10:48 +0000)]
Fix documentation for avfilter_parse_graph().

Originally committed as revision 16319 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCheck that the device is a capture device immediately after opening
Stefano Sabatini [Fri, 26 Dec 2008 10:12:57 +0000 (10:12 +0000)]
Check that the device is a capture device immediately after opening
the device.

Originally committed as revision 16318 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove unnecessary temporary variable "frame_size" from
Stefano Sabatini [Fri, 26 Dec 2008 09:31:21 +0000 (09:31 +0000)]
Remove unnecessary temporary variable "frame_size" from
grab_read_header().

Originally committed as revision 16317 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd missing check on the result of a VIDIOCCAPTURE ioctl.
Stefano Sabatini [Fri, 26 Dec 2008 09:12:12 +0000 (09:12 +0000)]
Add missing check on the result of a VIDIOCCAPTURE ioctl.

Originally committed as revision 16316 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCosmetics: put a space after each comma, improve consistency and
Stefano Sabatini [Fri, 26 Dec 2008 09:07:51 +0000 (09:07 +0000)]
Cosmetics: put a space after each comma, improve consistency and
readability.

Originally committed as revision 16315 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agos/FFmpeg-devel/ffmpeg-devel/
Benoit Fouet [Fri, 26 Dec 2008 08:03:26 +0000 (08:03 +0000)]
s/FFmpeg-devel/ffmpeg-devel/

Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix compilation without optimization under 64-bit with x264 deblock asm enabled.
Jason Garrett-Glaser [Fri, 26 Dec 2008 00:19:08 +0000 (00:19 +0000)]
Fix compilation without optimization under 64-bit with x264 deblock asm enabled.

Originally committed as revision 16313 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoARM: add new h264 idct functions
Måns Rullgård [Thu, 25 Dec 2008 23:13:43 +0000 (23:13 +0000)]
ARM: add new h264 idct functions

Originally committed as revision 16312 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDisable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
Guillaume Poirier [Thu, 25 Dec 2008 18:27:49 +0000 (18:27 +0000)]
Disable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
h264_idct_add16intra, h264_idct_add8 need to be implemented.

Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec
can be used.

Originally committed as revision 16311 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoChange mplayerhq.hu references to ffmpeg.org where appropriate.
Diego Biurrun [Thu, 25 Dec 2008 15:49:50 +0000 (15:49 +0000)]
Change mplayerhq.hu references to ffmpeg.org where appropriate.

Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix sample URL.
Diego Biurrun [Thu, 25 Dec 2008 15:49:02 +0000 (15:49 +0000)]
Fix sample URL.

Originally committed as revision 16309 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoThe VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
avcoder [Thu, 25 Dec 2008 13:26:18 +0000 (13:26 +0000)]
The VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
patch by avcoder, ffmpeg gmail com

Originally committed as revision 16308 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoflatten an array, since gcc fails at optimizing multidimensional arrays
Loren Merritt [Thu, 25 Dec 2008 01:20:37 +0000 (01:20 +0000)]
flatten an array, since gcc fails at optimizing multidimensional arrays
h264_idct8_add_c: 780 -> 735 cycles on conroe

Originally committed as revision 16307 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoexport refs
Michael Niedermayer [Wed, 24 Dec 2008 18:39:23 +0000 (18:39 +0000)]
export refs

Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAllow decoders to set AVCodecContext.refs.
Michael Niedermayer [Wed, 24 Dec 2008 17:38:27 +0000 (17:38 +0000)]
Allow decoders to set AVCodecContext.refs.

Originally committed as revision 16305 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOptimize pred_pskip_motion()
Michael Niedermayer [Wed, 24 Dec 2008 03:23:38 +0000 (03:23 +0000)]
Optimize pred_pskip_motion()
7 cpu cycles faster on pentium dual.

Originally committed as revision 16304 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoadd amr in avi riff tags
Ben Littler [Wed, 24 Dec 2008 02:20:07 +0000 (02:20 +0000)]
add amr in avi riff tags

Originally committed as revision 16303 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoIndent
Michael Niedermayer [Tue, 23 Dec 2008 22:06:16 +0000 (22:06 +0000)]
Indent

Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoIntegrate get_te0_golomb() calls into the code, this allows some checks
Michael Niedermayer [Tue, 23 Dec 2008 22:04:34 +0000 (22:04 +0000)]
Integrate get_te0_golomb() calls into the code, this allows some checks
to be avoided and the function is pretty small.
3% speedup, though this is probably due to changed inlining and not directly
this change.

Originally committed as revision 16301 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse get_ue_golomb_31() where possible, almost all are just in headers
Michael Niedermayer [Tue, 23 Dec 2008 21:12:19 +0000 (21:12 +0000)]
Use get_ue_golomb_31() where possible, almost all are just in headers
though.

Originally committed as revision 16300 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUpdate golomb decoding tables so that get_*_golomb_31() return some
Michael Niedermayer [Tue, 23 Dec 2008 21:07:36 +0000 (21:07 +0000)]
Update golomb decoding tables so that get_*_golomb_31() return some
larger values for too large values.

Originally committed as revision 16299 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd get_ue_golomb_31()
Michael Niedermayer [Tue, 23 Dec 2008 21:05:47 +0000 (21:05 +0000)]
Add get_ue_golomb_31()

Originally committed as revision 16298 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUpdate again Cygwin Ports URL after my sloppy previous commit.
Víctor Paesa [Tue, 23 Dec 2008 20:44:06 +0000 (20:44 +0000)]
Update again Cygwin Ports URL after my sloppy previous commit.

Originally committed as revision 16297 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoindent
Michael Niedermayer [Tue, 23 Dec 2008 19:12:50 +0000 (19:12 +0000)]
indent

Originally committed as revision 16296 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse the new VLC table for the first non trailing coeff too.
Michael Niedermayer [Tue, 23 Dec 2008 19:10:46 +0000 (19:10 +0000)]
Use the new VLC table for the first non trailing coeff too.
Sadly only 5 cycles faster here on pentium dual. So maybe the
complexity is not worth it and this should be reverted ...

Originally committed as revision 16295 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOptimize esc removal code.
Michael Niedermayer [Tue, 23 Dec 2008 18:31:44 +0000 (18:31 +0000)]
Optimize esc removal code.

Originally committed as revision 16294 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years ago352l: correct calculating number of bits for storing macroblock offset in RV3/4
Kostya Shishkov [Tue, 23 Dec 2008 18:27:06 +0000 (18:27 +0000)]
352l: correct calculating number of bits for storing macroblock offset in RV3/4

Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoIndent
Michael Niedermayer [Tue, 23 Dec 2008 17:50:36 +0000 (17:50 +0000)]
Indent

Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agounified CAVLC level decoding LUT.
Michael Niedermayer [Tue, 23 Dec 2008 17:49:38 +0000 (17:49 +0000)]
unified CAVLC level decoding LUT.
Quite a bit faster (HPCVMOLQ_BRCM_B.264 was 3% faster here)

Originally committed as revision 16291 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoComplete the list of external libraries.
Víctor Paesa [Tue, 23 Dec 2008 10:29:32 +0000 (10:29 +0000)]
Complete the list of external libraries.

Originally committed as revision 16290 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdvice on compiler versions
Víctor Paesa [Tue, 23 Dec 2008 09:09:21 +0000 (09:09 +0000)]
Advice on compiler versions

Originally committed as revision 16289 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUpdate Cygwin Ports URL.
Víctor Paesa [Tue, 23 Dec 2008 08:57:28 +0000 (08:57 +0000)]
Update Cygwin Ports URL.

Originally committed as revision 16288 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoBring up to date the Cygwin docs.
Víctor Paesa [Tue, 23 Dec 2008 08:53:37 +0000 (08:53 +0000)]
Bring up to date the Cygwin docs.

Originally committed as revision 16287 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMake h264 parser 50% faster.
Michael Niedermayer [Tue, 23 Dec 2008 02:34:58 +0000 (02:34 +0000)]
Make h264 parser 50% faster.

Originally committed as revision 16286 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years ago100l, I broke H.264 again, forgot one hunk.
Michael Niedermayer [Tue, 23 Dec 2008 01:11:56 +0000 (01:11 +0000)]
100l, I broke H.264 again, forgot one hunk.
Thanks to FATE for finding it.

Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOptimize 0 0 0-3 search, 45% faster on pentium dual.
Michael Niedermayer [Tue, 23 Dec 2008 00:38:45 +0000 (00:38 +0000)]
Optimize 0 0 0-3 search, 45% faster on pentium dual.

Originally committed as revision 16284 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoThe diffutils package is also needed (for the 'cmp' command).
Víctor Paesa [Mon, 22 Dec 2008 23:30:33 +0000 (23:30 +0000)]
The diffutils package is also needed (for the 'cmp' command).
Spotted by Ramiro Polla.

Originally committed as revision 16283 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRevert r16257:
Andreas Öman [Mon, 22 Dec 2008 22:39:55 +0000 (22:39 +0000)]
Revert r16257:

Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix two identical warnings when compiling riff.c and nuv.c with icc:
Carl Eugen Hoyos [Mon, 22 Dec 2008 22:12:44 +0000 (22:12 +0000)]
Fix two identical warnings when compiling riff.c and nuv.c with icc:
warning #188: enumerated type mixed with another type

Originally committed as revision 16281 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix a warning when compiling with icc:
Carl Eugen Hoyos [Mon, 22 Dec 2008 22:10:07 +0000 (22:10 +0000)]
Fix a warning when compiling with icc:
warning #188: enumerated type mixed with another type

Originally committed as revision 16280 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSimplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
Michael Niedermayer [Mon, 22 Dec 2008 17:14:13 +0000 (17:14 +0000)]
Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
pentium dual.

Originally committed as revision 16279 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoIndent
Michael Niedermayer [Mon, 22 Dec 2008 16:56:05 +0000 (16:56 +0000)]
Indent

Originally committed as revision 16278 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoinline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.
Michael Niedermayer [Mon, 22 Dec 2008 16:46:17 +0000 (16:46 +0000)]
inline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.

Originally committed as revision 16277 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoNegate 2 more variables, 1 cpu cycle faster on pentium dual.
Michael Niedermayer [Mon, 22 Dec 2008 16:20:13 +0000 (16:20 +0000)]
Negate 2 more variables, 1 cpu cycle faster on pentium dual.

Originally committed as revision 16276 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSimplify if/else, no speed change
Michael Niedermayer [Mon, 22 Dec 2008 16:14:06 +0000 (16:14 +0000)]
Simplify if/else, no speed change

Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoNegate a few variables, this simplifies the code and makes it 5 cycles faster
Michael Niedermayer [Mon, 22 Dec 2008 16:10:35 +0000 (16:10 +0000)]
Negate a few variables, this simplifies the code and makes it 5 cycles faster
on pentium dual.

Originally committed as revision 16274 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSimplify ifs(), 8 cpu cycles faster on pentium dual
Michael Niedermayer [Mon, 22 Dec 2008 15:54:27 +0000 (15:54 +0000)]
Simplify ifs(), 8 cpu cycles faster on pentium dual

Originally committed as revision 16273 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSimplify if(), 3 cpu cycles faster in pentium dual.
Michael Niedermayer [Mon, 22 Dec 2008 15:53:00 +0000 (15:53 +0000)]
Simplify if(), 3 cpu cycles faster in pentium dual.

Originally committed as revision 16272 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoInitialize s->opaque before calling url_resetbuf().
Aurelien Jacobs [Mon, 22 Dec 2008 11:23:00 +0000 (11:23 +0000)]
Initialize s->opaque before calling url_resetbuf().
Fixes a regression test crash for icc 10.1 64 bit.

Patch by Aurelien.

Originally committed as revision 16271 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRename libavcodec/i386/ --> libavcodec/x86/.
Diego Biurrun [Mon, 22 Dec 2008 09:12:42 +0000 (09:12 +0000)]
Rename libavcodec/i386/ --> libavcodec/x86/.
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.

Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOffer an option (disabled by default) to enable the copy of the frames before
Wolfram Gloger [Mon, 22 Dec 2008 08:22:22 +0000 (08:22 +0000)]
Offer an option (disabled by default) to enable the copy of the frames before
the first key frame in a stream.
Patch by Wolfram Gloger wmglo /!\ dent med uni (minus) muenchen de

Originally committed as revision 16269 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDecode TIFF image only after all tags have been decoded
Kostya Shishkov [Mon, 22 Dec 2008 06:50:18 +0000 (06:50 +0000)]
Decode TIFF image only after all tags have been decoded

Originally committed as revision 16268 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSome TIFFs declare -1 for the single strip height
Kostya Shishkov [Mon, 22 Dec 2008 06:47:51 +0000 (06:47 +0000)]
Some TIFFs declare -1 for the single strip height

Originally committed as revision 16267 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd monochrome TIFF support
Kostya Shishkov [Mon, 22 Dec 2008 06:43:14 +0000 (06:43 +0000)]
Add monochrome TIFF support

Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCalculate line size variable correctly for lower bitdepths and use it for raw data...
Kostya Shishkov [Mon, 22 Dec 2008 06:39:31 +0000 (06:39 +0000)]
Calculate line size variable correctly for lower bitdepths and use it for raw data copying

Originally committed as revision 16265 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRegister TIFF tags for CCITT Group 3 and 4 compression options
Kostya Shishkov [Mon, 22 Dec 2008 06:36:10 +0000 (06:36 +0000)]
Register TIFF tags for CCITT Group 3 and 4 compression options

Originally committed as revision 16264 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove a bunch of unused variables.
Diego Biurrun [Mon, 22 Dec 2008 00:10:36 +0000 (00:10 +0000)]
Remove a bunch of unused variables.

Originally committed as revision 16263 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse ARCH_X86_32 instead of !ARCH_X86_64, it is more straightforward.
Diego Biurrun [Mon, 22 Dec 2008 00:03:30 +0000 (00:03 +0000)]
Use ARCH_X86_32 instead of !ARCH_X86_64, it is more straightforward.

Originally committed as revision 16262 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix incorrectly constructed Dirac parse units that caused A/V sync loss.
Anuradha Suraparaju [Mon, 22 Dec 2008 00:01:39 +0000 (00:01 +0000)]
Fix incorrectly constructed Dirac parse units that caused A/V sync loss.
Fixes issue 694.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 16261 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDo not use full include path for headers in the same directory.
Diego Biurrun [Sun, 21 Dec 2008 23:56:55 +0000 (23:56 +0000)]
Do not use full include path for headers in the same directory.

Originally committed as revision 16260 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoChange mpeg audio parser so it only sets frame_size, channels and bit_rate
Michael Niedermayer [Sun, 21 Dec 2008 23:50:16 +0000 (23:50 +0000)]
Change mpeg audio parser so it only sets frame_size, channels and bit_rate
after it has a few valid frames.
Fixes issue762

Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSilence the following icc warnings:
Carl Eugen Hoyos [Sun, 21 Dec 2008 22:51:33 +0000 (22:51 +0000)]
Silence the following icc warnings:
warning #1292: attribute "force_align_arg_pointer" ignored
warning #1292: attribute "alloc_size" ignored
warning #1292: attribute "cold" ignored

Originally committed as revision 16258 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoInclude "libavutil/common.h" where we use llrint() in case ffmpeg's
Andreas Öman [Sun, 21 Dec 2008 21:53:42 +0000 (21:53 +0000)]
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix PTS returned by the demuxers for mpeg4 without a decoder.
Michael Niedermayer [Sun, 21 Dec 2008 21:47:29 +0000 (21:47 +0000)]
Fix PTS returned by the demuxers for mpeg4 without a decoder.
More precissely fix has_b_frames.
Fixes issue757

Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoMove CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
Michael Niedermayer [Sun, 21 Dec 2008 21:30:36 +0000 (21:30 +0000)]
Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().

Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix detection of audio codec in K70707-ARIA229.flv.
Michael Niedermayer [Sun, 21 Dec 2008 20:56:30 +0000 (20:56 +0000)]
Fix detection of audio codec in K70707-ARIA229.flv.
Fixes issue760.

Originally committed as revision 16254 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove useless code.
Michael Niedermayer [Sun, 21 Dec 2008 17:49:40 +0000 (17:49 +0000)]
Remove useless code.

Originally committed as revision 16253 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOnly execute clear_blocks() when needed.
Michael Niedermayer [Sun, 21 Dec 2008 15:58:42 +0000 (15:58 +0000)]
Only execute clear_blocks() when needed.
+0.3% speedup for both aladin & cathedral.

Originally committed as revision 16252 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAAC: Reindent after last commit
Robert Swain [Sun, 21 Dec 2008 05:32:55 +0000 (05:32 +0000)]
AAC: Reindent after last commit

Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAAC: Fix AAC prediction when used in conjunction with the CPE
Alex Converse [Sun, 21 Dec 2008 05:28:14 +0000 (05:28 +0000)]
AAC: Fix AAC prediction when used in conjunction with the CPE

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
Alex Converse [Sun, 21 Dec 2008 05:08:32 +0000 (05:08 +0000)]
AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
member

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoOptimize get_dct8x8_allowed().
Michael Niedermayer [Sat, 20 Dec 2008 23:11:30 +0000 (23:11 +0000)]
Optimize get_dct8x8_allowed().
30 cpu cycles faster on pentium dual.

Originally committed as revision 16248 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRV30 decoder
Kostya Shishkov [Sat, 20 Dec 2008 18:06:01 +0000 (18:06 +0000)]
RV30 decoder

Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoUse AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.
Carl Eugen Hoyos [Sat, 20 Dec 2008 17:33:35 +0000 (17:33 +0000)]
Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.

Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRV30 loop filter
Kostya Shishkov [Sat, 20 Dec 2008 06:09:54 +0000 (06:09 +0000)]
RV30 loop filter

Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
Reynaldo H. Verdejo Pinochet [Sat, 20 Dec 2008 02:38:34 +0000 (02:38 +0000)]
Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
changeset.

Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoPut under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
Stefano Sabatini [Fri, 19 Dec 2008 22:37:56 +0000 (22:37 +0000)]
Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.

Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoCosmetics, change variable name "o2" to "o" in ffserver_opt_default().
Stefano Sabatini [Fri, 19 Dec 2008 22:33:15 +0000 (22:33 +0000)]
Cosmetics, change variable name "o2" to "o" in ffserver_opt_default().

Originally committed as revision 16242 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove calls to deprecated av_set_string2() with calls to
Stefano Sabatini [Fri, 19 Dec 2008 22:29:30 +0000 (22:29 +0000)]
Remove calls to deprecated av_set_string2() with calls to
av_set_string3().

Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoH.264 loopfilter speed tweaks
Jason Garrett-Glaser [Fri, 19 Dec 2008 14:49:17 +0000 (14:49 +0000)]
H.264 loopfilter speed tweaks

Originally committed as revision 16240 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoPort x264 deblocking code to libavcodec.
Jason Garrett-Glaser [Fri, 19 Dec 2008 13:45:13 +0000 (13:45 +0000)]
Port x264 deblocking code to libavcodec.
This includes SSE2 luma deblocking code and both MMXEXT and SSE2 luma
intra deblocking code for H.264 decoding. This assembly is available
under --enable-gpl and speeds decoding of Cathedral by 7%.

Originally committed as revision 16239 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoRemove pointless malloc.h #include.
Diego Biurrun [Fri, 19 Dec 2008 09:59:59 +0000 (09:59 +0000)]
Remove pointless malloc.h #include.

Originally committed as revision 28164 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

15 years agoRemove pointless malloc.h #include.
Diego Biurrun [Fri, 19 Dec 2008 09:59:18 +0000 (09:59 +0000)]
Remove pointless malloc.h #include.

Originally committed as revision 16238 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoDocument new idct requirements.
Michael Niedermayer [Fri, 19 Dec 2008 09:34:18 +0000 (09:34 +0000)]
Document new idct requirements.

Originally committed as revision 16237 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoFix decoding with the plain C idcts of
Michael Niedermayer [Fri, 19 Dec 2008 09:21:54 +0000 (09:21 +0000)]
Fix decoding with the plain C idcts of
FRExt/HPCAMOLQ_BRCM_B
FRExt/HPCAQ2LQ_BRCM_B
FRExt/HPCVMOLQ_BRCM_B

Originally committed as revision 16236 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoa table for upcoming RV30 loop filtering
Kostya Shishkov [Fri, 19 Dec 2008 06:29:35 +0000 (06:29 +0000)]
a table for upcoming RV30 loop filtering

Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoAdd automatic prefix handling to yasm functions. Does nothing now, but will
Jason Garrett-Glaser [Fri, 19 Dec 2008 03:01:08 +0000 (03:01 +0000)]
Add automatic prefix handling to yasm functions.  Does nothing now, but will
be useful for porting x264 asm in the future.

Originally committed as revision 16234 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoReplace /2 by >>1 in decode_cabac_mb_dqp()
Michael Niedermayer [Fri, 19 Dec 2008 02:28:51 +0000 (02:28 +0000)]
Replace /2 by >>1 in decode_cabac_mb_dqp()
3 cpu cycles speed up on pentium dual.

Originally committed as revision 16233 to svn://svn.ffmpeg.org/ffmpeg/trunk

15 years agoSimplify ctx update in decode_cabac_mb_dqp().
Michael Niedermayer [Fri, 19 Dec 2008 02:00:33 +0000 (02:00 +0000)]
Simplify ctx update in decode_cabac_mb_dqp().
no speed change

Originally committed as revision 16232 to svn://svn.ffmpeg.org/ffmpeg/trunk