Statistics
| Branch: | Revision:

ffmpeg / libavcodec / snow.c @ fe5c7e58

History | View | Annotate | Download (180 KB)

# Date Author Comment
fe5c7e58 12/12/2008 04:21 PM Michael Niedermayer

More POSIX _t namespace cleanup.

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

a6f2c0d6 12/02/2008 10:43 AM Michael Niedermayer

Fix regression test failure with pthreads on multiprocessor systems.
Fixes issue517

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

bd2b6b33 11/25/2008 12:20 AM Måns Rullgård

snow: move scratch buffer from stack to malloced buffer in context

This is required to ensure 16-byte alignment.

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

7942269b 08/19/2008 08:04 PM Mathieu Malaterre

cosmetics: s/const static/static const/g
patch by Mathieu Malaterre, mathieu.malaterre gmail com

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

cf2baeb3 06/24/2008 08:01 PM Stefan Gehrer

mark read-only data as const

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

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

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

162d4fc9 04/27/2008 10:39 PM Stefano Sabatini

Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

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

9701840b 03/09/2008 11:31 PM Aurelien Jacobs

add FF_ prefix to all (frame)_TYPE usage

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

e73e4e75 03/08/2008 08:27 PM Diego Biurrun

cosmetics: Fix indentation in a few more places.

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

ef3dfbd4 03/08/2008 08:24 PM Diego Biurrun

cosmetics: Normalize {} placement after for, while, if.

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

5a6a9e78 03/04/2008 12:07 AM Aurelien Jacobs

move draw_edges() into dsputil

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

b5a33ff1 02/28/2008 11:44 PM Michael Niedermayer

suppress the second warning

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

94ae6788 02/26/2008 05:56 PM Diego Biurrun

cosmetics: Demplayerify indentation.

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

301df480 02/26/2008 05:13 PM Diego Biurrun

Add comments to some #endif directives.

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

e6464f8b 02/26/2008 05:06 PM Diego Biurrun

cosmetics: spelling/grammar

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

d248905b 02/26/2008 09:35 AM Diego Biurrun

Remove START_TIMER and STOP_TIMER macros.

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

4847a997 02/25/2008 10:44 PM Diego Biurrun

Remove commented-out av_log calls.

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

2936438a 02/25/2008 10:32 PM Michael Niedermayer

Make diego happy.

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

7e2ea583 02/01/2008 02:18 PM Michael Niedermayer

some const

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

89438028 01/31/2008 12:57 AM Baptiste Coudurier

add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||

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

f0a70840 01/31/2008 12:56 AM Baptiste Coudurier

Add const qualifier, fix warnings:
snow.c:2292: warning: assignment discards qualifiers from pointer target type
snow.c:2294: warning: assignment discards qualifiers from pointer target type
snow.c:2300: warning: assignment discards qualifiers from pointer target type...

6a339972 01/22/2008 11:47 PM Diego Biurrun

Remove unused variables in test code.

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

07e4e3ea 01/20/2008 11:53 PM Diego Biurrun

Consistently use TEST as the preprocessor condition to enable test code.

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

526e037b 01/14/2008 04:27 AM Michael Niedermayer

Remove green clouds.
fixes issue263

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

1918057c 12/06/2007 08:38 AM Michael Niedermayer

prevent warnings about functions being possibly unused

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

9a3bb2b8 12/06/2007 02:02 AM Michael Niedermayer

thank you for your efforts to keep my code clean, but i would like to
keep the functions below as they are usefull for debugging, testing,
experiments and development

revert
r11048 | diego | 2007-11-17 00:15:39 +0100 (Sat, 17 Nov 2007) | 4 lines

Remove unused functions, fixes the warnings:...

f8a80fd6 11/23/2007 12:52 AM Diego Biurrun

main() --> main(void)

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

eb72cacb 11/16/2007 11:15 PM Diego Biurrun

Remove unused functions, fixes the warnings:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

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

87246a01 11/15/2007 10:32 PM Aurelien Jacobs

avoid some halfpel related #ifdef

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

