Statistics
| Branch: | Revision:

ffmpeg / libavcodec / snow.c @ bb54f6ab

History | View | Annotate | Download (166 KB)

# Date Author Comment
a9dc190f 11/02/2006 07:11 PM Tom Harper

outputs bit spent on various encoding functions (motion vectors, overhead, etc)
back into AVCodecContext for external consumption
patch by Tom Harper % d P thomas P harper A gmail P com %
Original thread:
Date: Nov 2, 2006 1:30 AM
Subject: [Ffmpeg-devel] [patch] snow stats...

949b1a13 11/01/2006 10:39 PM Steve L'Homme

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

5ed0d67d 10/12/2006 08:55 PM Michael Niedermayer

-1 is a valid return value in ratecontrol_1pass() -> 100l for takis

Originally committed as revision 6677 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

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

36c32bdd 10/03/2006 05:12 PM Diego Biurrun

Remove unused variables and the corresponding warnings along with them.

Originally committed as revision 6536 to svn://svn.ffmpeg.org/ffmpeg/trunk

4156a436 09/26/2006 02:04 PM Panagiotis Issaris

Handle possible failure of ff_eval.

Originally committed as revision 6338 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7e89c73 09/01/2006 10:02 PM Loren Merritt

snow cosmetics: merge the sliced and non-sliced versions of add_yblock

Originally committed as revision 6149 to svn://svn.ffmpeg.org/ffmpeg/trunk

74e6a8aa 09/01/2006 09:51 PM Loren Merritt

fix snow 1pass rc: the qlog used and the one written to the bitstream weren't always the same.

Originally committed as revision 6148 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed4e20ac 08/08/2006 10:24 AM Diego Biurrun

Fix some "'static' is not at beginning of declaration" warnings.

Originally committed as revision 5956 to svn://svn.ffmpeg.org/ffmpeg/trunk

086bfd25 06/04/2006 09:54 PM Michael Niedermayer

support doing motion estimation and compensation without any residual transform or coding
this is usefull for filters which need ME/MC

Originally committed as revision 5456 to svn://svn.ffmpeg.org/ffmpeg/trunk

7374794a 05/30/2006 07:45 PM Loren Merritt

Snow: don't try to encode lossless with 9/7 wavelet, because it isn't lossless.

Originally committed as revision 5433 to svn://svn.ffmpeg.org/ffmpeg/trunk

d4b287ed 05/30/2006 07:40 PM Loren Merritt

Snow: cosmetics

Originally committed as revision 5432 to svn://svn.ffmpeg.org/ffmpeg/trunk

85fc0e75 05/30/2006 04:42 PM Loren Merritt

Snow: scale predicted mv based on which reference frame the neighbors used.

Originally committed as revision 5431 to svn://svn.ffmpeg.org/ffmpeg/trunk

7f21a9a7 05/30/2006 06:49 AM Loren Merritt

Snow: cosmetics

Originally committed as revision 5428 to svn://svn.ffmpeg.org/ffmpeg/trunk

871371a7 05/30/2006 05:44 AM Loren Merritt

Snow: fix subband weighting in wavelet cmp functions. use 32x32 cmp in iterative motion estimation.

Originally committed as revision 5427 to svn://svn.ffmpeg.org/ffmpeg/trunk

383f62fd 05/30/2006 04:51 AM Loren Merritt

Snow: 10l. 1pass ratecontrol failed to set snow's internal quant.

Originally committed as revision 5426 to svn://svn.ffmpeg.org/ffmpeg/trunk

8c36eaaa 05/28/2006 09:44 PM Loren Merritt

