Lines Matching defs:blocksize
298 diff = eval_motion_dist(enc, j, i, MOTION, blocksize); \
306 static void motion_search(RoqContext *enc, int blocksize)
328 int max=(enc->width/blocksize)*enc->height/blocksize;
330 if (blocksize == 4) {
338 for (i=0; i<enc->height; i+=blocksize)
339 for (j=0; j<enc->width; j+=blocksize) {
341 blocksize);
345 if (blocksize == 4)
348 offset = (i/blocksize)*enc->width/blocksize + j/blocksize;
356 offset = (i/blocksize + 1)*enc->width/blocksize + j/blocksize;
360 off[0]= (i/blocksize)*enc->width/blocksize + j/blocksize - 1;
361 off[1]= off[0] - enc->width/blocksize + 1;
390 offset = (i/blocksize)*enc->width/blocksize + j/blocksize;