Commit Graph

4217 Commits

Author SHA1 Message Date
Michael Niedermayer
396a5e6837 store a few values in the header as difference to the last
this makes frames a few bytes smaller (0.1% for high bitrate but >1% for low bitrates)

Originally committed as revision 7401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 12:24:31 +00:00
Kostya Shishkov
aac88b534c Decode previous 32 frames to avoid seeking artifacts in MPC
Originally committed as revision 7393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 05:32:27 +00:00
Michael Niedermayer
2606f38a67 skiprd doxygen comment from avcodec.h -> AVOption comment
Originally committed as revision 7376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-26 17:08:03 +00:00
Kostya Shishkov
185c7b6b26 Musepack SV7 decoding support
Originally committed as revision 7375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-24 04:51:43 +00:00
Michael Niedermayer
c52f5d66a2 skiprd
Originally committed as revision 7365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-23 03:05:36 +00:00
Michael Niedermayer
d951bb9a5c test DIRECT{0,0} too if flag mv0 is used
slight PSNR/bitrate increase

Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 23:30:57 +00:00
Baptiste Coudurier
a45bc5922f bt 0 is invalid, setting min to 1
Originally committed as revision 7357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 10:10:13 +00:00
Aurelien Jacobs
df32bc1213 more simplification
Originally committed as revision 7352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 22:58:02 +00:00
Michael Niedermayer
acff54d831 10l
Originally committed as revision 7351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 22:35:13 +00:00
Michael Niedermayer
5970845f1f FIXME has already been fixed ages ago
Originally committed as revision 7348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:49:40 +00:00
Michael Niedermayer
66884a2946 simplify
Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:46:32 +00:00
Michael Niedermayer
d6975eb82b use qscale_table in adaptive quant
some PSNR/bitrate improvement for adaptive quant

Originally committed as revision 7346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:45:53 +00:00
Michael Niedermayer
2175b80bed simplify
Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:22:16 +00:00
Michael Niedermayer
3b9cf3bdb3 i think this if() is useless lets abuse our users to test this ;)
Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:21:44 +00:00
Michael Niedermayer
2f16af0667 skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)
Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 15:20:02 +00:00
Michael Niedermayer
59743d16c7 dont randomly disallow intr4v in adaptive quant
some PSNR/bitrate gain if adaptive quant is used
initalize qscale_table correctly (it was pretty much random since the qp->lambda change)
  this probably has not much effect as the table isnt used currently IIRC

Originally committed as revision 7342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 14:24:23 +00:00
Michael Niedermayer
51b1a6c939 dont randomly dissallow direct MBs
some PSNR/bitrate gain for b frames with adaptive quant or QPRD

Originally committed as revision 7341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 13:23:49 +00:00
Michael Niedermayer
cb284d4b77 try direct mode MB after QPRD, slight PSNR/bitrate gain if b frames + QPRD
Originally committed as revision 7336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 23:43:13 +00:00
Michael Niedermayer
e4d0e2edb9 fix special casing of the 0,0 MV for b frames (slight PSNR/bitrate gain)
Originally committed as revision 7334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 17:11:54 +00:00
Michael Niedermayer
ff8dc81b5b dont favor the zero MV if mv0 is used (psnr per bitrate gains ranging from 0 to 0.14, most are <=0.04 though)
Originally committed as revision 7333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 01:30:17 +00:00
Guillaume Poirier
5a5c770d5a Add SSSE3 (Core2 aka Conroe/Merom/Woodcrester new instructions) detection
Originally committed as revision 7332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-18 22:43:09 +00:00
Michael Niedermayer
832a7b631f minor doc fix
Originally committed as revision 7331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-18 19:27:28 +00:00
Baptiste Coudurier
7910d13474 always print message when error, AV_LOG_DEBUG -> AV_LOG_ERROR
Originally committed as revision 7330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-18 13:45:03 +00:00
Aurelien Jacobs
9110a0e32d Add support for VP60 and VP61.
Originally committed as revision 7329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 22:00:12 +00:00
Michael Niedermayer
95cefcb4ed 10l
Originally committed as revision 7328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 15:41:30 +00:00
Aurelien Jacobs
c29ff23c2a small optimization
Originally committed as revision 7327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 15:26:50 +00:00
Michael Niedermayer
af6a403a05 warn user if the selected diamond size is larger then the motion estimation score cache size
Originally committed as revision 7326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 13:11:34 +00:00
Michael Niedermayer
a6daaf7cce limit x/ymin/max to me_range
slight psnr/bitrate gain for most but not all files if me_range is used