Snow multiple reference frames
(bitstream is not backwards compatible, even if refs aren't used)

Originally committed as revision 5417 to svn://svn.ffmpeg.org/ffmpeg/trunk

4e64bead 05/28/2006 12:38 PM Loren Merritt

Snow 1pass ratecontrol

Originally committed as revision 5416 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a1a7e32 05/13/2006 10:45 AM Michael Niedermayer

sanity checks, some might have been exploitable ...

Originally committed as revision 5369 to svn://svn.ffmpeg.org/ffmpeg/trunk

561a18d3 03/20/2006 05:52 AM Robert Edele

Snow mmx + sse2 part 2

Patch by Robert Edele, yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5184 to svn://svn.ffmpeg.org/ffmpeg/trunk

059715a4 03/16/2006 07:18 PM Robert Edele

First part of a series of speed-enchancing patches.
This one sets up a snow.h and makes snow use the dsputil function pointer
framework to access the three functions that will be implemented in asm
in the other parts of the patchset.
Patch by Robert Edele < yartrebo AH earthlink POIS net>...

fc8c4992 03/14/2006 12:22 AM Michael Niedermayer

dont pass intra flag if its always 0

Originally committed as revision 5164 to svn://svn.ffmpeg.org/ffmpeg/trunk

8f8ae495 03/13/2006 01:27 AM Loren Merritt

seed iterative_me with mvs from conventional search.
+15% speed, +.1 dB

Originally committed as revision 5158 to svn://svn.ffmpeg.org/ffmpeg/trunk

07674d51 03/13/2006 01:26 AM Loren Merritt

obey vqscale in 2nd pass

Originally committed as revision 5157 to svn://svn.ffmpeg.org/ffmpeg/trunk

e7c8206e 03/11/2006 12:19 AM Michael Niedermayer

av_free -> av_freep

Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk

87f20c2f 03/11/2006 12:18 AM Michael Niedermayer

fix %8 != 0 w/h

Originally committed as revision 5144 to svn://svn.ffmpeg.org/ffmpeg/trunk

ceaf1909 01/30/2006 11:33 PM Dieter

add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk

4f59b684 01/24/2006 10:33 AM Diego Biurrun

Remove all stray tabs and trailing whitespace, this time for good.

Originally committed as revision 4891 to svn://svn.ffmpeg.org/ffmpeg/trunk

48d1b9a1 01/21/2006 02:35 AM Loren Merritt

fix convergence of snow iterative_me

Originally committed as revision 4876 to svn://svn.ffmpeg.org/ffmpeg/trunk

3de79d0d 01/21/2006 02:33 AM Loren Merritt

revert 1.83 because it's not needed

Originally committed as revision 4875 to svn://svn.ffmpeg.org/ffmpeg/trunk

d3ac6ed6 01/19/2006 09:21 AM Loren Merritt

detect when iterative_me fails to converge, and stop searching

Originally committed as revision 4868 to svn://svn.ffmpeg.org/ffmpeg/trunk

b104969f 01/17/2006 08:27 AM Loren Merritt

obmc-aware 4mv

Originally committed as revision 4864 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

c8a596d2 01/12/2006 09:37 PM Michael Niedermayer

bugs found by valgrind

Originally committed as revision 4841 to svn://svn.ffmpeg.org/ffmpeg/trunk

1015631b 01/12/2006 05:47 AM Loren Merritt

faster iterative_me: avoid duplicate mc of neighboring blocks.

Originally committed as revision 4839 to svn://svn.ffmpeg.org/ffmpeg/trunk

80e44bc3 01/08/2006 01:50 AM Michael Niedermayer

use h264 MC functions for 2xX Xx2 blocks in snow too

Originally committed as revision 4824 to svn://svn.ffmpeg.org/ffmpeg/trunk

2692ceab 01/07/2006 06:34 PM Michael Niedermayer

use h264 MC functions for rectangular blocks too

Originally committed as revision 4821 to svn://svn.ffmpeg.org/ffmpeg/trunk

39277cf9 01/07/2006 03:39 AM Michael Niedermayer

10l (assertion failure)

Originally committed as revision 4819 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b6ab26c 01/04/2006 10:34 PM Michael Niedermayer

cleanup
fix 4mv playback distortions

Originally committed as revision 4813 to svn://svn.ffmpeg.org/ffmpeg/trunk

003cd80d 12/30/2005 10:41 PM Fran├žois Revol

:%s/check_block_2p/check_block_inter/g

Originally committed as revision 4794 to svn://svn.ffmpeg.org/ffmpeg/trunk

52137f2f 12/30/2005 09:05 PM Fran├žois Revol

this fixes compilation with gcc 2.95 which seems to not like array casting... special case inline of check_block which makes the array and passes it

Originally committed as revision 4793 to svn://svn.ffmpeg.org/ffmpeg/trunk

13705b69 12/30/2005 03:12 PM Michael Niedermayer

mem corruption fix

Originally committed as revision 4789 to svn://svn.ffmpeg.org/ffmpeg/trunk

d6f41eed 12/29/2005 02:17 AM Michael Niedermayer

4mv + iter ME 10l fix (still not bugfree but better)

Originally committed as revision 4783 to svn://svn.ffmpeg.org/ffmpeg/trunk

735f9f34 12/28/2005 11:45 PM Michael Niedermayer

10l

Originally committed as revision 4782 to svn://svn.ffmpeg.org/ffmpeg/trunk

51d6a3cf 12/28/2005 03:43 PM Michael Niedermayer

iterative overlapped block based motion estimation for snow

Originally committed as revision 4781 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

daba69b2 12/19/2005 06:26 PM Michael Niedermayer

10l

Originally committed as revision 4758 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

4393e639 12/03/2005 02:20 PM Michael Niedermayer

check block_max_depth (fixes crash)

Originally committed as revision 4718 to svn://svn.ffmpeg.org/ffmpeg/trunk

91aa4e33 12/03/2005 03:07 AM Michael Niedermayer

make selftest code compile again

Originally committed as revision 4717 to svn://svn.ffmpeg.org/ffmpeg/trunk

62ab0b78 09/21/2005 11:09 PM Aurelien Jacobs

fix unused variable warnings

Originally committed as revision 4609 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc884a35 08/21/2005 10:17 PM Michael Niedermayer

reducing minimum supported picture size

Originally committed as revision 4535 to svn://svn.ffmpeg.org/ffmpeg/trunk

9cd81798 05/08/2005 08:15 PM Michael Niedermayer

#defines for strict_std_compliance and split between inofficial extensions and non standarized things

Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk

644a9262 04/25/2005 06:29 PM Michael Niedermayer

PIX_FMT_NONE and related fixes

Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk

66b32bf2 04/25/2005 10:03 AM Yartrebo

tighter snow slicing patch by (Yartrebo || yartrebo earthlink net)

Originally committed as revision 4159 to svn://svn.ffmpeg.org/ffmpeg/trunk

160d679c 04/24/2005 05:21 PM Mike Melanson

Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")

Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk

8c2515bb 04/17/2005 09:27 AM Yartrebo

fix overflow in mc_block() patch by (Yartrebo )yartrebo earthlink net

Originally committed as revision 4132 to svn://svn.ffmpeg.org/ffmpeg/trunk

b44985ba 04/15/2005 01:24 PM Michael Niedermayer

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 ......

2cd34043 04/15/2005 05:54 AM Loren Merritt

allow 2pass ratecontrol. also fixes psnr displayed by mencoder.

Originally committed as revision 4130 to svn://svn.ffmpeg.org/ffmpeg/trunk

cbb1d2b1 04/14/2005 08:54 PM Michael Niedermayer

replace complicated pointer dereference + index stuff by pointers in unpack_coeffs()

Originally committed as revision 4129 to svn://svn.ffmpeg.org/ffmpeg/trunk

99cd59e5 04/14/2005 08:30 PM Michael Niedermayer

minor optimization

Originally committed as revision 4128 to svn://svn.ffmpeg.org/ffmpeg/trunk

3c096ac7 04/14/2005 06:33 PM Michael Niedermayer

optimizing unpack_coeffs()

Originally committed as revision 4127 to svn://svn.ffmpeg.org/ffmpeg/trunk

86e59cc0 04/13/2005 01:57 AM Yartrebo

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

f5a71928 04/10/2005 02:21 PM Michael Niedermayer

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

a0a74ad9 04/09/2005 10:15 PM Michael Niedermayer

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...

c97de57c 04/09/2005 07:48 PM Michael Niedermayer

fix QROOT != 8

Originally committed as revision 4114 to svn://svn.ffmpeg.org/ffmpeg/trunk

538a3841 04/05/2005 05:59 PM Michael Niedermayer

10% faster unpack_coeffs

Originally committed as revision 4108 to svn://svn.ffmpeg.org/ffmpeg/trunk

3cff4572 04/05/2005 09:37 AM Michael Niedermayer

fixing lossless snow

Originally committed as revision 4107 to svn://svn.ffmpeg.org/ffmpeg/trunk

565a45ac 04/04/2005 09:35 PM Michael Niedermayer

merge vertical lifting steps and a little cleanup

Originally committed as revision 4104 to svn://svn.ffmpeg.org/ffmpeg/trunk

a0d1931c 04/03/2005 03:43 PM Yartrebo

Snow Slicing patch by (Yartrebo) yartrebo earthlink net

Originally committed as revision 4101 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9e6ebf7 03/15/2005 09:05 PM Loren Merritt

slice-based idwt (10% faster decoding)

Originally committed as revision 4040 to svn://svn.ffmpeg.org/ffmpeg/trunk

53513831 02/24/2005 04:39 PM Michael Niedermayer

-strict -1 comment fix

Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk

934982c4 01/23/2005 06:09 PM Michael Niedermayer

avoid buf_size == 0 checks in every decoder

Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk

d06c75a8 01/16/2005 10:11 PM Matthieu Castet

10l patch by (matthieu castet <castet.matthieu free fr>)

Originally committed as revision 3842 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk

8ff53f5b 01/03/2005 04:13 PM Gianluigi Tiesi

Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)

Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk

