Searched refs:mb_type (Results 26 - 50 of 87) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Derror_resilience.c153 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]);
166 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]);
181 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]);
194 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]);
211 if (IS_INTER(s->cur_pic.mb_type[mb_index]))
252 int left_intra = IS_INTRA(s->cur_pic.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride]);
253 int right_intra = IS_INTRA(s->cur_pic.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_stride]);
320 int top_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ( b_y >> is_luma) * s->mb_stride]);
321 int bottom_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_stride]);
392 if (IS_INTRA(s->cur_pic.mb_type[mb_x
1110 const int mb_type = s->cur_pic.mb_type[mb_xy]; local
1149 const int mb_type = s->cur_pic.mb_type[mb_xy]; local
1201 const int mb_type = s->cur_pic.mb_type[mb_xy]; local
1254 const int mb_type = s->cur_pic.mb_type[mb_xy]; local
[all...]
H A Derror_resilience.h49 uint32_t *mb_type; member in struct:ERPicture
H A Dh264_picture.c86 dst->mb_type = src->mb_type;
150 dst->mb_type = src->mb_type;
H A Dh263.c90 s->current_picture.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_8x8;
92 s->current_picture.mb_type[mb_xy] = MB_TYPE_INTRA;
94 s->current_picture.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_16x16;
154 if (!IS_SKIP(s->current_picture.mb_type[xy])) {
164 if (IS_SKIP(s->current_picture.mb_type[xy - s->mb_stride]))
187 if (qp_tt || IS_SKIP(s->current_picture.mb_type[xy - 1 - s->mb_stride]))
209 if (qp_c || IS_SKIP(s->current_picture.mb_type[xy - 1]))
H A Dwmv2dec.c35 uint32_t * const mb_type = s->current_picture_ptr->mb_type; local
42 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_16x16 | MB_TYPE_L0;
49 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0;
57 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0;
61 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0;
70 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0;
74 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0;
343 if (IS_SKIP(s->current_picture.mb_type[s->mb_y * s->mb_stride + s->mb_x])) {
H A Dmpeg4videodec.c624 s->current_picture.mb_type[xy] = MB_TYPE_INTRA;
661 s->current_picture.mb_type[xy] = MB_TYPE_SKIP |
668 s->current_picture.mb_type[xy] = MB_TYPE_SKIP |
701 s->current_picture.mb_type[xy] = MB_TYPE_INTRA;
734 s->current_picture.mb_type[xy] = MB_TYPE_16x16 |
739 s->current_picture.mb_type[xy] = MB_TYPE_16x16 |
754 s->current_picture.mb_type[xy] = MB_TYPE_8x8 |
809 s->current_picture.mb_type[xy] |= ac_pred * MB_TYPE_ACPRED;
811 if (IS_INTRA(s->current_picture.mb_type[xy])) {
841 s->current_picture.mb_type[x
1212 int cbp, mb_type; local
1437 int mb_type; local
[all...]
H A Dmpegvideo.c680 pic->mb_type = (uint32_t*)pic->mb_type_buf->data + 2 * s->mb_stride + 1;
755 dst->mb_type = src->mb_type;
1196 FF_ALLOCZ_OR_GOTO(s->avctx, s->mb_type, mb_array_size * sizeof(uint16_t), fail) // needed for encoding
1388 av_freep(&s->mb_type);
2138 int mb_type = mbtype_table[x + y * mb_stride]; local
2140 if (IS_PCM(mb_type))
2142 else if (IS_INTRA(mb_type) && IS_ACPRED(mb_type))
2144 else if (IS_INTRA4x4(mb_type))
2311 int mb_type = mbtype_table[mb_index]; local
[all...]
H A Dcavs.h264 void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type);
269 void ff_cavs_inter(AVSContext *h, enum cavs_mb mb_type);
H A Drv34.h97 int *mb_type; ///< internal macroblock types member in struct:RV34DecContext
H A Dmotion_est.c887 int mb_type=0; local
970 if(mb_type){
975 if(mb_type == CANDIDATE_MB_TYPE_INTER){
982 if(mb_type == CANDIDATE_MB_TYPE_INTER4V){
987 if(mb_type == CANDIDATE_MB_TYPE_INTER_I){
996 mb_type|= CANDIDATE_MB_TYPE_INTRA;
999 mb_type|= CANDIDATE_MB_TYPE_INTER;
1003 mb_type |= CANDIDATE_MB_TYPE_SKIPPED; //FIXME check difference
1011 mb_type|=CANDIDATE_MB_TYPE_INTER4V;
1019 mb_type |
[all...]
H A Dmpeg12dec.c732 int i, j, k, cbp, val, mb_type, motion_type; local
742 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] =
745 int mb_type; local
748 mb_type = s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride - 1];
751 mb_type = s->current_picture.mb_type[s->mb_width + (s->mb_y - 1) * s->mb_stride - 1];
752 if (IS_INTRA(mb_type)) {
756 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] =
757 mb_type | MB_TYPE_SKI
[all...]
H A Drv40.c245 blocks[r->mb_type[mb_pos - 1]]++;
246 blocks[r->mb_type[mb_pos - s->mb_stride]]++;
248 blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++;
250 blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++;
260 prev_type = r->mb_type[mb_pos - 1];
370 int mbtype = s->current_picture_ptr->mb_type[mb_pos];
400 mbtype [i] = s->current_picture_ptr->mb_type[pos];
H A Dcavs.c109 void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type) argument
130 if (mb_type == I_8X8)
134 if (ff_cavs_partition_flags[mb_type] & SPLITV) {
135 bs[2] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X1], mb_type > P_8X8);
136 bs[3] = get_bs(&h->mv[MV_FWD_X2], &h->mv[MV_FWD_X3], mb_type > P_8X8);
138 if (ff_cavs_partition_flags[mb_type] & SPLITH) {
139 bs[6] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X2], mb_type > P_8X8);
140 bs[7] = get_bs(&h->mv[MV_FWD_X1], &h->mv[MV_FWD_X3], mb_type > P_8X8);
142 bs[0] = get_bs(&h->mv[MV_FWD_A1], &h->mv[MV_FWD_X0], mb_type > P_8X8);
143 bs[1] = get_bs(&h->mv[MV_FWD_A3], &h->mv[MV_FWD_X2], mb_type > P_8X
494 ff_cavs_inter(AVSContext *h, enum cavs_mb mb_type) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh263.c93 s->current_picture.f.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_8x8;
95 s->current_picture.f.mb_type[mb_xy] = MB_TYPE_INTRA;
97 s->current_picture.f.mb_type[mb_xy] = MB_TYPE_L0 | MB_TYPE_16x16;
157 if (!IS_SKIP(s->current_picture.f.mb_type[xy])) {
167 if (IS_SKIP(s->current_picture.f.mb_type[xy - s->mb_stride]))
190 if (qp_tt || IS_SKIP(s->current_picture.f.mb_type[xy - 1 - s->mb_stride]))
212 if (qp_c || IS_SKIP(s->current_picture.f.mb_type[xy - 1]))
H A Dh264.h76 #define IS_INTERLACED(mb_type) 0
685 void ff_h264_pred_direct_motion(H264Context * const h, int *mb_type);
819 int b_xy, int b8_xy, int mb_type, int list )
830 if(IS_SKIP(mb_type))
850 static av_always_inline void write_back_motion(H264Context *h, int mb_type){ argument
856 if(USES_LIST(mb_type, 0)){
857 write_back_motion_list(h, s, b_stride, b_xy, b8_xy, mb_type, 0);
862 if(USES_LIST(mb_type, 1)){
863 write_back_motion_list(h, s, b_stride, b_xy, b8_xy, mb_type, 1);
867 if(IS_8X8(mb_type)){
818 write_back_motion_list(H264Context *h, MpegEncContext * const s, int b_stride, int b_xy, int b8_xy, int mb_type, int list ) argument
[all...]
H A Dmotion_est.c858 int mb_type= s->current_picture.f.mb_type[mb_xy]; local
867 if(p_type && USES_LIST(mb_type, 1)){
871 assert(IS_INTRA(mb_type) || USES_LIST(mb_type,0) || USES_LIST(mb_type,1));
875 clip_input_mv(s, p->f.motion_val[0][xy], !!IS_INTERLACED(mb_type));
876 clip_input_mv(s, p->f.motion_val[1][xy], !!IS_INTERLACED(mb_type));
879 if(IS_INTERLACED(mb_type)){
881 s->mb_type[mb_x
999 int mb_type=0; local
[all...]
H A Dmpegvideo.c339 pic->f.mb_type = pic->mb_type_base + 2 * s->mb_stride + 1;
400 pic->f.mb_type = NULL;
780 FF_ALLOCZ_OR_GOTO(s->avctx, s->mb_type, mb_array_size *
940 av_freep(&s->mb_type);
1515 if (s->avctx->hwaccel || !pict || !pict->mb_type)
1555 int mb_type = pict->mb_type[x + y * s->mb_stride]; local
1557 if (IS_PCM(mb_type))
1559 else if (IS_INTRA(mb_type) && IS_ACPRED(mb_type))
1732 int mb_type = pict->mb_type[mb_index]; local
[all...]
H A Dwmv2dec.c35 uint32_t * const mb_type = s->current_picture_ptr->f.mb_type; local
42 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_16x16 | MB_TYPE_L0;
49 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0;
57 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0;
61 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0;
70 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0;
74 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0;
346 if (IS_SKIP(s->current_picture.f.mb_type[s->mb_y * s->mb_stride + s->mb_x])) {
H A Dh264.c296 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local
303 if(IS_16X16(mb_type)){
305 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs);
306 }else if(IS_16X8(mb_type)){
308 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs);
310 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type,
726 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local
1742 hl_decode_mb_predict_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass, int pixel_shift, int *block_offset, int linesize, uint8_t *dest_y, int p) argument
1845 hl_decode_mb_idct_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass, int pixel_shift, int *block_offset, int linesize, uint8_t *dest_y, int p) argument
1901 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local
2110 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local
2229 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local
3351 fill_filter_caches_inter(H264Context *h, MpegEncContext * const s, int mb_type, int top_xy, int left_xy[LEFT_MBS], int top_type, int left_type[LEFT_MBS], int mb_xy, int list) argument
3431 fill_filter_caches(H264Context *h, int mb_type) argument
3570 int mb_xy, mb_type; local
3622 int mb_type = (h->slice_table[mb_xy-1] == h->slice_num) local
[all...]
H A Dmpeg4videodec.c573 s->current_picture.f.mb_type[xy] = MB_TYPE_INTRA;
607 s->current_picture.f.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_GMC | MB_TYPE_L0;
611 s->current_picture.f.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0;
637 s->current_picture.f.mb_type[xy] = MB_TYPE_INTRA;
663 s->current_picture.f.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0;
667 s->current_picture.f.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_GMC | MB_TYPE_L0;
676 s->current_picture.f.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0;
728 s->current_picture.f.mb_type[xy] |= ac_pred*MB_TYPE_ACPRED;
730 if (IS_INTRA(s->current_picture.f.mb_type[xy])) {
757 s->current_picture.f.mb_type[x
1069 int cbp, mb_type; local
1278 int mb_type; local
[all...]
H A Drv34.h98 int *mb_type; ///< internal macroblock types member in struct:RV34DecContext
H A Dmpeg12.c739 int i, j, k, cbp, val, mb_type, motion_type; local
749 s->current_picture.f.mb_type[s->mb_x + s->mb_y * s->mb_stride] = MB_TYPE_SKIP | MB_TYPE_L0 | MB_TYPE_16x16;
751 int mb_type; local
754 mb_type = s->current_picture.f.mb_type[s->mb_x + s->mb_y * s->mb_stride - 1];
756 mb_type = s->current_picture.f.mb_type[s->mb_width + (s->mb_y - 1) * s->mb_stride - 1]; // FIXME not sure if this is allowed in MPEG at all
757 if (IS_INTRA(mb_type))
759 s->current_picture.f.mb_type[s->mb_x + s->mb_y*s->mb_stride] =
760 mb_type | MB_TYPE_SKI
[all...]
H A Dcavs.c75 void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type) { argument
95 if(mb_type == I_8X8)
99 if(ff_cavs_partition_flags[mb_type] & SPLITV){
100 bs[2] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X1], mb_type > P_8X8);
101 bs[3] = get_bs(&h->mv[MV_FWD_X2], &h->mv[MV_FWD_X3], mb_type > P_8X8);
103 if(ff_cavs_partition_flags[mb_type] & SPLITH){
104 bs[6] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X2], mb_type > P_8X8);
105 bs[7] = get_bs(&h->mv[MV_FWD_X1], &h->mv[MV_FWD_X3], mb_type > P_8X8);
107 bs[0] = get_bs(&h->mv[MV_FWD_A1], &h->mv[MV_FWD_X0], mb_type > P_8X8);
108 bs[1] = get_bs(&h->mv[MV_FWD_A3], &h->mv[MV_FWD_X2], mb_type > P_8X
414 ff_cavs_inter(AVSContext *h, enum cavs_mb mb_type) argument
[all...]
H A Drv34.c365 s->current_picture_ptr->f.mb_type[mb_pos] = MB_TYPE_INTRA16x16;
375 s->current_picture_ptr->f.mb_type[mb_pos] = MB_TYPE_INTRA;
401 s->current_picture_ptr->f.mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type];
402 r->mb_type[mb_pos] = r->block_type;
405 r->mb_type[mb_pos] = RV34_MB_P_16x16;
407 r->mb_type[mb_pos] = RV34_MB_B_DIRECT;
409 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->f.mb_type[mb_pos]);
418 if(IS_INTRA(s->current_picture_ptr->f.mb_type[mb_pos])){
434 if(r->mb_type[mb_pos] == RV34_MB_P_MIX16x16){
563 int type = cur_pic->f.mb_type[mb_po
[all...]
H A Drv40.c241 blocks[r->mb_type[mb_pos - 1]]++;
243 blocks[r->mb_type[mb_pos - s->mb_stride]]++;
245 blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++;
247 blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++;
364 int mbtype = s->current_picture_ptr->f.mb_type[mb_pos];
393 mbtype [i] = s->current_picture_ptr->f.mb_type[pos];

Completed in 175 milliseconds

1234