Originally committed as revision 7325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 12:07:09 +00:00
Reimar Döffinger
6f3e4e1712 Check mb_pos is big enough before trying to access data left or above.
Fixes out-of-bound access for http://samples.mplayerhq.hu/V-codecs/WMV9/nokia_n90.wmv

Originally committed as revision 7324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 11:11:44 +00:00
Benjamin Larsson
162b983598 av_log(NULL,... -> av_log(avctx,.. where appropriate.
Originally committed as revision 7319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-14 17:58:25 +00:00
Benjamin Larsson
e7a6d5f313 Bug fix for crashes when SSE is used on unaligned arrays.
No measureable change in speed. This gave random crashes on Win32
and BeOS. The cause for this bug is that gcc doesn't align the
stackframe. Linux and glibc always ensure this to be true thus
this never affected Linux.

Originally committed as revision 7318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-14 17:50:23 +00:00
Diego Biurrun
f70d367b63 vqmin/vqmax --> qmin/qmax in the option description
Originally committed as revision 7316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 11:10:41 +00:00
Guillaume Poirier
e828d257e7 Doxygen comments about variables described by Michael here:
Date: Tue, 12 Dec 2006 14:00:54 +0100
Subject: Re: [Ffmpeg-cvslog] r6876 - trunk/libavcodec/motion_est.c

Originally committed as revision 7288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 13:41:17 +00:00
Michael Niedermayer
2b0cdd9ec6 mv overflow in map fix (untested except regression tests)
Originally committed as revision 7287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 13:31:12 +00:00
Reimar Döffinger
c8aee695c5 Fix JPEG-LS encoder 0xff-escaping writing too much or uninitialized data.
Originally committed as revision 7284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 20:18:36 +00:00
Panagiotis Issaris
c6b237da9e Adding H.264 DCT.
Originally committed as revision 7282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 15:53:55 +00:00
Michael Niedermayer
2f5560ee49 fix playback of mp3_bits_left.avi
Originally committed as revision 7279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 13:01:20 +00:00
Guillaume Poirier
ec4e0056ef GCC 3.3 compile fix
Originally committed as revision 7277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 10:52:18 +00:00
Diego Biurrun
895bf49961 Improve option description.
Originally committed as revision 7276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 10:51:42 +00:00
Måns Rullgård
c1173617ce improved stack misalignment warning
Originally committed as revision 7275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 09:19:58 +00:00
Panagiotis Issaris
e39e60a37e Adding function which enables writing H.264 NAL units.
Originally committed as revision 7273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 01:00:50 +00:00
Reimar Döffinger
46f9dcc3ee Fix 16 bit cscd samples, 16 bit raw means RGB555 on Windows, and the original
cscd codec is for windows.

Originally committed as revision 7266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-09 13:30:28 +00:00
Reimar Döffinger
2c04fc1f8c Typo in error message
Originally committed as revision 7265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-09 13:13:45 +00:00
Martin Storsjö
4027ed1d06 fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsjö, martin at martin st
Originally committed as revision 7261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 13:25:37 +00:00
Kostya Shishkov
a4b940198a Deobfuscate expression
Originally committed as revision 7260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 05:28:00 +00:00
Kostya Shishkov
3dd52c5afe Now ZMBV encoder compiles
Originally committed as revision 7259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 05:13:40 +00:00
Kostya Shishkov
766937298e 1e6l forgot to add zmbvenc.c
Originally committed as revision 7258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 04:37:00 +00:00
Måns Rullgård
c97dc988ba lavc is at major version 51, delete old stuff
Originally committed as revision 7257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:42:55 +00:00
Måns Rullgård
849f10351d rename always_inline to av_always_inline and move to common.h
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-08 00:35:08 +00:00
Michael Niedermayer
6c81ca9906 better warning
Originally committed as revision 7250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 18:35:58 +00:00