Home
last modified time | relevance | path

Searched refs:mb_type (Results 1 – 25 of 56) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
Dmpegutils.c32 static int add_mb(AVMotionVector *mb, uint32_t mb_type, in add_mb() argument
37 mb->w = IS_8X8(mb_type) || IS_8X16(mb_type) ? 8 : 16; in add_mb()
38 mb->h = IS_8X8(mb_type) || IS_16X8(mb_type) ? 8 : 16; in add_mb()
124 int i, direction, mb_type = mbtype_table[mb_x + mb_y * mb_stride]; in ff_print_debug_info2() local
126 if (!USES_LIST(mb_type, direction)) in ff_print_debug_info2()
128 if (IS_8X8(mb_type)) { in ff_print_debug_info2()
136 … mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
138 } else if (IS_16X8(mb_type)) { in ff_print_debug_info2()
146 if (IS_INTERLACED(mb_type)) in ff_print_debug_info2()
149 … mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
[all …]
Dh264_mc_template.c75 const int mb_type = h->cur_pic.mb_type[mb_xy]; in MCFUNC() local
77 av_assert2(IS_INTER(mb_type)); in MCFUNC()
81 if (USES_LIST(mb_type, 0)) in MCFUNC()
84 if (IS_16X16(mb_type)) { in MCFUNC()
88 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); in MCFUNC()
89 } else if (IS_16X8(mb_type)) { in MCFUNC()
93 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); in MCFUNC()
97 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1)); in MCFUNC()
98 } else if (IS_8X16(mb_type)) { in MCFUNC()
102 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); in MCFUNC()
[all …]
Dh264_cavlc.c635 int mb_type, int cbp, int p) in decode_luma_residual() argument
639 if(IS_INTRA16x16(mb_type)){ in decode_luma_residual()
666 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p; in decode_luma_residual()
671 if(IS_8x8DCT(mb_type)){ in decode_luma_residual()
706 unsigned int mb_type, cbp; in ff_h264_decode_mb_cavlc() local
742 mb_type= get_ue_golomb(&sl->gb); in ff_h264_decode_mb_cavlc()
744 if(mb_type < 23){ in ff_h264_decode_mb_cavlc()
745 partition_count = ff_h264_b_mb_type_info[mb_type].partition_count; in ff_h264_decode_mb_cavlc()
746 mb_type = ff_h264_b_mb_type_info[mb_type].type; in ff_h264_decode_mb_cavlc()
748 mb_type -= 23; in ff_h264_decode_mb_cavlc()
[all …]
Dh264_cabac.c1290 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == sl->slice_num); in decode_cabac_field_decoding_flag()
1299 int mb_type; in decode_cabac_intra_mb_type() local
1318 mb_type = 1; /* I16x16 */ in decode_cabac_intra_mb_type()
1319 mb_type += 12 * get_cabac_noinline( &sl->cabac, &state[1] ); /* cbp_luma != 0 */ in decode_cabac_intra_mb_type()
1321 mb_type += 4 + 4 * get_cabac_noinline( &sl->cabac, &state[2+intra_slice] ); in decode_cabac_intra_mb_type()
1322 mb_type += 2 * get_cabac_noinline( &sl->cabac, &state[3+intra_slice] ); in decode_cabac_intra_mb_type()
1323 mb_type += 1 * get_cabac_noinline( &sl->cabac, &state[3+2*intra_slice] ); in decode_cabac_intra_mb_type()
1324 return mb_type; in decode_cabac_intra_mb_type()
1338 && MB_FIELD(sl) == !!IS_INTERLACED( h->cur_pic.mb_type[mba_xy] ) ) in decode_cabac_mb_skip()
1344 && IS_INTERLACED( h->cur_pic.mb_type[mbb_xy] ) ) in decode_cabac_mb_skip()
[all …]
Dh264_direct.c201 int *mb_type) in pred_spatial_direct_motion() argument
209 const int is_b8x8 = IS_8X8(*mb_type); in pred_spatial_direct_motion()
219 sl->mb_y + !!IS_INTERLACED(*mb_type)); in pred_spatial_direct_motion()
265 *mb_type &= mask; in pred_spatial_direct_motion()
272 *mb_type |= MB_TYPE_L0L1; in pred_spatial_direct_motion()
281 *mb_type = (*mb_type & ~(MB_TYPE_8x8 | MB_TYPE_16x8 | MB_TYPE_8x16 | in pred_spatial_direct_motion()
287 if (IS_INTERLACED(sl->ref_list[1][0].parent->mb_type[mb_xy])) { // AFL/AFR/FR/FL -> AFL/FL in pred_spatial_direct_motion()
288 if (!IS_INTERLACED(*mb_type)) { // AFR/FR -> AFL/FL in pred_spatial_direct_motion()
299 if (IS_INTERLACED(*mb_type)) { // AFL /FL -> AFR/FR in pred_spatial_direct_motion()
302 mb_type_col[0] = sl->ref_list[1][0].parent->mb_type[mb_xy]; in pred_spatial_direct_motion()
[all …]
Dh264_mvpred.h49 const int mb_type = mb_types[xy + (y4 >> 2) * h->mb_stride]; \ in fetch_diagonal_mv()
50 if (!USES_LIST(mb_type, list)) \ in fetch_diagonal_mv()
60 const uint32_t *mb_types = h->cur_pic_ptr->mb_type; in fetch_diagonal_mv()
356 static void fill_decode_neighbors(const H264Context *h, H264SliceContext *sl, int mb_type) in fill_decode_neighbors() argument
379 const int left_mb_field_flag = IS_INTERLACED(h->cur_pic.mb_type[mb_xy - 1]); in fill_decode_neighbors()
380 const int curr_mb_field_flag = IS_INTERLACED(mb_type); in fill_decode_neighbors()
397 topleft_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy - 1] >> 7) & 1) - 1); in fill_decode_neighbors()
398 topright_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy + 1] >> 7) & 1) - 1); in fill_decode_neighbors()
399 top_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy] >> 7) & 1) - 1); in fill_decode_neighbors()
419 sl->topleft_type = h->cur_pic.mb_type[topleft_xy]; in fill_decode_neighbors()
[all …]
Dh264_mb_template.c46 const int mb_type = h->cur_pic.mb_type[mb_xy]; in FUNC() local
77 if (!USES_LIST(mb_type, list)) in FUNC()
79 if (IS_16X16(mb_type)) { in FUNC()
98 if (!SIMPLE && IS_INTRA_PCM(mb_type)) { in FUNC()
153 if (IS_INTRA(mb_type)) { in FUNC()
163 hl_decode_mb_predict_luma(h, sl, mb_type, SIMPLE, in FUNC()
190 hl_decode_mb_idct_luma(h, sl, mb_type, SIMPLE, transform_bypass, in FUNC()
197 if (IS_INTRA(mb_type) && h->ps.sps->profile_idc == 244 && in FUNC()
238 … h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 1 : 4][qp[0]][0]); in FUNC()
241 … h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 2 : 5][qp[1]][0]); in FUNC()
[all …]
Dsvq3.c77 uint32_t *mb_type; member
620 int mb_type, const int *block_offset, in hl_decode_mb_idct_luma() argument
624 if (!IS_INTRA4x4(mb_type)) { in hl_decode_mb_idct_luma()
629 s->qscale, IS_INTRA(mb_type) ? 1 : 0); in hl_decode_mb_idct_luma()
635 int mb_type, in hl_decode_mb_predict_luma() argument
643 if (IS_INTRA4x4(mb_type)) { in hl_decode_mb_predict_luma()
678 const int mb_type = s->cur_pic->mb_type[mb_xy]; in hl_decode_mb() local
695 if (IS_INTRA(mb_type)) { in hl_decode_mb()
699 hl_decode_mb_predict_luma(s, mb_type, block_offset, linesize, dest_y); in hl_decode_mb()
702 hl_decode_mb_idct_luma(s, mb_type, block_offset, linesize, dest_y); in hl_decode_mb()
[all …]
Dvp56.c122 …model->mb_type[ctx][type][0] = 255 - (255 * model->mb_types_stats[ctx][type][0]) / (1 + model->mb_… in vp56_parse_mb_type_models()
136 model->mb_type[ctx][type][1] = 1 + 255 * p0234/(1+p0234+p156789); in vp56_parse_mb_type_models()
137 model->mb_type[ctx][type][2] = 1 + 255 * p02 / (1+p0234); in vp56_parse_mb_type_models()
138 model->mb_type[ctx][type][3] = 1 + 255 * p17 / (1+p156789); in vp56_parse_mb_type_models()
139 model->mb_type[ctx][type][4] = 1 + 255 * p[0] / (1+p02); in vp56_parse_mb_type_models()
140 model->mb_type[ctx][type][5] = 1 + 255 * p[3] / (1+p34); in vp56_parse_mb_type_models()
141 model->mb_type[ctx][type][6] = 1 + 255 * p[1] / (1+p17); in vp56_parse_mb_type_models()
142 model->mb_type[ctx][type][7] = 1 + 255 * p56 / (1+p5689); in vp56_parse_mb_type_models()
143 model->mb_type[ctx][type][8] = 1 + 255 * p[5] / (1+p56); in vp56_parse_mb_type_models()
144 model->mb_type[ctx][type][9] = 1 + 255 * p[8] / (1+p89); in vp56_parse_mb_type_models()
[all …]
Dh264_mb.c99 const int mb_type = h->cur_pic.mb_type[mb_xy]; in await_references() local
106 if (IS_16X16(mb_type)) { in await_references()
108 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); in await_references()
109 } else if (IS_16X8(mb_type)) { in await_references()
111 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); in await_references()
113 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1), nrefs); in await_references()
114 } else if (IS_8X16(mb_type)) { in await_references()
116 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); in await_references()
118 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1), nrefs); in await_references()
122 av_assert2(IS_8X8(mb_type)); in await_references()
[all …]
Dh264_loopfilter.c258 int mb_type = h->cur_pic.mb_type[mb_xy]; in h264_filter_mb_fast_internal() local
270 if( IS_INTRA(mb_type) ) { in h264_filter_mb_fast_internal()
276 if( IS_8x8DCT(mb_type) ) { in h264_filter_mb_fast_internal()
299 if( IS_8x8DCT(mb_type) ) { in h264_filter_mb_fast_internal()
362 if( IS_8x8DCT(mb_type) && (sl->cbp&7) == 7 && !chroma444 ) { in h264_filter_mb_fast_internal()
369 …int mask_edge1 = (3*(((5*mb_type)>>5)&1)) | (mb_type>>4); //(mb_type & (MB_TYPE_16x16 | MB_TYPE_8x… in h264_filter_mb_fast_internal()
371 int step = 1+(mb_type>>24); //IS_8x8DCT(mb_type) ? 2 : 1; in h264_filter_mb_fast_internal()
372 …edges = 4 - 3*((mb_type>>3) & !(sl->cbp & 15)); //(mb_type & MB_TYPE_16x16) && !(h->cbp & 15) ? 1 … in h264_filter_mb_fast_internal()
399 } else if( IS_8x8DCT(mb_type) ) { in h264_filter_mb_fast_internal()
474 int mb_xy, int mb_type, int mvy_limit, in filter_mb_dir() argument
[all …]
Dcavsdec.c736 static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) in decode_mb_p() argument
742 switch (mb_type) { in decode_mb_p()
772 ff_cavs_inter(h, mb_type); in decode_mb_p()
775 if (mb_type != P_SKIP) in decode_mb_p()
777 ff_cavs_filter(h, mb_type); in decode_mb_p()
778 h->col_type_base[h->mbidx] = mb_type; in decode_mb_p()
781 static int decode_mb_b(AVSContext *h, enum cavs_mb mb_type) in decode_mb_b() argument
794 switch (mb_type) { in decode_mb_b()
875 if (mb_type <= B_SYM_16X16) { in decode_mb_b()
876 av_log(h->avctx, AV_LOG_ERROR, "Invalid mb_type %d in B frame\n", mb_type); in decode_mb_b()
[all …]
Dituh263dec.c363 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; in preview_obmc()
370 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; in preview_obmc()
382 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; in preview_obmc()
400 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; in preview_obmc()
664 int colocated_mb_type = p->mb_type[mb_index]; in set_direct_mv()
669 colocated_mb_type = p->mb_type[mb_index]; in set_direct_mv()
716 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; in ff_h263_decode_mb()
754 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; in ff_h263_decode_mb()
779 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; in ff_h263_decode_mb()
805 int mb_type; in ff_h263_decode_mb() local
[all …]
Dvc1_block.c88 if (i > 3 ? v->mb_type[0][s->block_index[i] - s->block_wrap[i] - 1] : in vc1_put_blocks_clamped()
89 v->mb_type[0][s->block_index[i] - 2 * s->block_wrap[i] - 2]) { in vc1_put_blocks_clamped()
104 if (i > 3 ? v->mb_type[0][s->block_index[i] - s->block_wrap[i]] : in vc1_put_blocks_clamped()
105 v->mb_type[0][s->block_index[i] - 2 * s->block_wrap[i]]) { in vc1_put_blocks_clamped()
124 if (i > 3 ? v->mb_type[0][s->block_index[i] - 1] : in vc1_put_blocks_clamped()
125 v->mb_type[0][s->block_index[i] - 2]) { in vc1_put_blocks_clamped()
145 if (v->mb_type[0][s->block_index[i]]) { in vc1_put_blocks_clamped()
1336 s->current_picture.mb_type[mb_pos] = s->mb_intra ? MB_TYPE_INTRA : MB_TYPE_16x16; in vc1_decode_p_mb()
1337 ff_vc1_pred_mv(v, 0, dmv_x, dmv_y, 1, v->range_x, v->range_y, v->mb_type[0], 0, 0); in vc1_decode_p_mb()
1365 v->mb_type[0][s->block_index[i]] = s->mb_intra; in vc1_decode_p_mb()
[all …]
Dh264dec.h85 #define IS_INTERLACED(mb_type) 0 argument
139 uint32_t *mb_type; member
607 int *mb_type);
751 int mb_type, int list) in write_back_motion_list() argument
763 if (IS_SKIP(mb_type)) { in write_back_motion_list()
785 int mb_type) in write_back_motion() argument
791 if (USES_LIST(mb_type, 0)) { in write_back_motion()
792 write_back_motion_list(h, sl, b_stride, b_xy, b8_xy, mb_type, 0); in write_back_motion()
797 if (USES_LIST(mb_type, 1)) in write_back_motion()
798 write_back_motion_list(h, sl, b_stride, b_xy, b8_xy, mb_type, 1); in write_back_motion()
[all …]
Derror_resilience.c156 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
169 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
184 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
197 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
214 if (IS_INTER(s->cur_pic.mb_type[mb_index])) in guess_dc()
256 …int left_intra = IS_INTRA(s->cur_pic.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
257 …int right_intra = IS_INTRA(s->cur_pic.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
325 …int top_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ( b_y >> is_luma) * s->mb_… in v_block_filter()
326 …int bottom_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_… in v_block_filter()
421 if (IS_INTRA(s->cur_pic.mb_type[mb_xy])) in guess_mv()
[all …]
Dwmv2dec.c38 uint32_t *const mb_type = s->current_picture_ptr->mb_type; in parse_mb_skip() local
45 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
53 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
62 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
66 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
77 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
81 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
90 coded_mb_count += !IS_SKIP(mb_type[mb_y * s->mb_stride + mb_x]); in parse_mb_skip()
394 if (IS_SKIP(s->current_picture.mb_type[s->mb_y * s->mb_stride + s->mb_x])) { in ff_wmv2_decode_mb()
Dmpeg12dec.c658 int i, j, k, cbp, val, mb_type, motion_type; in mpeg_decode_mb() local
669 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] = in mpeg_decode_mb()
672 int mb_type; in mpeg_decode_mb() local
675 mb_type = s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride - 1]; in mpeg_decode_mb()
678mb_type = s->current_picture.mb_type[s->mb_width + (s->mb_y - 1) * s->mb_stride - 1]; in mpeg_decode_mb()
679 if (IS_INTRA(mb_type)) { in mpeg_decode_mb()
683 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] = in mpeg_decode_mb()
684 mb_type | MB_TYPE_SKIP; in mpeg_decode_mb()
703 mb_type = MB_TYPE_QUANT | MB_TYPE_INTRA; in mpeg_decode_mb()
705 mb_type = MB_TYPE_INTRA; in mpeg_decode_mb()
[all …]
Dh263.c86 s->current_picture.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_8x8; in ff_h263_update_motion_val()
88 s->current_picture.mb_type[mb_xy] = MB_TYPE_INTRA; in ff_h263_update_motion_val()
90 s->current_picture.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_16x16; in ff_h263_update_motion_val()
148 if (!IS_SKIP(s->current_picture.mb_type[xy])) { in ff_h263_loop_filter()
158 if (IS_SKIP(s->current_picture.mb_type[xy - s->mb_stride])) in ff_h263_loop_filter()
181 if (qp_tt || IS_SKIP(s->current_picture.mb_type[xy - 1 - s->mb_stride])) in ff_h263_loop_filter()
203 if (qp_c || IS_SKIP(s->current_picture.mb_type[xy - 1])) in ff_h263_loop_filter()
Dh264_picture.c87 dst->mb_type = src->mb_type; in ff_h264_ref_picture()
154 dst->mb_type = src->mb_type; in ff_h264_set_erpic()
Dmpeg4videodec.c726 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; in mpeg4_decode_partition_a()
763 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | in mpeg4_decode_partition_a()
770 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | in mpeg4_decode_partition_a()
803 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; in mpeg4_decode_partition_a()
836 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | in mpeg4_decode_partition_a()
841 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | in mpeg4_decode_partition_a()
856 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | in mpeg4_decode_partition_a()
911 s->current_picture.mb_type[xy] |= ac_pred * MB_TYPE_ACPRED; in mpeg4_decode_partition_b()
913 if (IS_INTRA(s->current_picture.mb_type[xy])) { in mpeg4_decode_partition_b()
943 s->current_picture.mb_type[xy] |= ac_pred * MB_TYPE_ACPRED; in mpeg4_decode_partition_b()
[all …]
Dcavs.c109 void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type) in ff_cavs_filter() argument
130 if (mb_type == I_8X8) in ff_cavs_filter()
134 if (ff_cavs_partition_flags[mb_type] & SPLITV) { in ff_cavs_filter()
135 bs[2] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X1], mb_type > P_8X8); in ff_cavs_filter()
136 bs[3] = get_bs(&h->mv[MV_FWD_X2], &h->mv[MV_FWD_X3], mb_type > P_8X8); in ff_cavs_filter()
138 if (ff_cavs_partition_flags[mb_type] & SPLITH) { in ff_cavs_filter()
139 bs[6] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X2], mb_type > P_8X8); in ff_cavs_filter()
140 bs[7] = get_bs(&h->mv[MV_FWD_X1], &h->mv[MV_FWD_X3], mb_type > P_8X8); in ff_cavs_filter()
142 bs[0] = get_bs(&h->mv[MV_FWD_A1], &h->mv[MV_FWD_X0], mb_type > P_8X8); in ff_cavs_filter()
143 bs[1] = get_bs(&h->mv[MV_FWD_A3], &h->mv[MV_FWD_X2], mb_type > P_8X8); in ff_cavs_filter()
[all …]
Drv34.c362 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
372 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
398 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
399 r->mb_type[mb_pos] = r->block_type; in rv34_decode_inter_mb_header()
402 r->mb_type[mb_pos] = RV34_MB_P_16x16; in rv34_decode_inter_mb_header()
404 r->mb_type[mb_pos] = RV34_MB_B_DIRECT; in rv34_decode_inter_mb_header()
406 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header()
416 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header()
432 if(r->mb_type[mb_pos] == RV34_MB_P_MIX16x16){ in rv34_decode_inter_mb_header()
561 int type = cur_pic->mb_type[mb_pos]; in rv34_pred_mv_b()
[all …]
Dmotion_est.c895 int mb_type=0; in ff_estimate_p_frame_motion() local
975 mb_type|= CANDIDATE_MB_TYPE_INTRA; in ff_estimate_p_frame_motion()
978 mb_type|= CANDIDATE_MB_TYPE_INTER; in ff_estimate_p_frame_motion()
982 mb_type |= CANDIDATE_MB_TYPE_SKIPPED; //FIXME check difference in ff_estimate_p_frame_motion()
990 mb_type|=CANDIDATE_MB_TYPE_INTER4V; in ff_estimate_p_frame_motion()
998 mb_type |= CANDIDATE_MB_TYPE_INTER_I; in ff_estimate_p_frame_motion()
1002 mb_type= CANDIDATE_MB_TYPE_INTER; in ff_estimate_p_frame_motion()
1012 mb_type= CANDIDATE_MB_TYPE_INTER4V; in ff_estimate_p_frame_motion()
1020 mb_type = CANDIDATE_MB_TYPE_INTER_I; in ff_estimate_p_frame_motion()
1025 set_p_mv_tables(s, mx, my, mb_type!=CANDIDATE_MB_TYPE_INTER4V); in ff_estimate_p_frame_motion()
[all …]
Drv40.c248 blocks[r->mb_type[mb_pos - 1]]++; in rv40_decode_mb_info()
249 blocks[r->mb_type[mb_pos - s->mb_stride]]++; in rv40_decode_mb_info()
251 blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++; in rv40_decode_mb_info()
253 blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++; in rv40_decode_mb_info()
263 prev_type = r->mb_type[mb_pos - 1]; in rv40_decode_mb_info()
373 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv40_loop_filter()
403 mbtype [i] = s->current_picture_ptr->mb_type[pos]; in rv40_loop_filter()

123