/third_party/ffmpeg/libavcodec/ |
D | vc1_pred.c | 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() [all …]
|
D | rv34.c | 476 A[0] = s->current_picture_ptr->motion_val[0][mv_pos-1][0]; in rv34_pred_mv() 477 A[1] = s->current_picture_ptr->motion_val[0][mv_pos-1][1]; in rv34_pred_mv() 480 B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; in rv34_pred_mv() 481 B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; in rv34_pred_mv() 488 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0]; in rv34_pred_mv() 489 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][1]; in rv34_pred_mv() 495 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][0]; in rv34_pred_mv() 496 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][1]; in rv34_pred_mv() 504 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][0] = mx; in rv34_pred_mv() 505 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][1] = my; in rv34_pred_mv() [all …]
|
D | mpegutils.c | 104 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2], in ff_print_debug_info2() 107 if ((avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS) && mbtype_table && motion_val[0]) { in ff_print_debug_info2() 133 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 134 int my = motion_val[direction][xy][1]; in ff_print_debug_info2() 142 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 143 int my = motion_val[direction][xy][1]; in ff_print_debug_info2() 155 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 156 int my = motion_val[direction][xy][1]; in ff_print_debug_info2() 167 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 168 int my = motion_val[direction][xy][1]; in ff_print_debug_info2()
|
D | h263.c | 85 s->current_picture.motion_val[0][xy][0] = motion_x; in ff_h263_update_motion_val() 86 s->current_picture.motion_val[0][xy][1] = motion_y; in ff_h263_update_motion_val() 87 s->current_picture.motion_val[0][xy + 1][0] = motion_x; in ff_h263_update_motion_val() 88 s->current_picture.motion_val[0][xy + 1][1] = motion_y; in ff_h263_update_motion_val() 89 s->current_picture.motion_val[0][xy + wrap][0] = motion_x; in ff_h263_update_motion_val() 90 s->current_picture.motion_val[0][xy + wrap][1] = motion_y; in ff_h263_update_motion_val() 91 s->current_picture.motion_val[0][xy + 1 + wrap][0] = motion_x; in ff_h263_update_motion_val() 92 s->current_picture.motion_val[0][xy + 1 + wrap][1] = motion_y; in ff_h263_update_motion_val() 198 mot_val = s->current_picture.motion_val[dir] + s->block_index[block]; in ff_h263_pred_motion()
|
D | error_resilience.c | 260 int16_t *left_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in h_block_filter() 261 int16_t *right_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * (b_x + 1)]; in h_block_filter() 330 … int16_t *top_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in v_block_filter() 331 … int16_t *bottom_mv = s->cur_pic.motion_val[0][mvy_stride * (b_y + 1) + mvx_stride * b_x]; in v_block_filter() 413 if (s->last_pic.motion_val[0]) in guess_mv() 428 else if(s->last_pic.f->data[0] && s->last_pic.motion_val[0]){ in guess_mv() 432 s->cur_pic.motion_val[0][mot_index][0]= s->last_pic.motion_val[0][mot_index][0]; in guess_mv() 433 s->cur_pic.motion_val[0][mot_index][1]= s->last_pic.motion_val[0][mot_index][1]; in guess_mv() 522 s->cur_pic.motion_val[0][mot_index - mot_step][0]; in guess_mv() 524 s->cur_pic.motion_val[0][mot_index - mot_step][1]; in guess_mv() [all …]
|
D | vc1_block.c | 1322 s->current_picture.motion_val[1][s->block_index[0]][0] = 0; in vc1_decode_p_mb() 1323 s->current_picture.motion_val[1][s->block_index[0]][1] = 0; in vc1_decode_p_mb() 1582 s->current_picture.motion_val[1][s->block_index[i]][0] = 0; in vc1_decode_p_mb_intfr() 1583 s->current_picture.motion_val[1][s->block_index[i]][1] = 0; in vc1_decode_p_mb_intfr() 1754 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][0] = 0; in vc1_decode_p_mb_intfi() 1755 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][1] = 0; in vc1_decode_p_mb_intfi() 2037 s->current_picture.motion_val[1][s->block_index[0]][0] = 0; in vc1_decode_b_mb_intfi() 2038 s->current_picture.motion_val[1][s->block_index[0]][1] = 0; in vc1_decode_b_mb_intfi() 2225 s->mv[0][i][0] = s->current_picture.motion_val[0][s->block_index[i]][0] = 0; in vc1_decode_b_mb_intfr() 2226 s->mv[0][i][1] = s->current_picture.motion_val[0][s->block_index[i]][1] = 0; in vc1_decode_b_mb_intfr() [all …]
|
D | motion_est.c | 510 s->current_picture.motion_val[0][mot_xy ][0] = mx; in set_p_mv_tables() 511 s->current_picture.motion_val[0][mot_xy ][1] = my; in set_p_mv_tables() 512 s->current_picture.motion_val[0][mot_xy + 1][0] = mx; in set_p_mv_tables() 513 s->current_picture.motion_val[0][mot_xy + 1][1] = my; in set_p_mv_tables() 516 s->current_picture.motion_val[0][mot_xy ][0] = mx; in set_p_mv_tables() 517 s->current_picture.motion_val[0][mot_xy ][1] = my; in set_p_mv_tables() 518 s->current_picture.motion_val[0][mot_xy + 1][0] = mx; in set_p_mv_tables() 519 s->current_picture.motion_val[0][mot_xy + 1][1] = my; in set_p_mv_tables() 601 P_LEFT[0] = s->current_picture.motion_val[0][mot_xy - 1][0]; in h263_mv4_search() 602 P_LEFT[1] = s->current_picture.motion_val[0][mot_xy - 1][1]; in h263_mv4_search() [all …]
|
D | vp3.c | 230 int8_t (*motion_val[2])[2]; member 330 av_freep(&s->motion_val[0]); in free_tables() 331 av_freep(&s->motion_val[1]); in free_tables() 1043 s->motion_val[0][current_fragment][0] = motion_x[k]; in unpack_vectors() 1044 s->motion_val[0][current_fragment][1] = motion_y[k]; in unpack_vectors() 1046 s->motion_val[0][current_fragment][0] = motion_x[0]; in unpack_vectors() 1047 s->motion_val[0][current_fragment][1] = motion_y[0]; in unpack_vectors() 1063 s->motion_val[1][frag][0] = motion_x[0]; in unpack_vectors() 1064 s->motion_val[1][frag][1] = motion_y[0]; in unpack_vectors() 1081 s->motion_val[1][frag][0] = motion_x[k]; in unpack_vectors() [all …]
|
D | h264_picture.c | 66 dst->motion_val[i] = src->motion_val[i]; in h264_copy_picture_params() 210 dst->motion_val[i] = src->motion_val[i]; in ff_h264_set_erpic()
|
D | mpegvideo_motion.c | 678 AV_COPY32(mv_cache[1][1], cur_frame->motion_val[0][mot_xy]); in apply_obmc() 679 AV_COPY32(mv_cache[1][2], cur_frame->motion_val[0][mot_xy + 1]); in apply_obmc() 682 cur_frame->motion_val[0][mot_xy + mot_stride]); in apply_obmc() 684 cur_frame->motion_val[0][mot_xy + mot_stride + 1]); in apply_obmc() 687 cur_frame->motion_val[0][mot_xy + mot_stride]); in apply_obmc() 689 cur_frame->motion_val[0][mot_xy + mot_stride + 1]); in apply_obmc() 696 cur_frame->motion_val[0][mot_xy - mot_stride]); in apply_obmc() 698 cur_frame->motion_val[0][mot_xy - mot_stride + 1]); in apply_obmc() 705 AV_COPY32(mv_cache[1][0], cur_frame->motion_val[0][mot_xy - 1]); in apply_obmc() 707 cur_frame->motion_val[0][mot_xy - 1 + mot_stride]); in apply_obmc() [all …]
|
D | h261dec.c | 230 if (s->current_picture.motion_val[0]) { in h261_decode_mb_skipped() 233 s->current_picture.motion_val[0][b_xy][0] = s->mv[0][0][0]; in h261_decode_mb_skipped() 234 s->current_picture.motion_val[0][b_xy][1] = s->mv[0][0][1]; in h261_decode_mb_skipped() 460 if (s->current_picture.motion_val[0]) { in h261_decode_mb() 463 s->current_picture.motion_val[0][b_xy][0] = s->mv[0][0][0]; in h261_decode_mb() 464 s->current_picture.motion_val[0][b_xy][1] = s->mv[0][0][1]; in h261_decode_mb()
|
D | vc1_loopfilter.c | 503 … &s->current_picture.motion_val[0][s->block_index[i] - 4 * s->b8_stride - 2 + v->blocks_off], in ff_vc1_p_loop_filter() 523 … &s->current_picture.motion_val[0][s->block_index[i] - 4 * s->b8_stride + v->blocks_off], in ff_vc1_p_loop_filter() 546 … &s->current_picture.motion_val[0][s->block_index[i] - 2 * s->b8_stride - 2 + v->blocks_off], in ff_vc1_p_loop_filter() 565 … &s->current_picture.motion_val[0][s->block_index[i] - 2 + v->blocks_off], in ff_vc1_p_loop_filter() 586 … &s->current_picture.motion_val[0][s->block_index[i] - 2 * s->b8_stride + v->blocks_off], in ff_vc1_p_loop_filter() 605 … &s->current_picture.motion_val[0][s->block_index[i] + v->blocks_off], in ff_vc1_p_loop_filter() 628 … &s->current_picture.motion_val[0][s->block_index[i] - 4 * s->b8_stride - 4 + v->blocks_off], in ff_vc1_p_loop_filter() 649 … &s->current_picture.motion_val[0][s->block_index[i] - 4 * s->b8_stride - 2 + v->blocks_off], in ff_vc1_p_loop_filter() 668 … &s->current_picture.motion_val[0][s->block_index[i] - 4 * s->b8_stride + v->blocks_off], in ff_vc1_p_loop_filter() 691 … &s->current_picture.motion_val[0][s->block_index[i] - 2 * s->b8_stride - 4 + v->blocks_off], in ff_vc1_p_loop_filter() [all …]
|
D | svq3.c | 79 int16_t (*motion_val[2])[2]; member 524 mx = s->next_pic->motion_val[0][b_xy][0] * 2; in svq3_mc_dir() 525 my = s->next_pic->motion_val[0][b_xy][1] * 2; in svq3_mc_dir() 606 fill_rectangle(s->cur_pic->motion_val[dir][b_xy], in svq3_mc_dir() 765 s->cur_pic->motion_val[m][b_xy - 1 + i * s->b_stride]); in svq3_decode_mb() 772 s->cur_pic->motion_val[m][b_xy - s->b_stride], in svq3_decode_mb() 779 s->cur_pic->motion_val[m][b_xy - s->b_stride + 4]); in svq3_decode_mb() 787 s->cur_pic->motion_val[m][b_xy - s->b_stride - 1]); in svq3_decode_mb() 810 memset(s->cur_pic->motion_val[0][b_xy + i * s->b_stride], in svq3_decode_mb() 818 memset(s->cur_pic->motion_val[1][b_xy + i * s->b_stride], in svq3_decode_mb() [all …]
|
D | mpeg_er.c | 38 dst->motion_val[i] = src->motion_val[i]; in set_erpic()
|
D | vc1_mc.c | 199 s->current_picture.motion_val[1][s->block_index[i] + v->blocks_off][0] = mx; in ff_vc1_mc_1mv() 200 s->current_picture.motion_val[1][s->block_index[i] + v->blocks_off][1] = my; in ff_vc1_mc_1mv() 506 … &s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][0], in ff_vc1_mc_4mv_luma() 507 … &s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][1]); in ff_vc1_mc_4mv_luma() 518 s->current_picture.motion_val[1][s->block_index[n] + v->blocks_off][0] = mx; in ff_vc1_mc_4mv_luma() 519 s->current_picture.motion_val[1][s->block_index[n] + v->blocks_off][1] = my; in ff_vc1_mc_4mv_luma() 657 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][0] = 0; in ff_vc1_mc_4mv_chroma() 658 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][1] = 0; in ff_vc1_mc_4mv_chroma() 669 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][0] = tx; in ff_vc1_mc_4mv_chroma() 670 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][1] = ty; in ff_vc1_mc_4mv_chroma()
|
D | mpeg4video.c | 101 p_mx = s->next_picture.motion_val[0][xy][0]; in ff_mpeg4_set_one_direct_mv() 111 p_my = s->next_picture.motion_val[0][xy][1]; in ff_mpeg4_set_one_direct_mv()
|
D | wmv2dec.c | 371 mot_val = s->current_picture.motion_val[0][xy]; in wmv2_pred_motion() 373 A = s->current_picture.motion_val[0][xy - 1]; in wmv2_pred_motion() 374 B = s->current_picture.motion_val[0][xy - wrap]; in wmv2_pred_motion() 375 C = s->current_picture.motion_val[0][xy + 2 - wrap]; in wmv2_pred_motion()
|
D | mpegpicture.c | 300 pic->motion_val[i] = (int16_t (*)[2])pic->motion_val_buf[i]->data + 4; in ff_alloc_picture() 366 dst->motion_val[i] = src->motion_val[i]; in ff_update_picture_tables()
|
D | error_resilience.h | 46 int16_t (*motion_val[2])[2]; member
|
D | mpegpicture.h | 54 int16_t (*motion_val[2])[2]; member
|
D | h264_direct.c | 344 l1mv0 = (void*)&sl->ref_list[1][0].parent->motion_val[0][h->mb2b_xy[mb_xy]]; in pred_spatial_direct_motion() 345 l1mv1 = (void*)&sl->ref_list[1][0].parent->motion_val[1][h->mb2b_xy[mb_xy]]; in pred_spatial_direct_motion() 568 l1mv0 = (void*)&sl->ref_list[1][0].parent->motion_val[0][h->mb2b_xy[mb_xy]]; in pred_temp_direct_motion() 569 l1mv1 = (void*)&sl->ref_list[1][0].parent->motion_val[1][h->mb2b_xy[mb_xy]]; in pred_temp_direct_motion()
|
D | mpegutils.h | 138 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
|
D | ituh263dec.c | 359 mot_val = s->current_picture.motion_val[0][s->block_index[0]]; in preview_obmc() 728 p_mx = p->motion_val[0][xy][0]; in set_one_direct_mv() 736 p_my = p->motion_val[0][xy][1]; in set_one_direct_mv() 896 int16_t *mot_val0 = s->current_picture.motion_val[0][2 * (s->mb_x + s->mb_y * stride)]; in ff_h263_decode_mb() 897 int16_t *mot_val1 = s->current_picture.motion_val[1][2 * (s->mb_x + s->mb_y * stride)]; in ff_h263_decode_mb()
|
D | h264dec.h | 117 int16_t (*motion_val[2])[2]; member 713 int16_t(*mv_dst)[2] = &h->cur_pic.motion_val[list][b_xy]; in write_back_motion_list()
|
D | h264_mvpred.h | 51 mv = h->cur_pic_ptr->motion_val[list][h->mb2b_xy[xy] + 3 + y4 * h->b_stride]; \ in fetch_diagonal_mv() 262 int16_t(*mv)[2] = h->cur_pic.motion_val[0]; in pred_pskip_motion() 612 int16_t(*mv)[2] = h->cur_pic.motion_val[list]; in fill_decode_caches()
|