Commit Graph

343 Commits

Author SHA1 Message Date
Michael Niedermayer
653f738780 exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane,
matches the order of some other stuff and allows some simplifications)

Originally committed as revision 9864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 22:12:52 +00:00
Michael Niedermayer
0eb7d78066 remove "Advanced Prediction Mode not supported" spam
Originally committed as revision 9805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:47:43 +00:00
Michael Niedermayer
59ba3fd0b6 also support DEBUG_PICT_INFO for h263i
Originally committed as revision 9804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:46:43 +00:00
Michael Niedermayer
1be7c87fdd move show_pict_info() to its own function
Originally committed as revision 9803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 15:44:46 +00:00
Aurelien Jacobs
99439cb72c Better place to disable some mpeg4 code and ensure that
ff_write_quant_matrix() won't be used when mpeg4 encoder is disabled.

Originally committed as revision 9579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:31:17 +00:00
Aurelien Jacobs
898d5d5daa move init_vlc_rl from h263.c to mpegvideo.c
Originally committed as revision 9578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 17:17:42 +00:00
Aurelien Jacobs
7da31a80b7 Split ff_set_mpeg4_time() and move the non mpeg4 specific part
into mpegvideo_enc.c.

Originally committed as revision 9577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 14:37:33 +00:00
Aurelien Jacobs
196b8b4ecc don't compile some mpeg4 encoder code when encoders are disabled
Originally committed as revision 9571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 08:40:00 +00:00
Aurelien Jacobs
b776e3d11b move ff_set_qscale from h263.c to mpegvideo.c
Originally committed as revision 9567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 21:07:24 +00:00
Diego Biurrun
7b94177e37 Group all copyright and author notices together.
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Harald Karnet
f1edd8ef90 Correct the parameter order for the call to "av_clip".
Patch by Harald Karnet, harald karner % gmx net.
Thread [FFmpeg-devel] [PATCH] Bugfix H.263+ encoder frame header corruption

Originally committed as revision 9131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 14:42:11 +00:00
Diego Biurrun
a2e4c0ddae Remove duplicate #includes, avcodec.h #includes common.h.
Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 07:21:14 +00:00
Michael Niedermayer
beac8235b9 fix possibly exploitable stack overflow with num_sprite_warping_points (found by reimar)
Originally committed as revision 8919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 15:25:04 +00:00
Michael Niedermayer
7ca6cc099c 10l for myself, fixing --disable-encoders
Originally committed as revision 8408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 23:23:30 +00:00
Michael Niedermayer
3502a54f59 kill av_mallocz_static() calls in init_rl()
Originally committed as revision 8402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 13:19:19 +00:00
Michael Niedermayer
5ac0915179 dont malloc() static mv_penalty arrays
Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:05 +00:00
Michel Bardiaux
318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Reimar Döffinger
f66e4f5f9e Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 10:27:12 +00:00
Diego Biurrun
eafcac6ac8 cosmetics: Fix another common typo, dependAnt --> dependEnt.
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 09:41:43 +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
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
6c4d16556b 10000l to myself, fixing regression test failure
Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 01:23:47 +00:00
Michael Niedermayer
b5ca0c6ff9 100l for me, iam being to stupid to read the mpeg4 spec / eat stuffing mbs a the end of the picture
Originally committed as revision 6942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 18:15:54 +00:00
Baptiste Coudurier
1766295516 add codec_tag and codec_stream_tag to MpegEncContext to not alter avctx values
Originally committed as revision 6930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 09:46:57 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Michael Niedermayer
6d3124961b fix rv20 b frames (broke since r5264 Mon Apr 3 07:52:24 2006 UTC 2x faster ff_mpeg4_set_direct_mv)
Originally committed as revision 6388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 23:34:42 +00:00
Måns Rullgård
b86216de4c dc_val should be signed
Originally committed as revision 6364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 22:13:44 +00:00
Måns Rullgård
62bb489b13 add some #ifdef CONFIG_ENCODERS/DECODERS
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:54:07 +00:00
Måns Rullgård
191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Michael Niedermayer
25be48eb48 fix non ALT bitstream reader
Originally committed as revision 6070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 09:24:50 +00:00
Michael Niedermayer
3b29cb6b59 add outcommented chunk of code to handle stuffing MBs at the end of slices (IMHO the standard doesnt allow this and there are no real world files which need it)
Originally committed as revision 5350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-08 13:44:54 +00:00
Michael Niedermayer
7f12a9780e use previous qscale for intra_dc_threshold check
Originally committed as revision 5329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 17:29:07 +00:00
D Richard Felker III
7b98bcbd0f signedness error caused broken decoding
Originally committed as revision 5277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:53:40 +00:00
D Richard Felker III
c4e2a535b3 100l to loren. at least this fixes the compile error, but the code is still broken (decoding buggy/crashing)
Originally committed as revision 5276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:04:00 +00:00
Loren Merritt
841f65f25a 2x faster ff_mpeg4_set_direct_mv
Originally committed as revision 5264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 07:52:24 +00:00
Michael Niedermayer
1956e16653 fixing interlaced direct mode field select values
Originally committed as revision 5183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 01:18:56 +00:00
Michael Niedermayer
c1341a57f2 reset interlaced_dct flag
Originally committed as revision 5155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 19:55:52 +00:00
Michael Niedermayer
cb666260a0 fixing uninitalized dc_pred_dir
this needs testing (no files with intra_dc_threshold and vissible ac_pred errors here)

Originally committed as revision 5137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:40:41 +00:00
Michael Niedermayer
9e801ee2fa very minor optimization
Originally committed as revision 5136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:37:18 +00:00
Michael Niedermayer
f7287c42b2 unused variable
Originally committed as revision 5135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:34:51 +00:00
Michael Niedermayer
07fc2b8278 fixing bframe strategy 2
bits vs. bytes factor of 8 error
  16 byte offset error
  some other minor things

Originally committed as revision 4902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-27 13:19:13 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Benjamin Larsson
946c113046 get_vlc -> get_vlc2 transition and get_vlc() removed from bitstream.h
Originally committed as revision 4829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-08 21:19:39 +00:00
Michael Niedermayer
b7c51ebc89 slightly better mv_penalty table
Originally committed as revision 4770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-24 03:12:07 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00