Lines Matching refs:motion_val
244 s->mv[0][n][0] = s->current_picture.motion_val[0][xy + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
245 s->mv[0][n][1] = s->current_picture.motion_val[0][xy + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
246 s->current_picture.motion_val[1][xy + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
247 s->current_picture.motion_val[1][xy + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
249 s->current_picture.motion_val[0][xy + 1 + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
250 s->current_picture.motion_val[0][xy + 1 + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
251 s->current_picture.motion_val[0][xy + wrap + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
252 s->current_picture.motion_val[0][xy + wrap + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
253 s->current_picture.motion_val[0][xy + wrap + 1 + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
254 s->current_picture.motion_val[0][xy + wrap + 1 + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
256 s->current_picture.motion_val[1][xy + 1 + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
257 s->current_picture.motion_val[1][xy + 1 + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
258 s->current_picture.motion_val[1][xy + wrap + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
259 s->current_picture.motion_val[1][xy + wrap + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
260 s->current_picture.motion_val[1][xy + wrap + 1 + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
261 s->current_picture.motion_val[1][xy + wrap + 1 + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
304 A = s->current_picture.motion_val[dir][xy - wrap + v->blocks_off]; in ff_vc1_pred_mv()
315 B = s->current_picture.motion_val[dir][xy - wrap + off + v->blocks_off]; in ff_vc1_pred_mv()
326 C = s->current_picture.motion_val[dir][xy - 1 + v->blocks_off]; in ff_vc1_pred_mv()
454 …s->mv[dir][n][0] = s->current_picture.motion_val[dir][xy + v->blocks_off][0] = ((px + dmv_x + r_x)… in ff_vc1_pred_mv()
455 …s->mv[dir][n][1] = s->current_picture.motion_val[dir][xy + v->blocks_off][1] = ((py + dmv_y + r_y … in ff_vc1_pred_mv()
457 …s->current_picture.motion_val[dir][xy + 1 + v->blocks_off][0] = s->current_picture.motion_v… in ff_vc1_pred_mv()
458 …s->current_picture.motion_val[dir][xy + 1 + v->blocks_off][1] = s->current_picture.motion_v… in ff_vc1_pred_mv()
459 …s->current_picture.motion_val[dir][xy + wrap + v->blocks_off][0] = s->current_picture.motion_v… in ff_vc1_pred_mv()
460 …s->current_picture.motion_val[dir][xy + wrap + v->blocks_off][1] = s->current_picture.motion_v… in ff_vc1_pred_mv()
461 …s->current_picture.motion_val[dir][xy + wrap + 1 + v->blocks_off][0] = s->current_picture.motion_v… in ff_vc1_pred_mv()
462 …s->current_picture.motion_val[dir][xy + wrap + 1 + v->blocks_off][1] = s->current_picture.motion_v… in ff_vc1_pred_mv()
486 s->mv[0][n][0] = s->current_picture.motion_val[0][xy][0] = 0; in ff_vc1_pred_mv_intfr()
487 s->mv[0][n][1] = s->current_picture.motion_val[0][xy][1] = 0; in ff_vc1_pred_mv_intfr()
488 s->current_picture.motion_val[1][xy][0] = 0; in ff_vc1_pred_mv_intfr()
489 s->current_picture.motion_val[1][xy][1] = 0; in ff_vc1_pred_mv_intfr()
491 s->current_picture.motion_val[0][xy + 1][0] = 0; in ff_vc1_pred_mv_intfr()
492 s->current_picture.motion_val[0][xy + 1][1] = 0; in ff_vc1_pred_mv_intfr()
493 s->current_picture.motion_val[0][xy + wrap][0] = 0; in ff_vc1_pred_mv_intfr()
494 s->current_picture.motion_val[0][xy + wrap][1] = 0; in ff_vc1_pred_mv_intfr()
495 s->current_picture.motion_val[0][xy + wrap + 1][0] = 0; in ff_vc1_pred_mv_intfr()
496 s->current_picture.motion_val[0][xy + wrap + 1][1] = 0; in ff_vc1_pred_mv_intfr()
498 s->current_picture.motion_val[1][xy + 1][0] = 0; in ff_vc1_pred_mv_intfr()
499 s->current_picture.motion_val[1][xy + 1][1] = 0; in ff_vc1_pred_mv_intfr()
500 s->current_picture.motion_val[1][xy + wrap][0] = 0; in ff_vc1_pred_mv_intfr()
501 s->current_picture.motion_val[1][xy + wrap][1] = 0; in ff_vc1_pred_mv_intfr()
502 s->current_picture.motion_val[1][xy + wrap + 1][0] = 0; in ff_vc1_pred_mv_intfr()
503 s->current_picture.motion_val[1][xy + wrap + 1][1] = 0; in ff_vc1_pred_mv_intfr()
513 A[0] = s->current_picture.motion_val[dir][xy - 1][0]; in ff_vc1_pred_mv_intfr()
514 A[1] = s->current_picture.motion_val[dir][xy - 1][1]; in ff_vc1_pred_mv_intfr()
517 A[0] = (s->current_picture.motion_val[dir][xy - 1][0] in ff_vc1_pred_mv_intfr()
518 + s->current_picture.motion_val[dir][xy - 1 + off * wrap][0] + 1) >> 1; in ff_vc1_pred_mv_intfr()
519 A[1] = (s->current_picture.motion_val[dir][xy - 1][1] in ff_vc1_pred_mv_intfr()
520 + s->current_picture.motion_val[dir][xy - 1 + off * wrap][1] + 1) >> 1; in ff_vc1_pred_mv_intfr()
540 B[0] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap][0]; in ff_vc1_pred_mv_intfr()
541 B[1] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap][1]; in ff_vc1_pred_mv_intfr()
543 …B[0] = (B[0] + s->current_picture.motion_val[dir][s->block_index[n_adj ^ 2] - 2 * wrap][0] + 1) >>… in ff_vc1_pred_mv_intfr()
544 …B[1] = (B[1] + s->current_picture.motion_val[dir][s->block_index[n_adj ^ 2] - 2 * wrap][1] + 1) >>… in ff_vc1_pred_mv_intfr()
555 … C[0] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap + 2][0]; in ff_vc1_pred_mv_intfr()
556 … C[1] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap + 2][1]; in ff_vc1_pred_mv_intfr()
558 …C[0] = (1 + C[0] + (s->current_picture.motion_val[dir][s->block_index[n_adj ^ 2] - 2 * wrap + 2][0… in ff_vc1_pred_mv_intfr()
559 …C[1] = (1 + C[1] + (s->current_picture.motion_val[dir][s->block_index[n_adj ^ 2] - 2 * wrap + 2][1… in ff_vc1_pred_mv_intfr()
569 … C[0] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap - 2][0]; in ff_vc1_pred_mv_intfr()
570 … C[1] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap - 2][1]; in ff_vc1_pred_mv_intfr()
572 … C[0] = (1 + C[0] + s->current_picture.motion_val[dir][s->block_index[1] - 2 * wrap - 2][0]) >> 1; in ff_vc1_pred_mv_intfr()
573 … C[1] = (1 + C[1] + s->current_picture.motion_val[dir][s->block_index[1] - 2 * wrap - 2][1]) >> 1; in ff_vc1_pred_mv_intfr()
584 B[0] = s->current_picture.motion_val[dir][pos_b][0]; in ff_vc1_pred_mv_intfr()
585 B[1] = s->current_picture.motion_val[dir][pos_b][1]; in ff_vc1_pred_mv_intfr()
588 C[0] = s->current_picture.motion_val[dir][pos_c][0]; in ff_vc1_pred_mv_intfr()
589 C[1] = s->current_picture.motion_val[dir][pos_c][1]; in ff_vc1_pred_mv_intfr()
674 …s->mv[dir][n][0] = s->current_picture.motion_val[dir][xy][0] = ((px + dmv_x + r_x) & ((r_x << 1) -… in ff_vc1_pred_mv_intfr()
675 …s->mv[dir][n][1] = s->current_picture.motion_val[dir][xy][1] = ((py + dmv_y + r_y) & ((r_y << 1) -… in ff_vc1_pred_mv_intfr()
677 … s->current_picture.motion_val[dir][xy + 1 ][0] = s->current_picture.motion_val[dir][xy][0]; in ff_vc1_pred_mv_intfr()
678 … s->current_picture.motion_val[dir][xy + 1 ][1] = s->current_picture.motion_val[dir][xy][1]; in ff_vc1_pred_mv_intfr()
679 … s->current_picture.motion_val[dir][xy + wrap ][0] = s->current_picture.motion_val[dir][xy][0]; in ff_vc1_pred_mv_intfr()
680 … s->current_picture.motion_val[dir][xy + wrap ][1] = s->current_picture.motion_val[dir][xy][1]; in ff_vc1_pred_mv_intfr()
681 … s->current_picture.motion_val[dir][xy + wrap + 1][0] = s->current_picture.motion_val[dir][xy][0]; in ff_vc1_pred_mv_intfr()
682 … s->current_picture.motion_val[dir][xy + wrap + 1][1] = s->current_picture.motion_val[dir][xy][1]; in ff_vc1_pred_mv_intfr()
684 s->current_picture.motion_val[dir][xy + 1][0] = s->current_picture.motion_val[dir][xy][0]; in ff_vc1_pred_mv_intfr()
685 s->current_picture.motion_val[dir][xy + 1][1] = s->current_picture.motion_val[dir][xy][1]; in ff_vc1_pred_mv_intfr()
718 s->current_picture.motion_val[0][xy][0] = in ff_vc1_pred_b_mv()
719 s->current_picture.motion_val[0][xy][1] = in ff_vc1_pred_b_mv()
720 s->current_picture.motion_val[1][xy][0] = in ff_vc1_pred_b_mv()
721 s->current_picture.motion_val[1][xy][1] = 0; in ff_vc1_pred_b_mv()
727 …s->mv[0][0][0] = scale_mv(s->next_picture.motion_val[1][xy][0], v->bfraction, 0, s->quarter_sample… in ff_vc1_pred_b_mv()
728 …s->mv[0][0][1] = scale_mv(s->next_picture.motion_val[1][xy][1], v->bfraction, 0, s->quarter_sample… in ff_vc1_pred_b_mv()
729 …s->mv[1][0][0] = scale_mv(s->next_picture.motion_val[1][xy][0], v->bfraction, 1, s->quarter_sample… in ff_vc1_pred_b_mv()
730 …s->mv[1][0][1] = scale_mv(s->next_picture.motion_val[1][xy][1], v->bfraction, 1, s->quarter_sample… in ff_vc1_pred_b_mv()
738 s->current_picture.motion_val[0][xy][0] = s->mv[0][0][0]; in ff_vc1_pred_b_mv()
739 s->current_picture.motion_val[0][xy][1] = s->mv[0][0][1]; in ff_vc1_pred_b_mv()
740 s->current_picture.motion_val[1][xy][0] = s->mv[1][0][0]; in ff_vc1_pred_b_mv()
741 s->current_picture.motion_val[1][xy][1] = s->mv[1][0][1]; in ff_vc1_pred_b_mv()
746 C = s->current_picture.motion_val[0][xy - 2]; in ff_vc1_pred_b_mv()
747 A = s->current_picture.motion_val[0][xy - wrap * 2]; in ff_vc1_pred_b_mv()
749 B = s->current_picture.motion_val[0][xy - wrap * 2 + off]; in ff_vc1_pred_b_mv()
815 C = s->current_picture.motion_val[1][xy - 2]; in ff_vc1_pred_b_mv()
816 A = s->current_picture.motion_val[1][xy - wrap * 2]; in ff_vc1_pred_b_mv()
818 B = s->current_picture.motion_val[1][xy - wrap * 2 + off]; in ff_vc1_pred_b_mv()
885 s->current_picture.motion_val[0][xy][0] = s->mv[0][0][0]; in ff_vc1_pred_b_mv()
886 s->current_picture.motion_val[0][xy][1] = s->mv[0][0][1]; in ff_vc1_pred_b_mv()
887 s->current_picture.motion_val[1][xy][0] = s->mv[1][0][0]; in ff_vc1_pred_b_mv()
888 s->current_picture.motion_val[1][xy][1] = s->mv[1][0][1]; in ff_vc1_pred_b_mv()
901 … s->mv[0][0][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][0], in ff_vc1_pred_b_mv_intfi()
903 … s->mv[0][0][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][1], in ff_vc1_pred_b_mv_intfi()
905 … s->mv[1][0][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][0], in ff_vc1_pred_b_mv_intfi()
907 … s->mv[1][0][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][1], in ff_vc1_pred_b_mv_intfi()
922 s->current_picture.motion_val[0][s->block_index[k] + v->blocks_off][0] = s->mv[0][0][0]; in ff_vc1_pred_b_mv_intfi()
923 s->current_picture.motion_val[0][s->block_index[k] + v->blocks_off][1] = s->mv[0][0][1]; in ff_vc1_pred_b_mv_intfi()
924 s->current_picture.motion_val[1][s->block_index[k] + v->blocks_off][0] = s->mv[1][0][0]; in ff_vc1_pred_b_mv_intfi()
925 s->current_picture.motion_val[1][s->block_index[k] + v->blocks_off][1] = s->mv[1][0][1]; in ff_vc1_pred_b_mv_intfi()