2554db9b 11/25/2004 07:26 PM Michael Niedermayer

fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be})

Originally committed as revision 3713 to svn://svn.ffmpeg.org/ffmpeg/trunk

28869757 10/30/2004 02:16 AM Michael Niedermayer

CABAC -> range coder

Originally committed as revision 3655 to svn://svn.ffmpeg.org/ffmpeg/trunk

d7d51926 09/24/2004 06:12 PM Michael Niedermayer

unused

Originally committed as revision 3502 to svn://svn.ffmpeg.org/ffmpeg/trunk

715a97f0 09/23/2004 12:20 PM Michael Niedermayer

merge predict_plane() with DWTELEM->8bit conversation (21% faster)

Originally committed as revision 3499 to svn://svn.ffmpeg.org/ffmpeg/trunk

034aff03 09/21/2004 11:10 PM Michael Niedermayer

8 -> FRAC_BITS

Originally committed as revision 3489 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa25a462 09/19/2004 02:43 PM D Richard Felker III

consistent use of types patch by (D Richard Felker III <dalias at aerifal dot cx>)

Originally committed as revision 3480 to svn://svn.ffmpeg.org/ffmpeg/trunk

7c2425d2 09/17/2004 11:51 PM Loren Merritt

simplify getsymbol patch by (Loren Merritt <lorenm at u dot washington dot edu>)

