comparison vp3.c @ 2466:acfea8a94bf8 libavcodec

10l (negative strides)
author michael
date Wed, 26 Jan 2005 17:04:34 +0000
parents 18b8b2dcc037
children eed7d92a1dfc
comparison
equal deleted inserted replaced
2465:5565203c95ee 2466:acfea8a94bf8
2092 if (!s->flipped_image) stride = -stride; 2092 if (!s->flipped_image) stride = -stride;
2093 upper_motion_limit = 7 * s->current_frame.linesize[2]; 2093 upper_motion_limit = 7 * s->current_frame.linesize[2];
2094 lower_motion_limit = height * s->current_frame.linesize[2] + width - 8; 2094 lower_motion_limit = height * s->current_frame.linesize[2] + width - 8;
2095 } 2095 }
2096 2096
2097 if((unsigned)stride > 2048) 2097 if(ABS(stride) > 2048)
2098 return; //various tables are fixed size 2098 return; //various tables are fixed size
2099 2099
2100 /* for each fragment row... */ 2100 /* for each fragment row... */
2101 for (y = 0; y < height; y += 8) { 2101 for (y = 0; y < height; y += 8) {
2102 2102