Michael Niedermayer
9a3bb2b89c
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:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used
Originally committed as revision 11173 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f8a80fd69d
main() --> main(void)
...
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
eb72cacb21
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
17 years ago
Aurelien Jacobs
87246a01cf
avoid some halfpel related #ifdef
...
Originally committed as revision 11041 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a0c013de34
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
17 years ago
Diego Biurrun
96e2fbf27b
Add comments to some #endif directives.
...
Originally committed as revision 10998 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f073a3934a
cosmetics: Fix vissual --> visual typo.
...
Originally committed as revision 10997 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
2e39d0cd5b
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
17 years ago
Diego Biurrun
3ea7841120
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
17 years ago
Michael Niedermayer
ff193e6419
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
18 years ago
Michael Niedermayer
8db1372814
make changing spatial_decomposition_count per frame work
...
Originally committed as revision 10464 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
dbd6a1fee8
do not ignore return of decode_header()
...
Originally committed as revision 10461 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b85bf991f6
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
18 years ago
Michael Niedermayer
e559c30a20
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
18 years ago
Michael Niedermayer
4f90f33ab4
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
18 years ago
Michael Niedermayer
081c9d1d7b
unneeded and impossible during init ...
...
Originally committed as revision 10455 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
32272f7e95
unused
...
Originally committed as revision 10454 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
014f9d233f
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
18 years ago
Michael Niedermayer
ba8964db60
remove ()
...
Originally committed as revision 10452 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
61806e9fa7
spatial_decomposition_count != 5 bugfix
...
Originally committed as revision 10451 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fa731ccd4e
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
18 years ago
Michael Niedermayer
61d6e445b1
rename HTAPS -> HTAPS_MAX (later is correct after the previous change)
...
Originally committed as revision 10437 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7d7f57d939
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
filter and the filter could also be chosen optimally for each frame
though that of course would cause speed loss at the decoder and encoder
side ...
Originally committed as revision 10436 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4770a97aae
remove outcommented code
...
Originally committed as revision 10435 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
65dc0f532d
indention
...
Originally committed as revision 10434 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a68ca08e30
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
Originally committed as revision 10433 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2b48d8ba4a
add a 8 taps filter for testing
...
Originally committed as revision 10394 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
71dce72bee
Replace constants by HTAPS (half pel interpolation filter taps) where appropriate.
...
Originally committed as revision 10390 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5be3a81871
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
18 years ago
Luca Barbato
9d14ffbcce
Cosmetics
...
Originally committed as revision 10278 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ff06e0677b
cleanup (remove some old experimentation related code)
...
Originally committed as revision 10220 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b5b88eb3b4
we only have 2 wavelets, the 3rd was just for experimentation ...
...
Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d593e32983
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
18 years ago
Michael Niedermayer
b538791bc9
use more bits on the encoder side
...
negligible increase in quality
Originally committed as revision 10195 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
81717747ab
simplify
...
Originally committed as revision 10186 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ce611a27be
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
18 years ago
Michael Niedermayer
49ca0e531a
get rid of idiotc double subtraction
...
Originally committed as revision 10154 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
1903245071
Ahem, fix typos overlooked in last commit.
...
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
df3a80b50a
cosmetics: misc typo fixes
...
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
d04d5bcd0e
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
18 years ago
Måns Rullgård
bad700e346
trivial warning fixes
...
Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
32a4d995ea
include snow encoder only if it is not disabled
...
Originally committed as revision 9494 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
61d49d122c
fix assert() 2nd try
...
Originally committed as revision 9163 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1e6b570087
fix assertion failure
...
Originally committed as revision 9152 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
eafcac6ac8
cosmetics: Fix another common typo, dependAnt --> dependEnt.
...
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
9dd6c80453
Add the const specifier as needed to reduce the number of warnings.
...
Originally committed as revision 7764 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago