/third_party/ffmpeg/libavcodec/ |
D | rv34.c | 462 int mv_pos = s->mb_x * 2 + s->mb_y * 2 * s->b8_stride; in rv34_pred_mv() 469 mv_pos += (subblock_no & 1) + (subblock_no >> 1)*s->b8_stride; 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 | h264_direct.c | 203 int b8_stride = 2; in pred_spatial_direct_motion() local 292 b8_stride = 0; in pred_spatial_direct_motion() 304 b8_stride = 2 + 4 * h->mb_stride; in pred_spatial_direct_motion() 349 if (!b8_stride) { in pred_spatial_direct_motion() 363 int xy8 = x8 + y8 * b8_stride; in pred_spatial_direct_motion() 442 assert(b8_stride == 2); in pred_spatial_direct_motion() 490 int b8_stride = 2; in pred_temp_direct_motion() local 510 b8_stride = 0; in pred_temp_direct_motion() 522 b8_stride = 2 + 4 * h->mb_stride; in pred_temp_direct_motion() 573 if (!b8_stride) { in pred_temp_direct_motion() [all …]
|
D | svq1enc.c | 239 s->block_index[0]= s->b8_stride*(s->mb_y*2 ) + s->mb_x*2; in init_block_index() 240 s->block_index[1]= s->b8_stride*(s->mb_y*2 ) + 1 + s->mb_x*2; in init_block_index() 241 s->block_index[2]= s->b8_stride*(s->mb_y*2 + 1) + s->mb_x*2; in init_block_index() 242 s->block_index[3]= s->b8_stride*(s->mb_y*2 + 1) + 1 + s->mb_x*2; in init_block_index() 243 …s->block_index[4]= s->mb_stride*(s->mb_y + 1) + s->b8_stride*s->mb_height*2 + s->mb… in init_block_index() 244 …s->block_index[5]= s->mb_stride*(s->mb_y + s->mb_height + 2) + s->b8_stride*s->mb_height*2 + s->mb… in init_block_index() 284 s->m.b8_stride = 2 * s->m.mb_width + 1; in svq1_encode_plane() 300 s->motion_val8[plane] = av_mallocz((s->m.b8_stride * in svq1_encode_plane() 464 motion_ptr[0 + 2 * s->m.b8_stride] = in svq1_encode_plane() 465 motion_ptr[1 + 2 * s->m.b8_stride] = in svq1_encode_plane() [all …]
|
D | vc1_loopfilter.c | 448 mv[0][0] != mv[block_num > 3 ? s->mb_stride : s->b8_stride][0] || in vc1_p_v_loop_filter() 449 mv[0][1] != mv[block_num > 3 ? s->mb_stride : s->b8_stride][1] || in vc1_p_v_loop_filter() 450 (v->fcm == ILACE_FIELD && mv_f[0] != mv_f[block_num > 3 ? s->mb_stride : s->b8_stride])) in vc1_p_v_loop_filter() 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() 505 … &v->mv_f[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() 525 … &v->mv_f[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() 548 … &v->mv_f[0][s->block_index[i] - 2 * s->b8_stride - 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() [all …]
|
D | h263.c | 57 const int wrap = s->b8_stride; in ff_h263_update_motion_val() 115 wrap = s->b8_stride; in ff_h263_pred_dc() 241 wrap = s->b8_stride; in ff_h263_pred_acdc() 326 wrap = s->b8_stride; in ff_h263_pred_motion()
|
D | vc1dec.c | 361 …v->mb_type_base = av_malloc(s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * … in ff_vc1_decode_init_alloc_tables() 364 v->mb_type[0] = v->mb_type_base + s->b8_stride + 1; in ff_vc1_decode_init_alloc_tables() 365 v->mb_type[1] = v->mb_type_base + s->b8_stride * (mb_height * 2 + 1) + s->mb_stride + 1; in ff_vc1_decode_init_alloc_tables() 369 …v->blk_mv_type_base = av_mallocz( s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_heig… in ff_vc1_decode_init_alloc_tables() 372 v->blk_mv_type = v->blk_mv_type_base + s->b8_stride + 1; in ff_vc1_decode_init_alloc_tables() 373 …v->mv_f_base = av_mallocz(2 * (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_heig… in ff_vc1_decode_init_alloc_tables() 376 v->mv_f[0] = v->mv_f_base + s->b8_stride + 1; in ff_vc1_decode_init_alloc_tables() 377 …v->mv_f[1] = v->mv_f[0] + (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height… in ff_vc1_decode_init_alloc_tables() 378 …v->mv_f_next_base = av_mallocz(2 * (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_heig… in ff_vc1_decode_init_alloc_tables() 381 v->mv_f_next[0] = v->mv_f_next_base + s->b8_stride + 1; in ff_vc1_decode_init_alloc_tables() [all …]
|
D | mpeg_er.c | 113 er->b8_stride = s->b8_stride; in ff_mpeg_er_init()
|
D | mpegpicture.c | 185 int mb_stride, int mb_width, int mb_height, int b8_stride) in alloc_picture_tables() argument 189 const int b8_array_size = b8_stride * mb_height * 2; in alloc_picture_tables() 235 int mb_stride, int mb_width, int mb_height, int b8_stride, in ff_alloc_picture() argument 261 mb_stride, mb_width, mb_height, b8_stride); in ff_alloc_picture()
|
D | error_resilience.c | 52 *stride = s->b8_stride; in set_mv_strides() 65 dc = s->dc_val[0][mb_x * 2 + (i & 1) + (mb_y * 2 + (i >> 1)) * s->b8_stride]; in put_dc() 908 int size = s->b8_stride * 2 * s->mb_height; in ff_er_frame_end() 1169 int mb_index = mb_x * 2 + mb_y * 2 * s->b8_stride; in ff_er_frame_end() 1173 … s->mv[0][j][0] = s->cur_pic.motion_val[dir][mb_index + (j & 1) + (j >> 1) * s->b8_stride][0]; in ff_er_frame_end() 1174 … s->mv[0][j][1] = s->cur_pic.motion_val[dir][mb_index + (j & 1) + (j >> 1) * s->b8_stride][1]; in ff_er_frame_end() 1178 s->mv[0][0][0] = s->cur_pic.motion_val[dir][mb_x * 2 + mb_y * 2 * s->b8_stride][0]; in ff_er_frame_end() 1179 s->mv[0][0][1] = s->cur_pic.motion_val[dir][mb_x * 2 + mb_y * 2 * s->b8_stride][1]; in ff_er_frame_end() 1191 int xy = mb_x * 2 + mb_y * 2 * s->b8_stride; in ff_er_frame_end() 1258 dc_ptr = &s->dc_val[0][mb_x * 2 + mb_y * 2 * s->b8_stride]; in ff_er_frame_end() [all …]
|
D | mpegvideo.c | 355 s->mb_stride, s->mb_width, s->mb_height, s->b8_stride, in alloc_picture() 361 int y_size = s->b8_stride * (2 * s->mb_height + 1); in init_duplicate_context() 367 yc_size += 2*s->b8_stride + 2*s->mb_stride; in init_duplicate_context() 401 s->ac_val[0] = s->ac_val_base + s->b8_stride + 1; in init_duplicate_context() 722 s->b8_stride = s->mb_width * 2 + 1; in init_context_frame() 736 s->block_wrap[3] = s->b8_stride; in init_context_frame() 740 y_size = s->b8_stride * (2 * s->mb_height + 1); in init_context_frame() 745 yc_size += 2*s->b8_stride + 2*s->mb_stride; in init_context_frame() 802 if (!FF_ALLOCZ_TYPED_ARRAY(s->coded_block_base, y_size + (s->mb_height&1)*2*s->b8_stride) || in init_context_frame() 806 s->coded_block = s->coded_block_base + s->b8_stride + 1; in init_context_frame() [all …]
|
D | error_resilience.h | 62 ptrdiff_t b8_stride; member
|
D | mpegpicture.h | 101 int mb_stride, int mb_width, int mb_height, int b8_stride,
|
D | mpeg4video.c | 49 l_wrap = s->b8_stride; in ff_mpeg4_clean_buffers()
|
D | msmpeg4.c | 158 wrap = s->b8_stride; in ff_msmpeg4_coded_block_pred()
|
D | vc1_pred.c | 240 wrap = s->b8_stride; in ff_vc1_pred_mv() 482 wrap = s->b8_stride; in ff_vc1_pred_mv_intfr() 714 wrap = s->b8_stride; in ff_vc1_pred_b_mv()
|
D | motion_est.c | 513 mot_xy += s->b8_stride; in set_p_mv_tables() 591 const int mot_stride = s->b8_stride; in h263_mv4_search() 923 const int mot_stride = s->b8_stride; in ff_estimate_p_frame_motion() 1666 const int wrap= s->b8_stride; in ff_fix_long_p_mvs()
|
D | wmv2dec.c | 299 wrap = s->b8_stride; in wmv2_pred_motion()
|
D | ituh263dec.c | 343 const int stride= s->b8_stride*2; in preview_obmc() 805 const int stride= s->b8_stride; in ff_h263_decode_mb()
|
D | mpegvideo.h | 131 …int b8_stride; ///< 2*mb_width+1 used for some 8x8 block arrays to allow simple addres… member
|
D | rv10.c | 525 s->block_wrap[3] = s->b8_stride; in rv10_decode_packet()
|
D | h264dec.c | 253 er->b8_stride = h->mb_width * 2 + 1; in ff_h264_slice_context_init()
|
D | mpegvideo_motion.c | 670 const int mot_stride = s->b8_stride; in apply_obmc()
|
D | vc1_block.c | 481 wrap = s->b8_stride; in vc1_coded_block_pred() 2699 memset(&s->coded_block[s->block_index[0] - s->b8_stride], 0, in vc1_decode_i_blocks_adv() 2700 (1 + s->b8_stride) * sizeof(*s->coded_block)); in vc1_decode_i_blocks_adv()
|
D | snowenc.c | 1689 s->m.b8_stride= 2*s->m.mb_width+1; in encode_frame()
|
D | mpeg12dec.c | 1811 const int wrap = s->b8_stride; in mpeg_decode_slice()
|