[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec snow.c,1.90,1.91
Loren Merritt CVS
lorenm
Mon Mar 13 02:27:15 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv22346
Modified Files:
snow.c
Log Message:
seed iterative_me with mvs from conventional search.
+15% speed, +.1 dB
Index: snow.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/snow.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- snow.c 13 Mar 2006 01:26:06 -0000 1.90
+++ snow.c 13 Mar 2006 01:27:13 -0000 1.91
@@ -3304,6 +3304,17 @@
const int b_stride= b_width;
int color[3];
+ {
+ RangeCoder r = s->c;
+ uint8_t state[sizeof(s->block_state)];
+ memcpy(state, s->block_state, sizeof(s->block_state));
+ for(mb_y= 0; mb_y<s->b_height; mb_y++)
+ for(mb_x= 0; mb_x<s->b_width; mb_x++)
+ encode_q_branch(s, 0, mb_x, mb_y);
+ s->c = r;
+ memcpy(s->block_state, state, sizeof(s->block_state));
+ }
+
for(pass=0; pass<50; pass++){
int change= 0;
More information about the ffmpeg-cvslog
mailing list