Commit Graph

3375 Commits

Author SHA1 Message Date
Michael Niedermayer
187c9be7a6 replace *_dequant (2 intra, 1 inter) by qmat (3 intra, 3 inter) (needed for theora according to spec)
Originally committed as revision 5774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 08:09:08 +00:00
Michael Niedermayer
d2744e19e0 use RSHIFT
Originally committed as revision 5773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 21:09:32 +00:00
Michael Niedermayer
4501e678e7 useless memcpy
Originally committed as revision 5772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 21:00:38 +00:00
Michael Niedermayer
7cfe7fe5e7 some fixmes if someone ever wants to implement theora support correctly ...
Originally committed as revision 5771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 20:47:48 +00:00
Michael Niedermayer
e278056fba check how many bits are left after decoding extradata
this change is messy as whoever wrote the original code copied the GetBitContext instead of passing a pointer to it which has to be fixed for the above thing

Originally committed as revision 5770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 20:30:39 +00:00
Michael Niedermayer
b7f3fdd779 cleanup
Originally committed as revision 5769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 19:21:59 +00:00
Loren Merritt
717b173366 slightly faster h264 fill_caches()
Originally committed as revision 5768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 18:55:18 +00:00
Justin Ruggles
e1bbc0321c cosmetic change to adjust alignment.
Originally committed as revision 5767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 17:08:25 +00:00
Justin Ruggles
5f3acd9ec9 Modify preset compression levels to utilize log search.
Originally committed as revision 5766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 17:04:54 +00:00
Måns Rullgård
7a5f09f66e cosmetics
Originally committed as revision 5764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 16:23:12 +00:00
Michael Niedermayer
dbb45a3bb7 log prediction order search method
Originally committed as revision 5763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 15:46:45 +00:00
Justin Ruggles
26053bdcc8 Add lpc order search. This creates new compression levels 6 to 12.
Originally committed as revision 5762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 13:34:47 +00:00
Kostya Shishkov
7e84f27693 Don't pass block[6][64] parameter to decode_p_mb as we always use s->block
Originally committed as revision 5761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 03:50:00 +00:00
Kostya Shishkov
0a45801f8e Correct inverse quantization for P-frames
Originally committed as revision 5760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 03:47:34 +00:00
Kostya Shishkov
c5b32ec1cb Rounding control for motion compensation.
Originally committed as revision 5759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-16 03:45:04 +00:00
Michael Niedermayer
408ec4e2a6 calculate all coefficients for several orders during cholesky factorization, the resulting coefficients are not strictly optimal though as there is a small difference in the autocorrelation matrixes which is ignored for the smaller orders
Originally committed as revision 5758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 23:43:38 +00:00
Stefan Gehrer
5cf226fb09 avoid double copying of left border in luma prediction
Originally committed as revision 5752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 19:31:58 +00:00
Stefan Gehrer
50879935d1 replace run by run+1 in VLC tables
Originally committed as revision 5751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 19:15:08 +00:00
Michael Niedermayer
8ea543b580 cleanup
Originally committed as revision 5750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 19:14:25 +00:00
Stefan Gehrer
c90c39190e change partition flags SYM -> FWD|SYM
Originally committed as revision 5749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:56:17 +00:00
Stefan Gehrer
77f173bef5 set mvP2 also in PSKIP macroblock
Originally committed as revision 5748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:48:50 +00:00
Michael Niedermayer
ab01b2b82a optionally (use_lpc=2) support Cholesky factorization for finding the lpc coeficients
this will find the coefficients which minimize the sum of the squared errors,
  levinson-durbin recursion OTOH is only strictly correct if the autocorrelation matrix is a
  toeplitz matrix which it is only if the blocksize is infinite, this is also why applying
  a window (like the welch winodw we currently use) improves the lpc coefficients generated
  by levinson-durbin recursion ...

optionally (use_lpc>2) support iterative linear least abs() solver using cholesky
  factorization with adjusted weights in each iteration

compression gain for both is small, and multiple passes are of course dead slow

