Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Diego Biurrun
e73e4e75f9
cosmetics: Fix indentation in a few more places.
...
Originally committed as revision 12381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:27:16 +00:00
Diego Biurrun
ef3dfbd427
cosmetics: Normalize {} placement after for, while, if.
...
Originally committed as revision 12380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:24:24 +00:00
Aurelien Jacobs
5a6a9e78ab
move draw_edges() into dsputil
...
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 00:07:41 +00:00
Michael Niedermayer
b5a33ff124
suppress the second warning
...
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 23:44:52 +00:00
Diego Biurrun
94ae6788e2
cosmetics: Demplayerify indentation.
...
Originally committed as revision 12240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:56:00 +00:00
Diego Biurrun
301df48074
Add comments to some #endif directives.
...
Originally committed as revision 12239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:13:42 +00:00
Diego Biurrun
e6464f8b5e
cosmetics: spelling/grammar
...
Originally committed as revision 12238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:06:31 +00:00
Diego Biurrun
d248905ba5
Remove START_TIMER and STOP_TIMER macros.
...
Originally committed as revision 12227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:35:21 +00:00
Diego Biurrun
4847a997aa
Remove commented-out av_log calls.
...
Originally committed as revision 12222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:44:35 +00:00
Michael Niedermayer
2936438a38
Make diego happy.
...
Originally committed as revision 12220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:32:52 +00:00
Michael Niedermayer
7e2ea58313
some const
...
Originally committed as revision 11746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:18:09 +00:00
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
2008-01-31 00:57:48 +00:00
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
2008-01-31 00:56:29 +00:00
Diego Biurrun
6a339972af
Remove unused variables in test code.
...
Originally committed as revision 11599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 23:47:59 +00:00
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
2008-01-20 23:53:51 +00:00
Michael Niedermayer
526e037b95
Remove green clouds.
...
fixes issue263
Originally committed as revision 11524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 04:27:03 +00:00
Michael Niedermayer
1918057c8a
prevent warnings about functions being possibly unused
...
Originally committed as revision 11174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 08:38:49 +00:00
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
2007-12-06 02:02:41 +00:00
Diego Biurrun
f8a80fd69d
main() --> main(void)
...
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 00:52:56 +00:00
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
2007-11-16 23:15:39 +00:00
Aurelien Jacobs
87246a01cf
avoid some halfpel related #ifdef
...
Originally committed as revision 11041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 22:32:39 +00:00
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
2007-11-15 12:40:40 +00:00
Diego Biurrun
96e2fbf27b
Add comments to some #endif directives.
...
Originally committed as revision 10998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 16:44:37 +00:00
Diego Biurrun
f073a3934a
cosmetics: Fix vissual --> visual typo.
...
Originally committed as revision 10997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 16:39:54 +00:00
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
2007-11-10 16:25:44 +00:00
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
2007-10-11 09:35:06 +00:00
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
2007-09-23 21:11:36 +00:00
Michael Niedermayer
8db1372814
make changing spatial_decomposition_count per frame work
...
Originally committed as revision 10464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 18:28:36 +00:00
Michael Niedermayer
dbd6a1fee8
do not ignore return of decode_header()
...
Originally committed as revision 10461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 17:01:11 +00:00
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
2007-09-09 16:54:00 +00:00
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
2007-09-09 15:06:46 +00:00
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
2007-09-09 13:47:25 +00:00
Michael Niedermayer
081c9d1d7b
unneeded and impossible during init ...
...
Originally committed as revision 10455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:46:25 +00:00
Michael Niedermayer
32272f7e95
unused
...
Originally committed as revision 10454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:36:10 +00:00
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
2007-09-09 12:33:34 +00:00
Michael Niedermayer
ba8964db60
remove ()
...
Originally committed as revision 10452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:25:12 +00:00
Michael Niedermayer
61806e9fa7
spatial_decomposition_count != 5 bugfix
...
Originally committed as revision 10451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 12:24:45 +00:00
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
2007-09-09 12:22:11 +00:00
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
2007-09-08 14:52:21 +00:00
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
2007-09-08 14:51:13 +00:00
Michael Niedermayer
4770a97aae
remove outcommented code
...
Originally committed as revision 10435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:16:24 +00:00
Michael Niedermayer
65dc0f532d
indention
...
Originally committed as revision 10434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-08 03:15:42 +00:00
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
2007-09-08 03:14:20 +00:00
Michael Niedermayer
2b48d8ba4a
add a 8 taps filter for testing
...
Originally committed as revision 10394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 01:49:14 +00:00
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
2007-09-05 00:49:09 +00:00
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
2007-09-05 00:06:34 +00:00
Luca Barbato
9d14ffbcce
Cosmetics
...
Originally committed as revision 10278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 14:00:47 +00:00
Michael Niedermayer
ff06e0677b
cleanup (remove some old experimentation related code)
...
Originally committed as revision 10220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 03:19:39 +00:00