a0c013de 11/15/2007 12:40 PM Diego Biurrun

Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:
snow.c:4142: warning: #halfpel_interpol# defined but not used

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

96e2fbf2 11/10/2007 04:44 PM Diego Biurrun

Add comments to some #endif directives.

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

f073a393 11/10/2007 04:39 PM Diego Biurrun

cosmetics: Fix vissual --> visual typo.

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

2e39d0cd 11/10/2007 04:25 PM Stefano Sabatini

Improve unsupported (pixel) format error message.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

3ea78411 10/11/2007 09:35 AM Diego Biurrun

warning fixes:
snow.c: In function ‘decode_header’:
snow.c:3668: warning: unused variable ‘absum’
snow.c: In function ‘decode_init’:
snow.c:4551: warning: unused variable ‘s’

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

ff193e64 09/23/2007 09:11 PM Michael Niedermayer

some experimental iterative quantization code
disabled as it is VERY slow
gain is 0.1-0.2 psnr at low qp

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

8db13728 09/09/2007 06:28 PM Michael Niedermayer

make changing spatial_decomposition_count per frame work

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

dbd6a1fe 09/09/2007 05:01 PM Michael Niedermayer

do not ignore return of decode_header()

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

b85bf991 09/09/2007 04:54 PM Michael Niedermayer

do not force the halfpel filter coeffs to be retransmitted on every frame
if always_reset is set

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

e559c30a 09/09/2007 03:06 PM Michael Niedermayer

allow changing of the spatial_decomposition_count and quantization tables
per frame (this is untested as the encoder does not use it yet)

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

4f90f33a 09/09/2007 01:47 PM Michael Niedermayer

perform init after reading the values needed for init
fixes decoding of files with spatial_decomposition_count!=5

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

081c9d1d 09/09/2007 12:46 PM Michael Niedermayer

unneeded and impossible during init ...

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

32272f7e 09/09/2007 12:36 PM Michael Niedermayer

unused

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

014f9d23 09/09/2007 12:33 PM Michael Niedermayer

allocate slice buffer after parsing the header containing needed parameters
argh i really wish i had never accepted these slice patches ...

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

ba8964db 09/09/2007 12:25 PM Michael Niedermayer

remove ()

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

61806e9f 09/09/2007 12:24 PM Michael Niedermayer

spatial_decomposition_count != 5 bugfix

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

fa731ccd 09/09/2007 12:22 PM Michael Niedermayer

scaling obmc tables under #if 0 also by 4 (yes they where forgotten apparently)
this also requires a few entries to be ++ and -- to avoid a max of 256

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

61d6e445 09/08/2007 02:52 PM Michael Niedermayer

rename HTAPS -> HTAPS_MAX (later is correct after the previous change)

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

7d7f57d9 09/08/2007 02:51 PM Michael Niedermayer

store halfpel filter coefficients in the header as well as the
flag for diagonal interpolation

the primary reason for this change is that previously MC up to 1/4 pel
matched H.264 exactly and that increases the risk of stumbling over
patents

secondly this allows 0.10 db or more quality gain by choosing a longer...

4770a97a 09/08/2007 03:16 AM Michael Niedermayer

remove outcommented code

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

65dc0f53 09/08/2007 03:15 AM Michael Niedermayer

indention

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

a68ca08e 09/08/2007 03:14 AM Michael Niedermayer

cleanup mc_block()
perform interpolation steps in such an order that halfpel interpolation
could be done per picture
this also makes mc_block() match h.264 for the 1/4 pel cases so that the
use of the h264 functions for some cases does not introduce a fantastic mess...

2b48d8ba 09/05/2007 01:49 AM Michael Niedermayer

add a 8 taps filter for testing

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

71dce72b 09/05/2007 12:49 AM Michael Niedermayer

Replace constants by HTAPS (half pel interpolation filter taps) where appropriate.

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

5be3a818 09/05/2007 12:06 AM Michael Niedermayer

code to do halfpel interpolation per frame (unfinished and under ifdef but it
should be faster when its finished)

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

