Lines Matching refs:blocksize
301 diff = eval_motion_dist(enc, j, i, MOTION, blocksize); \
309 static void motion_search(RoqContext *enc, int blocksize)
331 int max=(enc->width/blocksize)*enc->height/blocksize;
333 if (blocksize == 4) {
341 for (i=0; i<enc->height; i+=blocksize)
342 for (j=0; j<enc->width; j+=blocksize) {
344 blocksize);
348 if (blocksize == 4)
351 offset = (i/blocksize)*enc->width/blocksize + j/blocksize;
359 offset = (i/blocksize + 1)*enc->width/blocksize + j/blocksize;
363 off[0]= (i/blocksize)*enc->width/blocksize + j/blocksize - 1;
364 off[1]= off[0] - enc->width/blocksize + 1;
393 offset = (i/blocksize)*enc->width/blocksize + j/blocksize;