Originally committed as revision 3476 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd368b56 09/15/2004 01:55 AM Michael Niedermayer

per picture psnr

Originally committed as revision 3465 to svn://svn.ffmpeg.org/ffmpeg/trunk

d92b5807 09/12/2004 11:09 PM Michael Niedermayer

100l (forgot to set the 8x8 mc functions, so ME did use the mpeg ones ...)

Originally committed as revision 3456 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec697587 09/12/2004 09:32 PM Michael Niedermayer

use h264 MC code if possible
50% faster predict_plane() if mmx2/3dnow is available
0.1% bitrate increase

Originally committed as revision 3455 to svn://svn.ffmpeg.org/ffmpeg/trunk

3924dac4 09/12/2004 10:51 AM Michael Niedermayer

use pointer arithmetic in mc_block(), 25% faster

Originally committed as revision 3452 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff158dc9 09/05/2004 09:46 PM Michael Niedermayer

20% faster predict_plane()
moion vector max/min fix

Originally committed as revision 3434 to svn://svn.ffmpeg.org/ffmpeg/trunk

19aa028d 08/31/2004 04:28 PM Michael Niedermayer

10l (keyframes and context resets)

Originally committed as revision 3426 to svn://svn.ffmpeg.org/ffmpeg/trunk

39c61bbb 08/28/2004 02:24 PM Michael Niedermayer

cleanup

Originally committed as revision 3425 to svn://svn.ffmpeg.org/ffmpeg/trunk

fff6d4ea 08/28/2004 02:08 PM Michael Niedermayer

10l
more benchmarking code
inline

Originally committed as revision 3424 to svn://svn.ffmpeg.org/ffmpeg/trunk

ea7d9cd4 08/27/2004 09:16 PM Michael Niedermayer

merge decode_subband() and dequantize()

Originally committed as revision 3422 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff765159 08/27/2004 08:33 PM Michael Niedermayer

11% faster decode_subband()

Originally committed as revision 3421 to svn://svn.ffmpeg.org/ffmpeg/trunk

0cea8a03 08/27/2004 08:15 PM Michael Niedermayer

5% faster decode_subband()
a little cleanup

Originally committed as revision 3420 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b49c309 08/27/2004 07:52 PM Michael Niedermayer

46% faster decode_subband()

Originally committed as revision 3419 to svn://svn.ffmpeg.org/ffmpeg/trunk

3c1adccd 08/27/2004 01:06 AM Michael Niedermayer

50% faster decode_subband()

Originally committed as revision 3418 to svn://svn.ffmpeg.org/ffmpeg/trunk

155ec6ed 08/26/2004 08:04 PM Michael Niedermayer

quad tree based motion compensation (currently only 16x16 & 8x8 OBMC blocks, but can be extended to other block sizes easily)
different intra block coding (previous was just an ugly hack)
1.8% bitrate reduction -0.01PSNR (foreman@352x288 qscale=8)
1.5% bitrate reduction +0.05PSNR (foreman@352x288 qscale=1)...

64886072 08/25/2004 12:26 AM Michael Niedermayer

edge bugfix
1-1.3% lower bitrate and +0.01 PSNR (foremen@352x288 qscale=1,8)

Originally committed as revision 3414 to svn://svn.ffmpeg.org/ffmpeg/trunk

46c281e8 08/03/2004 02:34 AM Michael Niedermayer

cleanup

Originally committed as revision 3377 to svn://svn.ffmpeg.org/ffmpeg/trunk