Originally committed as revision 5747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:48:38 +00:00
Stefan Gehrer
643326f747 avoid overflows of qp and pic_type
Originally committed as revision 5746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 18:38:23 +00:00
Måns Rullgård
4b65d88fd7 replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
of gnu extensions

Originally committed as revision 5733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 23:10:01 +00:00
Michael Niedermayer
1484a46753 dither lpc cpeffs
Originally committed as revision 5727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 11:41:52 +00:00
Måns Rullgård
6636b7e8e3 rename AMR config variables to CONFIG_AMR*
Originally committed as revision 5725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 16:49:14 +00:00
Diego Biurrun
f7f03a6303 Remove MPlayer-specific include option hacks.
Originally committed as revision 5723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 15:19:51 +00:00
Diego Biurrun
2f30a81d19 CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or __MINGW32__ instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Michael Niedermayer
21227514de simplify
Originally committed as revision 5696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 22:41:42 +00:00
Michael Niedermayer
b2846effb7 avoid redundant local variables
Originally committed as revision 5695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 15:35:06 +00:00
Michael Niedermayer
69f34e5b1f simplify
Originally committed as revision 5694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 15:20:18 +00:00
Diego Biurrun
e148c6e193 FastUVMV vs FastUVMC typo, noticed by bond
Originally committed as revision 5693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 15:12:45 +00:00
Måns Rullgård
608bd84365 make some tables const
Originally committed as revision 5692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 13:01:06 +00:00
Måns Rullgård
af9e7d1810 --enable/disable parsers. Warning: some combinations are broken.
Originally committed as revision 5691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 12:02:15 +00:00
Michael Niedermayer
a7702890bd remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)
Originally committed as revision 5689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 10:33:49 +00:00
Kostya Shishkov
fdb5983285 Check if 4-MV MB should not be decoded.
Originally committed as revision 5688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 03:00:57 +00:00
Kostya Shishkov
5c4b8efd4b MVRANGE may occur in all frames and RESPIC in all but B-frames
Originally committed as revision 5687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:56:40 +00:00
Kostya Shishkov
3a3f1cf3f8 Fix mquant selection for ALL_MBS mode
Originally committed as revision 5686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:51:13 +00:00
Kostya Shishkov
65c7bb9ec4 Use overlap filter instead of loop filter.
Originally committed as revision 5685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:47:09 +00:00
Kostya Shishkov
d2779ecd8b Use s->first_slice_line in checks instead of s->mb_y
Originally committed as revision 5684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 02:44:05 +00:00
Måns Rullgård
88e2539b7e 10l: make disabling all pcm/adpcm codecs work
Originally committed as revision 5683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 01:08:13 +00:00
Måns Rullgård
f7e79298d1 only build dpcm.o if its codecs are enabled
Originally committed as revision 5681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 23:05:12 +00:00
Måns Rullgård
6f3d6022cf forgot to remove adx.o from objs always built
Originally committed as revision 5680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 22:38:35 +00:00
Måns Rullgård
7239fb5738 make the adx adpcm codec available
Originally committed as revision 5679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 22:31:14 +00:00
Måns Rullgård
327dcfd315 enable/disable pcm and adpcm codecs
Originally committed as revision 5678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 21:15:50 +00:00
Måns Rullgård
a29ff6b76b cosmetic: sort codec list alphabetically
Originally committed as revision 5675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:41:52 +00:00
Justin Ruggles
c6375bf23c allows user-settable block size and fixes related typo
Originally committed as revision 5674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:39:58 +00:00
Måns Rullgård
bac3be382e rewrite kconfig-style
Originally committed as revision 5673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:39:49 +00:00
Måns Rullgård
7f53b77c83 Sun mlib works fine. Remove comment stating otherwise.
Originally committed as revision 5672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:36:21 +00:00
Diego Biurrun
6be4846a1a Remove bogus IPP section that is not referenced anywhere.
Originally committed as revision 5670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 15:29:33 +00:00