Diego Biurrun
ef3dfbd427
cosmetics: Normalize {} placement after for, while, if.
...
Originally committed as revision 12380 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5a6a9e78ab
move draw_edges() into dsputil
...
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b5a33ff124
suppress the second warning
...
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
94ae6788e2
cosmetics: Demplayerify indentation.
...
Originally committed as revision 12240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
301df48074
Add comments to some #endif directives.
...
Originally committed as revision 12239 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e6464f8b5e
cosmetics: spelling/grammar
...
Originally committed as revision 12238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d248905ba5
Remove START_TIMER and STOP_TIMER macros.
...
Originally committed as revision 12227 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
4847a997aa
Remove commented-out av_log calls.
...
Originally committed as revision 12222 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2936438a38
Make diego happy.
...
Originally committed as revision 12220 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7e2ea58313
some const
...
Originally committed as revision 11746 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
8943802849
add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||
...
Originally committed as revision 11687 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f0a7084088
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
Originally committed as revision 11686 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
6a339972af
Remove unused variables in test code.
...
Originally committed as revision 11599 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
07e4e3ea8b
Consistently use TEST as the preprocessor condition to enable test code.
...
Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
526e037b95
Remove green clouds.
...
fixes issue263
Originally committed as revision 11524 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1918057c8a
prevent warnings about functions being possibly unused
...
Originally committed as revision 11174 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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