Lines Matching refs:motion
55 /* motion vector (prediction) */
311 /* get motion code */
319 /* add median of motion vector predictors and clip result */
346 svq1_pmv *motion, int x, int y) {
353 /* predict and decode motion vector */
354 pmv[0] = &motion[0];
360 pmv[1] = &motion[(x / 8) + 2];
361 pmv[2] = &motion[(x / 8) + 4];
369 motion[0].x =
370 motion[(x / 8) + 2].x =
371 motion[(x / 8) + 3].x = mv.x;
372 motion[0].y =
373 motion[(x / 8) + 2].y =
374 motion[(x / 8) + 3].y = mv.y;
391 svq1_pmv *motion,int x, int y) {
398 /* predict and decode motion vector (0) */
399 pmv[0] = &motion[0];
405 pmv[1] = &motion[(x / 8) + 2];
406 pmv[2] = &motion[(x / 8) + 4];
414 /* predict and decode motion vector (1) */
421 pmv[1] = &motion[(x / 8) + 3];
423 result = svq1_decode_motion_vector (bitbuf, &motion[0], pmv);
428 /* predict and decode motion vector (2) */
429 pmv[1] = &motion[0];
430 pmv[2] = &motion[(x / 8) + 1];
432 result = svq1_decode_motion_vector (bitbuf, &motion[(x / 8) + 2], pmv);
437 /* predict and decode motion vector (3) */
438 pmv[2] = &motion[(x / 8) + 2];
439 pmv[3] = &motion[(x / 8) + 3];
475 svq1_pmv *motion, int x, int y) {
482 /* reset motion vectors */
484 motion[0].x =
485 motion[0].y =
486 motion[(x / 8) + 2].x =
487 motion[(x / 8) + 2].y =
488 motion[(x / 8) + 3].x =
489 motion[(x / 8) + 3].y = 0;
498 result = svq1_motion_inter_block (s, bitbuf, current, previous, pitch, motion, x, y);
509 result = svq1_motion_inter_4v_block (s, bitbuf, current, previous, pitch, motion, x, y);