9d14ffbc 09/01/2007 02:00 PM Luca Barbato

Cosmetics

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

ff06e067 08/25/2007 03:19 AM Michael Niedermayer

cleanup (remove some old experimentation related code)

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

b5b88eb3 08/25/2007 03:04 AM Michael Niedermayer

we only have 2 wavelets, the 3rd was just for experimentation ...

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

d593e329 08/25/2007 03:00 AM Michael Niedermayer

use 16bit IDWT (a SIMD implementation of it should be >2x faster then with
the old 32bit code)
disable mmx/sse2 optimizations as they need a rewrite now

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

b538791b 08/23/2007 10:49 AM Michael Niedermayer

use more bits on the encoder side
negligible increase in quality

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

81717747 08/22/2007 05:26 PM Michael Niedermayer

simplify

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

ce611a27 08/21/2007 04:29 PM Michael Niedermayer

Change rounding of the horizontal DWT to match the vertical one.
This allows some simplifications and optimizations and should
not have any effect on quality.

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

49ca0e53 08/20/2007 10:18 PM Michael Niedermayer

get rid of idiotc double subtraction

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

19032450 07/28/2007 12:50 PM Diego Biurrun

Ahem, fix typos overlooked in last commit.

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

df3a80b5 07/28/2007 12:46 PM Diego Biurrun

cosmetics: misc typo fixes

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

d04d5bcd 07/19/2007 08:47 AM Panagiotis Issaris

Fix the self tests which are contained in some codecs and are using random().

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

bad700e3 07/08/2007 11:14 PM Måns Rullgård

trivial warning fixes

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

32a4d995 07/05/2007 10:57 PM Aurelien Jacobs

include snow encoder only if it is not disabled

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

755bfeab 06/12/2007 09:29 AM Diego Biurrun

misc spelling fixes

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

61d49d12 05/30/2007 09:38 PM Michael Niedermayer

fix assert() 2nd try

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

1e6b5700 05/29/2007 04:51 PM Michael Niedermayer

fix assertion failure

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

2029f312 05/10/2007 09:00 AM Diego Biurrun

Remove redundant #inclusion of common.h, avcodec.h already #includes it.

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

f66e4f5f 02/25/2007 10:27 AM Reimar Döffinger

Add av_ prefix to clip functions

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

eafcac6a 02/24/2007 09:41 AM Diego Biurrun

cosmetics: Fix another common typo, dependAnt --> dependEnt.

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

71e445fc 02/07/2007 01:48 AM Diego Biurrun

Replace deprecated PIX_FMT names by the newer variants.

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

9dd6c804 01/30/2007 10:31 AM Panagiotis Issaris

Add the const specifier as needed to reduce the number of warnings.

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

b5bfb9f9 01/25/2007 03:23 PM Panagiotis Issaris

Silence GCC when incorrectly complaining that the "line" variable could be used
without having been initialized.

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

aadcc5ce 01/25/2007 09:54 AM Panagiotis Issaris

Bring down the number of snow.c warnings from 27 to 17 by using the const
keyword.

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

6884c36c 01/25/2007 09:43 AM Panagiotis Issaris

Brings down the number of snow.c warnings from 33 to 27 by putting parentheses
around + or - inside shift.

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

e2158da8 01/18/2007 01:35 PM Panagiotis Issaris

Change the Snow encoder to always use the available MotionEstContext pointer.

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

1e90b34f 01/03/2007 12:48 AM Michael Niedermayer

dead code removial

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

396a5e68 01/02/2007 12:24 PM Michael Niedermayer

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

849f1035 12/08/2006 12:35 AM Måns Rullgård

rename always_inline to av_always_inline and move to common.h

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

486497e0 11/14/2006 03:18 AM Måns Rullgård

revert bad checkin

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

be6ed6ff 11/14/2006 03:12 AM Måns Rullgård

move some CFLAGS settings away from config.* writing section

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

1d503957 11/12/2006 09:48 PM Måns Rullgård

rename squareTbl -> ff_squareTbl

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

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