/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 | 474 A[0] = s->current_picture_ptr->motion_val[0][mv_pos-1][0]; in rv34_pred_mv() 475 A[1] = s->current_picture_ptr->motion_val[0][mv_pos-1][1]; in rv34_pred_mv() 478 B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; in rv34_pred_mv() 479 B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; in rv34_pred_mv() 486 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0]; in rv34_pred_mv() 487 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][1]; in rv34_pred_mv() 493 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][0]; in rv34_pred_mv() 494 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][1]; in rv34_pred_mv() 502 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][0] = mx; in rv34_pred_mv() 503 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() 108 if ((avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS) && mbtype_table && motion_val[0]) { in ff_print_debug_info2() 134 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 135 int my = motion_val[direction][xy][1]; in ff_print_debug_info2() 143 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 144 int my = motion_val[direction][xy][1]; in ff_print_debug_info2() 156 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 157 int my = motion_val[direction][xy][1]; in ff_print_debug_info2() 168 int mx = motion_val[direction][xy][0]; in ff_print_debug_info2() 169 int my = motion_val[direction][xy][1]; in ff_print_debug_info2()
|
D | error_resilience.c | 261 int16_t *left_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in h_block_filter() 262 int16_t *right_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * (b_x + 1)]; in h_block_filter() 331 … int16_t *top_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in v_block_filter() 332 … int16_t *bottom_mv = s->cur_pic.motion_val[0][mvy_stride * (b_y + 1) + mvx_stride * b_x]; in v_block_filter() 414 if (s->last_pic.motion_val[0]) in guess_mv() 429 else if(s->last_pic.f->data[0] && s->last_pic.motion_val[0]){ in guess_mv() 433 s->cur_pic.motion_val[0][mot_index][0]= s->last_pic.motion_val[0][mot_index][0]; in guess_mv() 434 s->cur_pic.motion_val[0][mot_index][1]= s->last_pic.motion_val[0][mot_index][1]; in guess_mv() 525 s->cur_pic.motion_val[0][mot_index - mot_step][0]; in guess_mv() 527 s->cur_pic.motion_val[0][mot_index - mot_step][1]; in guess_mv() [all …]
|
D | h263.c | 86 s->current_picture.motion_val[0][xy][0] = motion_x; in ff_h263_update_motion_val() 87 s->current_picture.motion_val[0][xy][1] = motion_y; in ff_h263_update_motion_val() 88 s->current_picture.motion_val[0][xy + 1][0] = motion_x; in ff_h263_update_motion_val() 89 s->current_picture.motion_val[0][xy + 1][1] = motion_y; in ff_h263_update_motion_val() 90 s->current_picture.motion_val[0][xy + wrap][0] = motion_x; in ff_h263_update_motion_val() 91 s->current_picture.motion_val[0][xy + wrap][1] = motion_y; in ff_h263_update_motion_val() 92 s->current_picture.motion_val[0][xy + 1 + wrap][0] = motion_x; in ff_h263_update_motion_val() 93 s->current_picture.motion_val[0][xy + 1 + wrap][1] = motion_y; in ff_h263_update_motion_val() 327 mot_val = s->current_picture.motion_val[dir] + s->block_index[block]; in ff_h263_pred_motion()
|
D | vc1_block.c | 1321 s->current_picture.motion_val[1][s->block_index[0]][0] = 0; in vc1_decode_p_mb() 1322 s->current_picture.motion_val[1][s->block_index[0]][1] = 0; in vc1_decode_p_mb() 1581 s->current_picture.motion_val[1][s->block_index[i]][0] = 0; in vc1_decode_p_mb_intfr() 1582 s->current_picture.motion_val[1][s->block_index[i]][1] = 0; in vc1_decode_p_mb_intfr() 1753 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][0] = 0; in vc1_decode_p_mb_intfi() 1754 s->current_picture.motion_val[1][s->block_index[0] + v->blocks_off][1] = 0; in vc1_decode_p_mb_intfi() 2036 s->current_picture.motion_val[1][s->block_index[0]][0] = 0; in vc1_decode_b_mb_intfi() 2037 s->current_picture.motion_val[1][s->block_index[0]][1] = 0; in vc1_decode_b_mb_intfi() 2224 s->mv[0][i][0] = s->current_picture.motion_val[0][s->block_index[i]][0] = 0; in vc1_decode_b_mb_intfr() 2225 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 | h264_picture.c | 97 dst->motion_val[i] = src->motion_val[i]; in ff_h264_ref_picture() 150 dst->motion_val[i] = src->motion_val[i]; in ff_h264_set_erpic()
|
D | motion_est.c | 508 s->current_picture.motion_val[0][mot_xy ][0] = mx; in set_p_mv_tables() 509 s->current_picture.motion_val[0][mot_xy ][1] = my; in set_p_mv_tables() 510 s->current_picture.motion_val[0][mot_xy + 1][0] = mx; in set_p_mv_tables() 511 s->current_picture.motion_val[0][mot_xy + 1][1] = my; in set_p_mv_tables() 514 s->current_picture.motion_val[0][mot_xy ][0] = mx; in set_p_mv_tables() 515 s->current_picture.motion_val[0][mot_xy ][1] = my; in set_p_mv_tables() 516 s->current_picture.motion_val[0][mot_xy + 1][0] = mx; in set_p_mv_tables() 517 s->current_picture.motion_val[0][mot_xy + 1][1] = my; in set_p_mv_tables() 599 P_LEFT[0] = s->current_picture.motion_val[0][mot_xy - 1][0]; in h263_mv4_search() 600 P_LEFT[1] = s->current_picture.motion_val[0][mot_xy - 1][1]; in h263_mv4_search() [all …]
|
D | vp3.c | 226 int8_t (*motion_val[2])[2]; member 326 av_freep(&s->motion_val[0]); in free_tables() 327 av_freep(&s->motion_val[1]); in free_tables() 1039 s->motion_val[0][current_fragment][0] = motion_x[k]; in unpack_vectors() 1040 s->motion_val[0][current_fragment][1] = motion_y[k]; in unpack_vectors() 1042 s->motion_val[0][current_fragment][0] = motion_x[0]; in unpack_vectors() 1043 s->motion_val[0][current_fragment][1] = motion_y[0]; in unpack_vectors() 1059 s->motion_val[1][frag][0] = motion_x[0]; in unpack_vectors() 1060 s->motion_val[1][frag][1] = motion_y[0]; in unpack_vectors() 1077 s->motion_val[1][frag][0] = motion_x[k]; in unpack_vectors() [all …]
|
D | mpegvideo_motion.c | 676 AV_COPY32(mv_cache[1][1], cur_frame->motion_val[0][mot_xy]); in apply_obmc() 677 AV_COPY32(mv_cache[1][2], cur_frame->motion_val[0][mot_xy + 1]); in apply_obmc() 680 cur_frame->motion_val[0][mot_xy + mot_stride]); in apply_obmc() 682 cur_frame->motion_val[0][mot_xy + mot_stride + 1]); in apply_obmc() 685 cur_frame->motion_val[0][mot_xy + mot_stride]); in apply_obmc() 687 cur_frame->motion_val[0][mot_xy + mot_stride + 1]); in apply_obmc() 694 cur_frame->motion_val[0][mot_xy - mot_stride]); in apply_obmc() 696 cur_frame->motion_val[0][mot_xy - mot_stride + 1]); in apply_obmc() 703 AV_COPY32(mv_cache[1][0], cur_frame->motion_val[0][mot_xy - 1]); in apply_obmc() 705 cur_frame->motion_val[0][mot_xy - 1 + mot_stride]); in apply_obmc() [all …]
|
D | h261dec.c | 214 if (s->current_picture.motion_val[0]) { in h261_decode_mb_skipped() 217 s->current_picture.motion_val[0][b_xy][0] = s->mv[0][0][0]; in h261_decode_mb_skipped() 218 s->current_picture.motion_val[0][b_xy][1] = s->mv[0][0][1]; in h261_decode_mb_skipped() 443 if (s->current_picture.motion_val[0]) { in h261_decode_mb() 446 s->current_picture.motion_val[0][b_xy][0] = s->mv[0][0][0]; in h261_decode_mb() 447 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 | mpeg_er.c | 38 dst->motion_val[i] = src->motion_val[i]; in set_erpic()
|
D | svq3.c | 75 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() 771 s->cur_pic->motion_val[m][b_xy - 1 + i * s->b_stride]); in svq3_decode_mb() 778 s->cur_pic->motion_val[m][b_xy - s->b_stride], in svq3_decode_mb() 785 s->cur_pic->motion_val[m][b_xy - s->b_stride + 4]); in svq3_decode_mb() 793 s->cur_pic->motion_val[m][b_xy - s->b_stride - 1]); in svq3_decode_mb() 816 memset(s->cur_pic->motion_val[0][b_xy + i * s->b_stride], in svq3_decode_mb() 824 memset(s->cur_pic->motion_val[1][b_xy + i * s->b_stride], in svq3_decode_mb() [all …]
|
D | wmv2dec.c | 302 mot_val = s->current_picture.motion_val[0][xy]; in wmv2_pred_motion() 304 A = s->current_picture.motion_val[0][xy - 1]; in wmv2_pred_motion() 305 B = s->current_picture.motion_val[0][xy - wrap]; in wmv2_pred_motion() 306 C = s->current_picture.motion_val[0][xy + 2 - wrap]; in wmv2_pred_motion()
|
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 | 89 p_mx = s->next_picture.motion_val[0][xy][0]; in ff_mpeg4_set_one_direct_mv() 99 p_my = s->next_picture.motion_val[0][xy][1]; in ff_mpeg4_set_one_direct_mv()
|
D | error_resilience.h | 46 int16_t (*motion_val[2])[2]; member
|
D | mpegpicture.c | 279 pic->motion_val[i] = (int16_t (*)[2])pic->motion_val_buf[i]->data + 4; in ff_alloc_picture() 344 dst->motion_val[i] = src->motion_val[i]; in ff_update_picture_tables()
|
D | mpegpicture.h | 53 int16_t (*motion_val[2])[2]; member
|
D | h264_direct.c | 345 l1mv0 = (void*)&sl->ref_list[1][0].parent->motion_val[0][h->mb2b_xy[mb_xy]]; in pred_spatial_direct_motion() 346 l1mv1 = (void*)&sl->ref_list[1][0].parent->motion_val[1][h->mb2b_xy[mb_xy]]; in pred_spatial_direct_motion() 569 l1mv0 = (void*)&sl->ref_list[1][0].parent->motion_val[0][h->mb2b_xy[mb_xy]]; in pred_temp_direct_motion() 570 l1mv1 = (void*)&sl->ref_list[1][0].parent->motion_val[1][h->mb2b_xy[mb_xy]]; in pred_temp_direct_motion()
|
D | mpegutils.h | 145 uint32_t *mbtype_table, int8_t *qscale_table, int16_t (*motion_val[2])[2],
|
D | ituh263dec.c | 356 mot_val = s->current_picture.motion_val[0][s->block_index[0]]; in preview_obmc() 638 p_mx = p->motion_val[0][xy][0]; in set_one_direct_mv() 646 p_my = p->motion_val[0][xy][1]; in set_one_direct_mv() 806 int16_t *mot_val0 = s->current_picture.motion_val[0][2 * (s->mb_x + s->mb_y * stride)]; in ff_h263_decode_mb() 807 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 | 137 int16_t (*motion_val[2])[2]; member 754 int16_t(*mv_dst)[2] = &h->cur_pic.motion_val[list][b_xy]; in write_back_motion_list()
|
D | h264_mvpred.h | 53 mv = h->cur_pic_ptr->motion_val[list][h->mb2b_xy[xy] + 3 + y4 * h->b_stride]; \ in fetch_diagonal_mv() 264 int16_t(*mv)[2] = h->cur_pic.motion_val[0]; in pred_pskip_motion() 614 int16_t(*mv)[2] = h->cur_pic.motion_val[list]; in fill_decode_caches()
|