Commit Graph

4468 Commits

Author SHA1 Message Date
Michael Niedermayer
e91f4bf160 avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 20:07:48 +00:00
Michael Niedermayer
5bb8a0daa1 various fixes related to the non alt_bitstream_reader
Originally committed as revision 4136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 12:08:16 +00:00
Aurelien Jacobs
8230cf0210 add an AMD64 specific implementation of rdtsc()
Originally committed as revision 4135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-18 11:24:20 +00:00
Bret Hughes
6c618a263d gcc 4 compilation fix
patch by Bret Hughes <bhughes at elevating dot com>

Originally committed as revision 4134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 21:41:16 +00:00
Michael Niedermayer
4e492bf107 read 32bit instead of 64bit to avoid overreading and missalignments
Originally committed as revision 4133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 13:30:45 +00:00
Yartrebo
8c2515bbb9 fix overflow in mc_block() patch by (Yartrebo )yartrebo earthlink net
Originally committed as revision 4132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-17 09:27:53 +00:00
Michael Niedermayer
b44985ba12 store the number of runs to avoid storing the last run value
about 10% lower bitrate for -qscale 32 (forman & some music video)
worst case bitrate increase <0.1% (lossless or low qscale)
and now the bad news, even though this just adds a single subtraction and an if() into the medium sized unpack_coeffs() loop and the if() will only be false once per unpac_coeff() call, gcc produces 50% slower code, i didnt look at the generated asm yet, not sure if i want to ...

Originally committed as revision 4131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 13:24:30 +00:00
Loren Merritt
2cd340438a allow 2pass ratecontrol. also fixes psnr displayed by mencoder.
Originally committed as revision 4130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-15 05:54:47 +00:00
Michael Niedermayer
cbb1d2b161 replace complicated pointer dereference + index stuff by pointers in unpack_coeffs()
Originally committed as revision 4129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:54:03 +00:00
Michael Niedermayer
99cd59e58f minor optimization
Originally committed as revision 4128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 20:30:08 +00:00
Michael Niedermayer
3c096ac791 optimizing unpack_coeffs()
Originally committed as revision 4127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-14 18:33:26 +00:00
Yartrebo
86e59cc01d Snow segfault bug in revision 1.43 patch by (Yartrebo /yartrebo earthlink net/)
Originally committed as revision 4126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:57:19 +00:00
Michael Niedermayer
2c34596ff7 non 4:2:0 foobar.{Y,U,V} support
Originally committed as revision 4125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:07:30 +00:00
Måns Rullgård
f40487c282 s/u_char/uint8_t/
Originally committed as revision 4124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-12 22:20:02 +00:00
Måns Rullgård
17929c0468 fix seeking bug
Originally committed as revision 4123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-12 13:33:22 +00:00
Alex Beregszaszi
67c311fafa changed the mailinglist pointers to the new place (mplayerhq)
Originally committed as revision 4122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-11 16:24:58 +00:00
Måns Rullgård
056f6179f0 s/u_char/uint8_t/
Originally committed as revision 4121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 18:03:06 +00:00
Måns Rullgård
2d2f443d53 s/u_char/uint8_t/
Originally committed as revision 4120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 17:25:54 +00:00
Michael Niedermayer
f5a719287d rescale coefficients during IDWT, that way the lifting steps are much simpler and faster
Originally committed as revision 4119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 14:21:53 +00:00
Michael Niedermayer
6fbcfec0c8 testing cvslog
Originally committed as revision 4118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 02:16:45 +00:00
Michael Niedermayer
88e3d29b6b testing cvslog
Originally committed as revision 4117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 02:09:39 +00:00
Måns Rullgård
ad3aa87456 pre-c99 compatibility
Originally committed as revision 4116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 23:27:48 +00:00
Michael Niedermayer
a0a74ad9f0 increasing precission of the quantization parameter
this is needed as the quantization stepsize for each subband is also in this precission and insignificant changes to the wavelet like scaling its coefficients slightly differently would lead to wildly variing PSNR and bitrate
note, a encoder could also simply choose to leave the least significant bits of the quantization parameters zero which would give the exact previous behaviour except a y very tiny number of bits in  the header

Originally committed as revision 4115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 22:15:48 +00:00
Michael Niedermayer
c97de57c39 fix QROOT != 8
Originally committed as revision 4114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 19:48:59 +00:00
Måns Rullgård
9146ca3700 Ogg demuxer ported from tcvp by Luca Barbato <lu_zero at gentoo dot org>,
fixups by me.

