Home
last modified time | relevance | path

Searched refs:mb_type (Results 1 - 25 of 53) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
H A 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()
47 mb->flags = 0; // XXX: does mb_type contain extra information that could be exported here? in add_mb()
123 int i, direction, mb_type = mbtype_table[mb_x + mb_y * mb_stride]; in ff_print_debug_info2() local
125 if (!USES_LIST(mb_type, direction)) in ff_print_debug_info2()
127 if (IS_8X8(mb_type)) { in ff_print_debug_info2()
135 mbcount += add_mb(mvs + mbcount, mb_type, s in ff_print_debug_info2()
213 int mb_type = mbtype_table[x + y * mb_stride]; ff_print_debug_info2() local
[all...]
H A Dh264_mc_template.c75 const int mb_type = h->cur_pic.mb_type[mb_xy]; in hl_motion() local
77 av_assert2(IS_INTER(mb_type)); in hl_motion()
81 if (USES_LIST(mb_type, 0)) in hl_motion()
84 if (IS_16X16(mb_type)) { in hl_motion()
88 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); in hl_motion()
89 } else if (IS_16X8(mb_type)) { in hl_motion()
93 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, in hl_motion()
[all...]
H A Dh264_direct.c200 int *mb_type) in pred_spatial_direct_motion()
208 const int is_b8x8 = IS_8X8(*mb_type); in pred_spatial_direct_motion()
218 sl->mb_y + !!IS_INTERLACED(*mb_type)); in pred_spatial_direct_motion()
264 *mb_type &= mask; in pred_spatial_direct_motion()
271 *mb_type |= MB_TYPE_L0L1; in pred_spatial_direct_motion()
280 *mb_type = (*mb_type & ~(MB_TYPE_8x8 | MB_TYPE_16x8 | MB_TYPE_8x16 | in pred_spatial_direct_motion()
286 if (IS_INTERLACED(sl->ref_list[1][0].parent->mb_type[mb_xy])) { // AFL/AFR/FR/FL -> AFL/FL in pred_spatial_direct_motion()
287 if (!IS_INTERLACED(*mb_type)) { // AFR/FR -> AFL/FL in pred_spatial_direct_motion()
298 if (IS_INTERLACED(*mb_type)) { // AF in pred_spatial_direct_motion()
199 pred_spatial_direct_motion(const H264Context *const h, H264SliceContext *sl, int *mb_type) pred_spatial_direct_motion() argument
486 pred_temp_direct_motion(const H264Context *const h, H264SliceContext *sl, int *mb_type) pred_temp_direct_motion() argument
720 ff_h264_pred_direct_motion(const H264Context *const h, H264SliceContext *sl, int *mb_type) ff_h264_pred_direct_motion() argument
[all...]
H A Dh264_cavlc.c628 int mb_type, int cbp, int p) in decode_luma_residual()
632 if(IS_INTRA16x16(mb_type)){ in decode_luma_residual()
659 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p; in decode_luma_residual()
664 if(IS_8x8DCT(mb_type)){ in decode_luma_residual()
699 unsigned int mb_type, cbp; in ff_h264_decode_mb_cavlc() local
735 mb_type= get_ue_golomb(&sl->gb); in ff_h264_decode_mb_cavlc()
737 if(mb_type < 23){ in ff_h264_decode_mb_cavlc()
738 partition_count = ff_h264_b_mb_type_info[mb_type].partition_count; in ff_h264_decode_mb_cavlc()
739 mb_type = ff_h264_b_mb_type_info[mb_type] in ff_h264_decode_mb_cavlc()
625 decode_luma_residual(const H264Context *h, H264SliceContext *sl, GetBitContext *gb, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p) decode_luma_residual() argument
[all...]
H A Dh264_cabac.c1298 ctx += sl->mb_field_decoding_flag & !!sl->mb_x; //for FMO:(s->current_picture.mb_type[mba_xy] >> 7) & (h->slice_table[mba_xy] == h->slice_num); in decode_cabac_field_decoding_flag()
1299 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == sl->slice_num); in decode_cabac_field_decoding_flag()
1308 int mb_type; in decode_cabac_intra_mb_type() local
1327 mb_type = 1; /* I16x16 */ in decode_cabac_intra_mb_type()
1328 mb_type += 12 * get_cabac_noinline( &sl->cabac, &state[1] ); /* cbp_luma != 0 */ in decode_cabac_intra_mb_type()
1330 mb_type += 4 + 4 * get_cabac_noinline( &sl->cabac, &state[2+intra_slice] ); in decode_cabac_intra_mb_type()
1331 mb_type += 2 * get_cabac_noinline( &sl->cabac, &state[3+intra_slice] ); in decode_cabac_intra_mb_type()
1332 mb_type += 1 * get_cabac_noinline( &sl->cabac, &state[3+2*intra_slice] ); in decode_cabac_intra_mb_type()
1333 return mb_type; in decode_cabac_intra_mb_type()
1347 && MB_FIELD(sl) == !!IS_INTERLACED( h->cur_pic.mb_type[mba_x in decode_cabac_mb_skip()
1870 decode_cabac_luma_residual(const H264Context *h, H264SliceContext *sl, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p) decode_cabac_luma_residual() argument
1924 int mb_type, partition_count, cbp = 0; ff_h264_decode_mb_cabac() local
[all...]
H A Dh264_mvpred.h48 const int mb_type = mb_types[xy + (y4 >> 2) * h->mb_stride]; \ in fetch_diagonal_mv()
49 if (!USES_LIST(mb_type, list)) \ in fetch_diagonal_mv()
59 const uint32_t *mb_types = h->cur_pic_ptr->mb_type; in fetch_diagonal_mv()
355 static void fill_decode_neighbors(const H264Context *h, H264SliceContext *sl, int mb_type) in fill_decode_neighbors() argument
378 const int left_mb_field_flag = IS_INTERLACED(h->cur_pic.mb_type[mb_xy - 1]); in fill_decode_neighbors()
379 const int curr_mb_field_flag = IS_INTERLACED(mb_type); in fill_decode_neighbors()
396 topleft_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy - 1] >> 7) & 1) - 1); in fill_decode_neighbors()
397 topright_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy + 1] >> 7) & 1) - 1); in fill_decode_neighbors()
398 top_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy] >> 7) & 1) - 1); in fill_decode_neighbors()
418 sl->topleft_type = h->cur_pic.mb_type[topleft_x in fill_decode_neighbors()
444 fill_decode_caches(const H264Context *h, H264SliceContext *sl, int mb_type) fill_decode_caches() argument
805 int mb_type = 0; decode_mb_skip() local
[all...]
H A Dh264_mb_template.c46 const int mb_type = h->cur_pic.mb_type[mb_xy]; in hl_decode_mb() local
77 if (!USES_LIST(mb_type, list)) in hl_decode_mb()
79 if (IS_16X16(mb_type)) { in hl_decode_mb()
98 if (!SIMPLE && IS_INTRA_PCM(mb_type)) { in hl_decode_mb()
153 if (IS_INTRA(mb_type)) { in hl_decode_mb()
163 hl_decode_mb_predict_luma(h, sl, mb_type, SIMPLE, in hl_decode_mb()
190 hl_decode_mb_idct_luma(h, sl, mb_type, SIMPLE, transform_bypass, in hl_decode_mb()
197 if (IS_INTRA(mb_type) && h->ps.sps->profile_idc == 244 && in hl_decode_mb()
238 h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) in hl_decode_mb()
261 const int mb_type = h->cur_pic.mb_type[mb_xy]; hl_decode_mb_444() local
[all...]
H A Dsvq3.c81 uint32_t *mb_type_buf, *mb_type; member
615 int mb_type, const int *block_offset, in hl_decode_mb_idct_luma()
619 if (!IS_INTRA4x4(mb_type)) { in hl_decode_mb_idct_luma()
624 s->qscale, IS_INTRA(mb_type) ? 1 : 0); in hl_decode_mb_idct_luma()
630 int mb_type, in hl_decode_mb_predict_luma()
638 if (IS_INTRA4x4(mb_type)) { in hl_decode_mb_predict_luma()
668 const int mb_type = s->cur_pic->mb_type[mb_xy]; in hl_decode_mb() local
685 if (IS_INTRA(mb_type)) { in hl_decode_mb()
689 hl_decode_mb_predict_luma(s, mb_type, block_offse in hl_decode_mb()
614 hl_decode_mb_idct_luma(SVQ3Context *s, int mb_type, const int *block_offset, int linesize, uint8_t *dest_y) hl_decode_mb_idct_luma() argument
629 hl_decode_mb_predict_luma(SVQ3Context *s, int mb_type, const int *block_offset, int linesize, uint8_t *dest_y) hl_decode_mb_predict_luma() argument
711 svq3_decode_mb(SVQ3Context *s, unsigned int mb_type) svq3_decode_mb() argument
1501 unsigned mb_type; svq3_decode_frame() local
[all...]
H A Dvp56.c122 model->mb_type[ctx][type][0] = 255 - (255 * model->mb_types_stats[ctx][type][0]) / (1 + model->mb_types_stats[ctx][type][0] + model->mb_types_stats[ctx][type][1]); 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[ct in vp56_parse_mb_type_models()
427 vp56_render_mb(VP56Context *s, int row, int col, int is_alpha, VP56mb mb_type) vp56_render_mb() argument
492 VP56mb mb_type; vp56_decode_mb() local
511 VP56mb mb_type; vp56_conceal_mb() local
[all...]
H A Dh264_loopfilter.c256 int mb_type = h->cur_pic.mb_type[mb_xy]; in h264_filter_mb_fast_internal() local
268 if( IS_INTRA(mb_type) ) { in h264_filter_mb_fast_internal()
274 if( IS_8x8DCT(mb_type) ) { in h264_filter_mb_fast_internal()
297 if( IS_8x8DCT(mb_type) ) { in h264_filter_mb_fast_internal()
360 if( IS_8x8DCT(mb_type) && (sl->cbp&7) == 7 && !chroma444 ) { in h264_filter_mb_fast_internal()
367 int mask_edge1 = (3*(((5*mb_type)>>5)&1)) | (mb_type>>4); //(mb_type & (MB_TYPE_16x16 | MB_TYPE_8x16)) ? 3 : (mb_type in h264_filter_mb_fast_internal()
468 filter_mb_dir(const H264Context *h, H264SliceContext *sl, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int mb_xy, int mb_type, int mvy_limit, int first_vertical_edge_done, int a, int b, int chroma, int dir) filter_mb_dir() argument
722 const int mb_type = h->cur_pic.mb_type[mb_xy]; ff_h264_filter_mb() local
[all...]
H A 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, in await_references()
613 hl_decode_mb_predict_luma(const H264Context *h, H264SliceContext *sl, int mb_type, int simple, int transform_bypass, int pixel_shift, const int *block_offset, int linesize, uint8_t *dest_y, int p) hl_decode_mb_predict_luma() argument
727 hl_decode_mb_idct_luma(const H264Context *h, H264SliceContext *sl, int mb_type, int simple, int transform_bypass, int pixel_shift, const int *block_offset, int linesize, uint8_t *dest_y, int p) hl_decode_mb_idct_luma() argument
802 const int mb_type = h->cur_pic.mb_type[mb_xy]; ff_h264_hl_decode_mb() local
[all...]
H A Dcavsdec.c739 static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) in decode_mb_p() argument
745 switch (mb_type) { in decode_mb_p()
775 ff_cavs_inter(h, mb_type); in decode_mb_p()
778 if (mb_type != P_SKIP) in decode_mb_p()
780 ff_cavs_filter(h, mb_type); in decode_mb_p()
781 h->col_type_base[h->mbidx] = mb_type; in decode_mb_p()
784 static int decode_mb_b(AVSContext *h, enum cavs_mb mb_type) in decode_mb_b() argument
797 switch (mb_type) { in decode_mb_b()
878 if (mb_type <= B_SYM_16X16) { in decode_mb_b()
879 av_log(h->avctx, AV_LOG_ERROR, "Invalid mb_type in decode_mb_b()
988 enum cavs_mb mb_type; decode_pic() local
[all...]
H A Dh264dec.h79 #define IS_INTERLACED(mb_type) 0
120 uint32_t *mb_type; member
602 int *mb_type);
711 int mb_type, int list) in write_back_motion_list()
723 if (IS_SKIP(mb_type)) { in write_back_motion_list()
745 int mb_type) in write_back_motion()
751 if (USES_LIST(mb_type, 0)) { in write_back_motion()
752 write_back_motion_list(h, sl, b_stride, b_xy, b8_xy, mb_type, 0); in write_back_motion()
757 if (USES_LIST(mb_type, 1)) in write_back_motion()
758 write_back_motion_list(h, sl, b_stride, b_xy, b8_xy, mb_type, in write_back_motion()
707 write_back_motion_list(const H264Context *h, H264SliceContext *sl, int b_stride, int b_xy, int b8_xy, int mb_type, int list) write_back_motion_list() argument
743 write_back_motion(const H264Context *h, H264SliceContext *sl, int mb_type) write_back_motion() argument
[all...]
H A Dh263.c97 s->current_picture.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_8x8; in ff_h263_update_motion_val()
99 s->current_picture.mb_type[mb_xy] = MB_TYPE_INTRA; in ff_h263_update_motion_val()
101 s->current_picture.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_16x16; in ff_h263_update_motion_val()
118 if (!IS_SKIP(s->current_picture.mb_type[xy])) { in ff_h263_loop_filter()
128 if (IS_SKIP(s->current_picture.mb_type[xy - s->mb_stride])) in ff_h263_loop_filter()
151 if (qp_tt || IS_SKIP(s->current_picture.mb_type[xy - 1 - s->mb_stride])) in ff_h263_loop_filter()
173 if (qp_c || IS_SKIP(s->current_picture.mb_type[xy - 1])) in ff_h263_loop_filter()
H A Derror_resilience.c155 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
168 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
183 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
196 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
213 if (IS_INTER(s->cur_pic.mb_type[mb_index])) in guess_dc()
255 int left_intra = IS_INTRA(s->cur_pic.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride]); in h_block_filter()
256 int right_intra = IS_INTRA(s->cur_pic.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_stride]); in h_block_filter()
324 int top_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ( b_y >> is_luma) * s->mb_stride]); in v_block_filter()
325 int bottom_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_stride]); in v_block_filter()
420 if (IS_INTRA(s->cur_pic.mb_type[mb_x in guess_mv()
1147 const int mb_type = s->cur_pic.mb_type[mb_xy]; ff_er_frame_end() local
1186 const int mb_type = s->cur_pic.mb_type[mb_xy]; ff_er_frame_end() local
1235 const int mb_type = s->cur_pic.mb_type[mb_xy]; ff_er_frame_end() local
1291 const int mb_type = s->cur_pic.mb_type[mb_xy]; ff_er_frame_end() local
[all...]
H A Dituh263dec.c365 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; in preview_obmc()
372 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; in preview_obmc()
384 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; in preview_obmc()
402 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; in preview_obmc()
747 * @return the mb_type
753 int colocated_mb_type = p->mb_type[mb_index]; in set_direct_mv()
758 colocated_mb_type = p->mb_type[mb_index]; in set_direct_mv()
805 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; in ff_h263_decode_mb()
843 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; in ff_h263_decode_mb()
868 s->current_picture.mb_type[x in ff_h263_decode_mb()
894 int mb_type; ff_h263_decode_mb() local
[all...]
H A Dwmv2dec.c107 uint32_t *const mb_type = s->current_picture_ptr->mb_type; in parse_mb_skip() local
114 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
122 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
131 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
135 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
146 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
150 mb_type[mb_y * s->mb_stride + mb_x] = in parse_mb_skip()
159 coded_mb_count += !IS_SKIP(mb_type[mb_y * s->mb_stride + mb_x]); in parse_mb_skip()
459 if (IS_SKIP(s->current_picture.mb_type[ in ff_wmv2_decode_mb()
[all...]
H A Dmpeg12dec.c663 int i, j, k, cbp, val, mb_type, motion_type; in mpeg_decode_mb() local
674 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] = in mpeg_decode_mb()
677 int mb_type; in mpeg_decode_mb() local
680 mb_type = s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride - 1]; in mpeg_decode_mb()
683 mb_type = s->current_picture.mb_type[s->mb_width + (s->mb_y - 1) * s->mb_stride - 1]; in mpeg_decode_mb()
684 if (IS_INTRA(mb_type)) { in mpeg_decode_mb()
688 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] = in mpeg_decode_mb()
689 mb_type | MB_TYPE_SKI in mpeg_decode_mb()
[all...]
H A Dvc1_block.c89 if (i > 3 ? v->mb_type[0][s->block_index[i] - s->block_wrap[i] - 1] : in vc1_put_blocks_clamped()
90 v->mb_type[0][s->block_index[i] - 2 * s->block_wrap[i] - 2]) { in vc1_put_blocks_clamped()
105 if (i > 3 ? v->mb_type[0][s->block_index[i] - s->block_wrap[i]] : in vc1_put_blocks_clamped()
106 v->mb_type[0][s->block_index[i] - 2 * s->block_wrap[i]]) { in vc1_put_blocks_clamped()
125 if (i > 3 ? v->mb_type[0][s->block_index[i] - 1] : in vc1_put_blocks_clamped()
126 v->mb_type[0][s->block_index[i] - 2]) { in vc1_put_blocks_clamped()
146 if (v->mb_type[0][s->block_index[i]]) { in vc1_put_blocks_clamped()
1325 s->current_picture.mb_type[mb_pos] = s->mb_intra ? MB_TYPE_INTRA : MB_TYPE_16x16; in vc1_decode_p_mb()
1326 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()
1354 v->mb_type[ in vc1_decode_p_mb()
[all...]
H A Dmpeg4videodec.c795 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; in mpeg4_decode_partition_a()
832 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | in mpeg4_decode_partition_a()
839 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | in mpeg4_decode_partition_a()
872 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; in mpeg4_decode_partition_a()
905 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | in mpeg4_decode_partition_a()
910 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | in mpeg4_decode_partition_a()
925 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | in mpeg4_decode_partition_a()
980 s->current_picture.mb_type[xy] |= ac_pred * MB_TYPE_ACPRED; in mpeg4_decode_partition_b()
982 if (IS_INTRA(s->current_picture.mb_type[xy])) { in mpeg4_decode_partition_b()
1012 s->current_picture.mb_type[x in mpeg4_decode_partition_b()
1386 int cbp, mb_type, use_intra_dc_vlc; mpeg4_decode_partitioned_mb() local
1620 int mb_type; mpeg4_decode_mb() local
[all...]
H A Dcavs.c107 void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type) in ff_cavs_filter() argument
128 if (mb_type == I_8X8) in ff_cavs_filter()
132 if (ff_cavs_partition_flags[mb_type] & SPLITV) { in ff_cavs_filter()
133 bs[2] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X1], mb_type > P_8X8); in ff_cavs_filter()
134 bs[3] = get_bs(&h->mv[MV_FWD_X2], &h->mv[MV_FWD_X3], mb_type > P_8X8); in ff_cavs_filter()
136 if (ff_cavs_partition_flags[mb_type] & SPLITH) { in ff_cavs_filter()
137 bs[6] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X2], mb_type > P_8X8); in ff_cavs_filter()
138 bs[7] = get_bs(&h->mv[MV_FWD_X1], &h->mv[MV_FWD_X3], mb_type > P_8X8); in ff_cavs_filter()
140 bs[0] = get_bs(&h->mv[MV_FWD_A1], &h->mv[MV_FWD_X0], mb_type > P_8X8); in ff_cavs_filter()
141 bs[1] = get_bs(&h->mv[MV_FWD_A3], &h->mv[MV_FWD_X2], mb_type > P_8X in ff_cavs_filter()
492 ff_cavs_inter(AVSContext *h, enum cavs_mb mb_type) ff_cavs_inter() argument
[all...]
H A Dmotion_est.c897 int mb_type=0; in ff_estimate_p_frame_motion() local
977 mb_type|= CANDIDATE_MB_TYPE_INTRA; in ff_estimate_p_frame_motion()
980 mb_type|= CANDIDATE_MB_TYPE_INTER; in ff_estimate_p_frame_motion()
984 mb_type |= CANDIDATE_MB_TYPE_SKIPPED; //FIXME check difference in ff_estimate_p_frame_motion()
992 mb_type|=CANDIDATE_MB_TYPE_INTER4V; in ff_estimate_p_frame_motion()
1000 mb_type |= CANDIDATE_MB_TYPE_INTER_I; in ff_estimate_p_frame_motion()
1004 mb_type= CANDIDATE_MB_TYPE_INTER; in ff_estimate_p_frame_motion()
1014 mb_type= CANDIDATE_MB_TYPE_INTER4V; in ff_estimate_p_frame_motion()
1022 mb_type = CANDIDATE_MB_TYPE_INTER_I; in ff_estimate_p_frame_motion()
1027 set_p_mv_tables(s, mx, my, mb_type! in ff_estimate_p_frame_motion()
[all...]
H A Drv40.c254 blocks[r->mb_type[mb_pos - 1]]++; in rv40_decode_mb_info()
255 blocks[r->mb_type[mb_pos - s->mb_stride]]++; in rv40_decode_mb_info()
257 blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++; in rv40_decode_mb_info()
259 blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++; in rv40_decode_mb_info()
269 prev_type = r->mb_type[mb_pos - 1]; in rv40_decode_mb_info()
379 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv40_loop_filter()
409 mbtype [i] = s->current_picture_ptr->mb_type[pos]; in rv40_loop_filter()
H A Drv34.c357 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
367 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
393 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
394 r->mb_type[mb_pos] = r->block_type; in rv34_decode_inter_mb_header()
397 r->mb_type[mb_pos] = RV34_MB_P_16x16; in rv34_decode_inter_mb_header()
399 r->mb_type[mb_pos] = RV34_MB_B_DIRECT; in rv34_decode_inter_mb_header()
401 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header()
411 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header()
427 if(r->mb_type[mb_pos] == RV34_MB_P_MIX16x16){ in rv34_decode_inter_mb_header()
556 int type = cur_pic->mb_type[mb_po in rv34_pred_mv_b()
[all...]
H A Dsvq1enc.c313 s->m.mb_type = s->mb_type; in svq1_encode_plane()
319 s->m.current_picture.mb_type = s->dummy; in svq1_encode_plane()
387 (s->m.mb_type[x + y * s->m.mb_stride] & in svq1_encode_plane()
414 if (s->m.mb_type[x + y * s->m.mb_stride] & in svq1_encode_plane()
497 s->m.mb_type = NULL; in svq1_encode_end()
503 av_freep(&s->mb_type); in svq1_encode_end()
560 s->mb_type = av_mallocz((s->y_block_width + 1) * in svq1_encode_init()
567 !s->m.me.score_map || !s->mb_type || !s->dummy) { in svq1_encode_init()

Completed in 32 milliseconds

123