Commit Graph

17033 Commits

Author SHA1 Message Date
Wolfram Gloger 50e3477f0f 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
2008-12-22 08:22:22 +00:00
Kostya Shishkov 108c96d5e7 Decode TIFF image only after all tags have been decoded
Originally committed as revision 16268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:50:18 +00:00
Kostya Shishkov 8eedffde31 Some TIFFs declare -1 for the single strip height
Originally committed as revision 16267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:47:51 +00:00
Kostya Shishkov 89b4ec5c33 Add monochrome TIFF support
Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:43:14 +00:00
Kostya Shishkov 4386ed6922 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
2008-12-22 06:39:31 +00:00
Kostya Shishkov 4a2f51de34 Register TIFF tags for CCITT Group 3 and 4 compression options
Originally committed as revision 16264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:36:10 +00:00
Diego Biurrun bef05f05e4 Remove a bunch of unused variables.
Originally committed as revision 16263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:10:36 +00:00
Diego Biurrun ebb160a0b0 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
2008-12-22 00:03:30 +00:00
Anuradha Suraparaju 64bfc5845b 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
2008-12-22 00:01:39 +00:00
Diego Biurrun c4ff7c53e0 Do not use full include path for headers in the same directory.
Originally committed as revision 16260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:56:55 +00:00
Michael Niedermayer c96bd21227 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
2008-12-21 23:50:16 +00:00
Carl Eugen Hoyos af4c0bcb6e 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
2008-12-21 22:51:33 +00:00
Andreas Öman 1af34f094e 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
2008-12-21 21:53:42 +00:00
Michael Niedermayer ed4c638a07 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
2008-12-21 21:47:29 +00:00
Michael Niedermayer c62da7972b Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:30:36 +00:00
Michael Niedermayer 2f3d7ea974 Fix detection of audio codec in K70707-ARIA229.flv.
Fixes issue760.

Originally committed as revision 16254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 20:56:30 +00:00
Michael Niedermayer befc8fe086 Remove useless code.
Originally committed as revision 16253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 17:49:40 +00:00
Michael Niedermayer c212fb0cb1 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
2008-12-21 15:58:42 +00:00
Robert Swain 897c1703d0 AAC: Reindent after last commit
Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:32:55 +00:00
Alex Converse aab5413323 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
2008-12-21 05:28:14 +00:00
Alex Converse 99665a21f4 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
2008-12-21 05:08:32 +00:00
Michael Niedermayer 66c07ca96f Optimize get_dct8x8_allowed().
30 cpu cycles faster on pentium dual.

Originally committed as revision 16248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 23:11:30 +00:00
Kostya Shishkov 6beb8b2612 RV30 decoder
Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 18:06:01 +00:00
Carl Eugen Hoyos 52476c1bee Use AV_GCC_VERSION_AT_LEAST() to simplify gcc version checks.
Originally committed as revision 16246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 17:33:35 +00:00
Kostya Shishkov 541e8f3bec RV30 loop filter
Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 06:09:54 +00:00
Reynaldo H. Verdejo Pinochet 3f16ed15df 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
2008-12-20 02:38:34 +00:00
Stefano Sabatini 64e74b68a4 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
2008-12-19 22:37:56 +00:00
Stefano Sabatini 5c548937e0 Cosmetics, change variable name "o2" to "o" in ffserver_opt_default().
Originally committed as revision 16242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:33:15 +00:00
Stefano Sabatini f16dd7e65a 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
2008-12-19 22:29:30 +00:00
Jason Garrett-Glaser aac8b76983 H.264 loopfilter speed tweaks
Originally committed as revision 16240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 14:49:17 +00:00
Jason Garrett-Glaser a22eff36f9 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
2008-12-19 13:45:13 +00:00
Diego Biurrun b9263c945f Remove pointless malloc.h #include.
Originally committed as revision 28164 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-12-19 09:59:59 +00:00
Diego Biurrun bbea3555ec Remove pointless malloc.h #include.
Originally committed as revision 16238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:59:18 +00:00
Michael Niedermayer 6a1846eb4a Document new idct requirements.
Originally committed as revision 16237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:34:18 +00:00
Michael Niedermayer a5805aa9d1 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
2008-12-19 09:21:54 +00:00
Kostya Shishkov bbc888d0c5 a table for upcoming RV30 loop filtering
Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 06:29:35 +00:00
Jason Garrett-Glaser 40c7d0ae3c 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
2008-12-19 03:01:08 +00:00
Michael Niedermayer a5b807a6c1 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
2008-12-19 02:28:51 +00:00
Michael Niedermayer 1aea5d35e5 Simplify ctx update in decode_cabac_mb_dqp().
no speed change

Originally committed as revision 16232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:00:33 +00:00
Michael Niedermayer 7cfca0dfd8 Simplify ctx calculation in decode_cabac_mb_dqp()
no speed change

Originally committed as revision 16231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:50:20 +00:00
Alexander Strange d43696309a Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of NALs in rbsp_buffer.
Fixes valgrind uninitialized value warnings at the end of decoding H.264
frames.

Originally committed as revision 16230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:11:52 +00:00
Alexander Strange 1ca610c015 Allocate and clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of mkv
extradata.

Fixes valgrind invalid read warnings during H.264 extradata parsing.

Originally committed as revision 16229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:00:44 +00:00
Jason Garrett-Glaser 712ca84c21 Move filter_luma_intra into dsputil for later addition of asm.
Originally committed as revision 16228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:44:51 +00:00
Jason Garrett-Glaser b9fe706305 Simplify chroma AC in CABAC residual decoding.
Originally committed as revision 16227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:43:30 +00:00
Michael Niedermayer 8955b66950 Optimize ctx calculation in decode_cabac_mb_mvd(), code by dark shikari.
The case for 16x16 blocks becomes 10 cpu cycles faster on pentium dual,
i could not find a speed difference in the case of subblocks though.

Originally committed as revision 16226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:05:39 +00:00
Michael Niedermayer 17779f39b6 Remove unacceptable NULL pointer hack from mc code.
Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:52:32 +00:00
Michael Niedermayer 04618b98e3 Check ref values in CABAC H.264 for validity.
Originally committed as revision 16224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:31:10 +00:00
Michael Niedermayer c25ac15a07 Move idct_(dc)add closer to where it is needed.
Originally committed as revision 16223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:25:11 +00:00
Michael Niedermayer aebb5d6d96 indent
Originally committed as revision 16222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:14:38 +00:00
Michael Niedermayer 96465b90a1 Reorder ifs in chroma hl_decode_mb to avoid a duplicate transform_bypass
check.
14 cpu cycles speedup on Pentium Dual

Originally committed as revision 16221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:12:59 +00:00