Originally committed as revision 4113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 15:32:58 +00:00
Jindřich Makovička
a18ba90880 Fix upside-down picture for BGR24 images (fixes pig-loco-rgb.avi)
Patch by Jindrich Makovicka

Originally committed as revision 4112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-08 21:34:48 +00:00
Roberto Togni
76d6abc17c Fix colors for YV12 case (u/v planes are swapped)
Fixes locoRGBA.avi (the file is really YV12, even if it's called RGBA)

Originally committed as revision 4111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-07 22:02:28 +00:00
François Revol
2d216336f8 "don't quit" option to attach a debugger /check mem leaks
"no write" option to only get next packets

Originally committed as revision 4110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-07 16:52:28 +00:00
Loïc Le Loarer
debc2adb16 CABAC support for MBAFF I frames patch by (Loïc Le Loarer < lll+ffmpeg m4x org)
This patch corrects the support for I slice in CABAC and MBAFF mode.
This decodes correctly 6 more frames of the conformance suite.

Originally committed as revision 4109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 18:29:26 +00:00
Michael Niedermayer
538a38418c 10% faster unpack_coeffs
Originally committed as revision 4108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 17:59:05 +00:00
Michael Niedermayer
3cff4572ce fixing lossless snow
Originally committed as revision 4107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 09:37:43 +00:00
Loïc Le Loarer
826de46ea3 CABAC support for MBAFF I frames patch by (Loïc Le Loarer | lll+ffmpeg m4x org)
Originally committed as revision 4106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-05 01:35:22 +00:00
Benjamin Larsson
0979831511 printf -> av_log patch by (Benjamin Larsson <>banan student.ltu se)
Originally committed as revision 4105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:47:50 +00:00
Michael Niedermayer
565a45ace3 merge vertical lifting steps and a little cleanup
Originally committed as revision 4104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 21:35:18 +00:00
avcoder
a622dc4320 Typo errors patch by (QuickTime | ffmpeg gmail com>
Originally committed as revision 4103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-04 11:25:44 +00:00
Ivan Kalvachev
aa26aa789b reinitialize on aspect change,
required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 17:34:31 +00:00
Yartrebo
a0d1931c0e Snow Slicing patch by (Yartrebo) yartrebo earthlink net
Originally committed as revision 4101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 15:43:57 +00:00
Michael Niedermayer
d13eef3d3d snow regression test
Originally committed as revision 4100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 15:39:17 +00:00
Mike Melanson
589f82202c Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
Konstantin Shishkov

Originally committed as revision 4099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 05:02:08 +00:00
Michael Niedermayer
16543599cc fix vorbis in avi
Originally committed as revision 4098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-01 21:21:12 +00:00
Kostya Shishkov
29846f4845 support some more color modes; patch by Kostya
Originally committed as revision 4097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-01 04:30:31 +00:00
Michael Niedermayer
de39cdf542 reverting 1.66 -> 1.67 change
Originally committed as revision 4096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-30 00:36:30 +00:00
Mike Melanson
5b225466ea free that last frame
Originally committed as revision 4095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 20:40:21 +00:00
Mike Melanson
034eeaa17f Westwood SND1 decoder, courtesy of Kostya
Originally committed as revision 4094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 18:05:25 +00:00
Måns Rullgård
e3d1cd8ee9 PSM support in MPEG-PS demuxer.
Based on a patch by Leon Woestenberg <leonw at mailcan dot com>

Originally committed as revision 4093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 17:33:21 +00:00
Michael Niedermayer
09c3e44e8a motion estimation bitrate penalty compensation
Originally committed as revision 4092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 12:19:59 +00:00
Loren Merritt
048bfeeb12 display deblocking strength in FF_DEBUG_PICT_INFO
Originally committed as revision 4091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 10:58:21 +00:00
Loren Merritt
171070658e allow 16 refs with B-frames
Originally committed as revision 4090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 10:54:16 +00:00
Michael Niedermayer
9625a50190 add Loïc Le Loarer
Originally committed as revision 4089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:47:32 +00:00
Loïc Le Loarer
6ba71fc467 This is the second patch for MBAFF support, this adds the deblocking
filter code for the I slice.

With this patch, 4 more frames are decoded correctly from the
conformance streams.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

Originally committed as revision 4088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:44:11 +00:00