Searched refs:mb_pos (Results 1 – 9 of 9) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | rv30.c | 154 int mb_pos, mb_x; in rv30_loop_filter() local 159 mb_pos = row * s->mb_stride; in rv30_loop_filter() 160 for(mb_x = 0; mb_x < s->mb_width; mb_x++, mb_pos++){ in rv30_loop_filter() 161 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv30_loop_filter() 163 r->deblock_coefs[mb_pos] = 0xFFFF; in rv30_loop_filter() 165 r->cbp_chroma[mb_pos] = 0xFF; in rv30_loop_filter() 171 mb_pos = row * s->mb_stride; in rv30_loop_filter() 172 for(mb_x = 0; mb_x < s->mb_width; mb_x++, mb_pos++){ in rv30_loop_filter() 173 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter() 175 left_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - 1]]; in rv30_loop_filter() [all …]
|
D | rv40.c | 236 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in rv40_decode_mb_info() local 251 blocks[r->mb_type[mb_pos - 1]]++; in rv40_decode_mb_info() 252 blocks[r->mb_type[mb_pos - s->mb_stride]]++; in rv40_decode_mb_info() 254 blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++; in rv40_decode_mb_info() 256 blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++; in rv40_decode_mb_info() 266 prev_type = r->mb_type[mb_pos - 1]; in rv40_decode_mb_info() 343 int mb_pos, mb_x; in rv40_loop_filter() local 374 mb_pos = row * s->mb_stride; in rv40_loop_filter() 375 for(mb_x = 0; mb_x < s->mb_width; mb_x++, mb_pos++){ in rv40_loop_filter() 376 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv40_loop_filter() [all …]
|
D | vc1_block.c | 410 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in ff_vc1_pred_dc() local 415 q1 = FFABS(s->current_picture.qscale_table[mb_pos]); in ff_vc1_pred_dc() 431 q2 = FFABS(s->current_picture.qscale_table[mb_pos - 1]); in ff_vc1_pred_dc() 436 q2 = FFABS(s->current_picture.qscale_table[mb_pos - s->mb_stride]); in ff_vc1_pred_dc() 441 int off = mb_pos; in ff_vc1_pred_dc() 730 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in vc1_decode_i_block_adv() local 775 q1 = s->current_picture.qscale_table[mb_pos]; in vc1_decode_i_block_adv() 781 else if (c_avail && mb_pos) in vc1_decode_i_block_adv() 782 q2 = s->current_picture.qscale_table[mb_pos - 1]; in vc1_decode_i_block_adv() 786 else if (a_avail && mb_pos >= s->mb_stride) in vc1_decode_i_block_adv() [all …]
|
D | rv34.c | 350 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in rv34_decode_intra_mb_header() local 355 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header() 365 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header() 385 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in rv34_decode_inter_mb_header() local 391 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header() 392 r->mb_type[mb_pos] = r->block_type; in rv34_decode_inter_mb_header() 395 r->mb_type[mb_pos] = RV34_MB_P_16x16; in rv34_decode_inter_mb_header() 397 r->mb_type[mb_pos] = RV34_MB_B_DIRECT; in rv34_decode_inter_mb_header() 399 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header() 409 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header() [all …]
|
D | vc1_loopfilter.c | 110 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in ff_vc1_i_overlap_filter() local 132 (v->over_flags_plane[mb_pos] && in ff_vc1_i_overlap_filter() 133 ((i & 5) == 1 || v->over_flags_plane[mb_pos - 1]))))) in ff_vc1_i_overlap_filter() 136 v->fcm == ILACE_FRAME && s->mb_x && v->fieldtx_plane[mb_pos - 1], in ff_vc1_i_overlap_filter() 137 v->fcm == ILACE_FRAME && v->fieldtx_plane[mb_pos], in ff_vc1_i_overlap_filter() 149 (v->over_flags_plane[mb_pos - 1] && in ff_vc1_i_overlap_filter() 150 ((i & 2) || v->over_flags_plane[mb_pos - 1 - s->mb_stride])))))) in ff_vc1_i_overlap_filter() 155 (v->over_flags_plane[mb_pos] && in ff_vc1_i_overlap_filter() 156 ((i & 2) || v->over_flags_plane[mb_pos - s->mb_stride])))))) in ff_vc1_i_overlap_filter() 166 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in ff_vc1_p_overlap_filter() local [all …]
|
D | rv10.c | 160 int seq, mb_pos, i, ret; in rv20_decode_picture_header() local 266 mb_pos = ff_h263_decode_mba(s); in rv20_decode_picture_header() 316 return s->mb_width * s->mb_height - mb_pos; in rv20_decode_picture_header() 447 int mb_count, mb_pos, left, start_mb_x, active_bits_size, ret; in rv10_decode_packet() local 466 mb_pos = s->mb_y * s->mb_width + s->mb_x; in rv10_decode_packet() 467 left = s->mb_width * s->mb_height - mb_pos; in rv10_decode_packet()
|
D | ituh263enc.c | 824 int i, mb_pos; in ff_h263_encode_mba() local 829 mb_pos= s->mb_x + s->mb_width*s->mb_y; in ff_h263_encode_mba() 830 put_bits(&s->pb, ff_mba_length[i], mb_pos); in ff_h263_encode_mba()
|
D | ituh263dec.c | 140 int i, mb_pos; in ff_h263_decode_mba() local 145 mb_pos = get_bits(&s->gb, ff_mba_length[i]); in ff_h263_decode_mba() 146 s->mb_x = mb_pos % s->mb_width; in ff_h263_decode_mba() 147 s->mb_y = mb_pos / s->mb_width; in ff_h263_decode_mba() 149 return mb_pos; in ff_h263_decode_mba()
|
D | vc1_pred.c | 896 int mb_pos = s->mb_x + s->mb_y * s->mb_stride; in ff_vc1_pred_b_mv_intfi() local 900 if (s->next_picture.mb_type[mb_pos + v->mb_off] != MB_TYPE_INTRA) { in ff_vc1_pred_b_mv_intfi()
|