Commit Graph

4238 Commits

Author SHA1 Message Date
Roman Shaposhnik e950141a58 * Fixing a bug with incorrect bits set in AAUX source pack
* Making DV codec release a buffer on exit
   * Flagging accepted pix_fmts for DV encoder

Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 07:41:28 +00:00
Michael Niedermayer ac66834c75 avcodec_decode_audio2()
difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space

Originally committed as revision 7518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:50:06 +00:00
Michael Niedermayer 4785c01668 er and strict also apply to audio theoretically
Originally committed as revision 7510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:19:22 +00:00
Aurelien Jacobs ae5574508e cosmetics: reindent
Originally committed as revision 7486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:18:14 +00:00
Aurelien Jacobs dd9b86354c add support for another variant of vp6
with block coeffs coded separatly from other parts of the frame

Originally committed as revision 7484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 18:17:15 +00:00
Reimar Döffinger a5ee04c3e0 Buffer for get_bits must be padded because readers may overread.
Originally committed as revision 7477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:11:10 +00:00
Michael Niedermayer 2d0bcfb412 some interlaced direct sanity checks
Originally committed as revision 7442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 02:45:05 +00:00
Michael Niedermayer 3b6dc9ca6d replace a few hardcoded numbers with their correct named ones
Originally committed as revision 7441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 01:00:37 +00:00
Michael Niedermayer 6de062957b fix 16 CABAC_BIT * 10l bug introduced in r6578
Originally committed as revision 7440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 00:56:43 +00:00
Baptiste Coudurier d0f4e4fb17 print error when decoding fails
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-10 14:23:28 +00:00
Diego Biurrun a9621908dc Unconditionally enable Theora decoder. It works fine now and there is no
Theora support through libtheora in FFmpeg.

Originally committed as revision 7435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-10 14:19:33 +00:00
Guillaume Poirier f57c7ad234 add missing bit from commit r7423
Originally committed as revision 7424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 23:34:01 +00:00
Siarhei Siamashka 7a88606398 Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
patch by Siarhei Siamashka % siarhei P siamashka A gmail P com %
Original thread:
Date: Jan 6, 2007 5:07 PM
Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te) (try2)
and
Date: Jan 2, 2007 6:13 PM
Subject: [Ffmpeg-devel] [PATCH] Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)

Originally committed as revision 7423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 23:24:14 +00:00
Robert Swain a5474d50c3 enable bidirectional me with x264
patch by Robert Swain <robert =dot= swain =at= gmail =dot= com>

Originally committed as revision 7422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 18:04:11 +00:00
Diego Biurrun 20c9dfe391 cosmetics: Reorder external libraries.
Originally committed as revision 7418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 00:07:10 +00:00
Diego Biurrun 6ebe07fbb5 variable renaming: mp3lame --> libmp3lame
Originally committed as revision 7417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 00:02:15 +00:00
Diego Biurrun 2eed5a461f Rename variables: faad --> libfaad, faac --> libfaac, faadbin --> libfaadbin
Originally committed as revision 7416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:54:01 +00:00
Diego Biurrun 3ffab36139 variable renaming: dts --> libdts
Originally committed as revision 7415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:44:48 +00:00
Diego Biurrun f8904fd959 Rename variables: a52 --> liba52, a52bin --> liba52bin
Originally committed as revision 7414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:33:43 +00:00
Michael Niedermayer bc9a459780 maybe fixing a segfault
Originally committed as revision 7407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-03 11:32:02 +00:00
Michael Niedermayer 1e90b34f08 dead code removial
Originally committed as revision 7405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-03 00:48:20 +00:00
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