/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ |
H A D | svq3.c | 418 static int svq3_decode_mb(H264Context *h, unsigned int mb_type) argument 432 if (mb_type == 0) { /* SKIP */ 433 if (s->pict_type == FF_P_TYPE || s->next_picture.mb_type[mb_xy] == -1) { 440 mb_type = MB_TYPE_SKIP; 442 mb_type = FFMIN(s->next_picture.mb_type[mb_xy], 6); 443 if (svq3_mc_dir(h, mb_type, PREDICT_MODE, 0, 0) < 0) 445 if (svq3_mc_dir(h, mb_type, PREDICT_MODE, 1, 1) < 0) 448 mb_type = MB_TYPE_16x16; 450 } else if (mb_type < 896 int m, mb_type; local [all...] |
H A D | h264.c | 110 static void fill_caches(H264Context *h, int mb_type, int for_deblock){ argument 137 const int topleft_mb_field_flag = IS_INTERLACED(s->current_picture.mb_type[topleft_pair_xy]); 138 const int top_mb_field_flag = IS_INTERLACED(s->current_picture.mb_type[top_pair_xy]); 139 const int topright_mb_field_flag = IS_INTERLACED(s->current_picture.mb_type[topright_pair_xy]); 140 const int left_mb_field_flag = IS_INTERLACED(s->current_picture.mb_type[pair_xy-1]); 141 const int curr_mb_field_flag = IS_INTERLACED(mb_type); 175 top_type = h->slice_table[top_xy ] < 0xFFFF ? s->current_picture.mb_type[top_xy] : 0; 176 left_type[0] = h->slice_table[left_xy[0] ] < 0xFFFF ? s->current_picture.mb_type[left_xy[0]] : 0; 177 left_type[1] = h->slice_table[left_xy[1] ] < 0xFFFF ? s->current_picture.mb_type[left_xy[1]] : 0; 179 if(MB_MBAFF && !IS_INTRA(mb_type)){ 984 pred_direct_motion(H264Context * const h, int *mb_type) argument 1316 write_back_motion(H264Context *h, int mb_type) argument 1799 const int mb_type= s->current_picture.mb_type[mb_xy]; local 2421 const int mb_type= s->current_picture.mb_type[mb_xy]; local 2688 const int mb_type= s->current_picture.mb_type[mb_xy]; local 4304 int mb_type = (h->slice_table[mb_xy-1] == h->slice_num) local 4318 int mb_type=0; local 4361 unsigned int mb_type, cbp; local 4884 int mb_type; local 5440 int mb_type, partition_count, cbp = 0; local 6167 int mb_xy, mb_type; local 6279 filter_mb_dir(H264Context *h, 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 dir) argument 6485 const int mb_type = s->current_picture.mb_type[mb_xy]; local [all...] |
H A D | cavsdec.c | 256 static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) { argument 261 switch(mb_type) { 291 ff_cavs_inter(h, mb_type); 294 if(mb_type != P_SKIP) 296 ff_cavs_filter(h,mb_type); 297 h->col_type_base[h->mbidx] = mb_type; 300 static void decode_mb_b(AVSContext *h, enum cavs_mb mb_type) { argument 312 switch(mb_type) { 371 assert((mb_type > B_SYM_16X16) && (mb_type < B_8X 463 enum cavs_mb mb_type; local [all...] |
H A D | vp56.c | 117 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]); 131 model->mb_type[ctx][type][1] = 1 + 255 * p0234/(1+p0234+p156789); 132 model->mb_type[ctx][type][2] = 1 + 255 * p02 / (1+p0234); 133 model->mb_type[ctx][type][3] = 1 + 255 * p17 / (1+p156789); 134 model->mb_type[ctx][type][4] = 1 + 255 * p[0] / (1+p02); 135 model->mb_type[ctx][type][5] = 1 + 255 * p[3] / (1+p34); 136 model->mb_type[ctx][type][6] = 1 + 255 * p[1] / (1+p17); 137 model->mb_type[ctx][type][7] = 1 + 255 * p56 / (1+p5689); 138 model->mb_type[ctx][type][8] = 1 + 255 * p[5] / (1+p56); 139 model->mb_type[ct 398 VP56mb mb_type; local [all...] |
H A D | rv34.h | 96 int *mb_type; ///< internal macroblock types member in struct:RV34DecContext
|
H A D | error_resilience.c | 129 if(IS_INTER(s->current_picture.mb_type[mb_index])) continue; //inter 136 int intra_j= IS_INTRA(s->current_picture.mb_type[mb_index_j]); 148 int intra_j= IS_INTRA(s->current_picture.mb_type[mb_index_j]); 160 int intra_j= IS_INTRA(s->current_picture.mb_type[mb_index_j]); 172 int intra_j= IS_INTRA(s->current_picture.mb_type[mb_index_j]); 208 int left_intra= IS_INTRA(s->current_picture.mb_type [( b_x >>is_luma) + (b_y>>is_luma)*s->mb_stride]); 209 int right_intra= IS_INTRA(s->current_picture.mb_type [((b_x+1)>>is_luma) + (b_y>>is_luma)*s->mb_stride]); 268 int top_intra= IS_INTRA(s->current_picture.mb_type [(b_x>>is_luma) + ( b_y >>is_luma)*s->mb_stride]); 269 int bottom_intra= IS_INTRA(s->current_picture.mb_type [(b_x>>is_luma) + ((b_y+1)>>is_luma)*s->mb_stride]); 331 if(IS_INTRA(s->current_picture.mb_type[mb_x 867 const int mb_type= s->current_picture.mb_type[mb_xy]; local 905 const int mb_type= s->current_picture.mb_type[mb_xy]; local 951 const int mb_type= s->current_picture.mb_type[mb_xy]; local 1001 const int mb_type= s->current_picture.mb_type[mb_xy]; local [all...] |
H A D | motion_est.c | 819 int mb_type= s->current_picture.mb_type[mb_xy]; local 828 if(p_type && USES_LIST(mb_type, 1)){ 832 assert(IS_INTRA(mb_type) || USES_LIST(mb_type,0) || USES_LIST(mb_type,1)); 836 clip_input_mv(s, p->motion_val[0][xy], !!IS_INTERLACED(mb_type)); 837 clip_input_mv(s, p->motion_val[1][xy], !!IS_INTERLACED(mb_type)); 840 if(IS_INTERLACED(mb_type)){ 842 s->mb_type[mb_x 960 int mb_type=0; local [all...] |
H A D | mpegvideo.c | 219 pic->mb_type= pic->mb_type_base + 2*s->mb_stride+1; 274 pic->mb_type= NULL; 503 CHECKED_ALLOCZ(s->mb_type , mb_array_size * sizeof(uint16_t)) //needed for encoding 619 av_freep(&s->mb_type); 1100 if(!pict || !pict->mb_type) return; 1125 int mb_type= pict->mb_type[x + y*s->mb_stride]; local 1127 if(IS_PCM(mb_type)) 1129 else if(IS_INTRA(mb_type) && IS_ACPRED(mb_type)) 1281 int mb_type= pict->mb_type[mb_index]; local [all...] |
H A D | h263.c | 542 if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYPE_INTER4V)){ 543 s->mb_type[mb_xy]|= CANDIDATE_MB_TYPE_INTER; 550 * modify mb_type & qscale so that encoding is acually possible in mpeg4 580 if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYPE_DIRECT)){ 581 s->mb_type[mb_xy]|= CANDIDATE_MB_TYPE_BIDIR; 633 * @return the mb_type 637 const int colocated_mb_type= s->next_picture.mb_type[mb_index]; 730 s->current_picture.mb_type[mb_xy]= MB_TYPE_L0 | MB_TYPE_8x8; 732 s->current_picture.mb_type[mb_xy]= MB_TYPE_INTRA; 734 s->current_picture.mb_type[mb_x 825 get_b_cbp(MpegEncContext * s, DCTELEM block[6][64], int motion_x, int motion_y, int mb_type) argument 914 int mb_type= mb_type_table[s->mv_dir]; local 3719 int cbp, mb_type; local 4021 int mb_type; local 4304 int mb_type; local [all...] |
H A D | wmv2dec.c | 34 uint32_t * const mb_type= s->current_picture_ptr->mb_type; local 41 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_16x16 | MB_TYPE_L0; 48 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0; 56 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 60 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0; 69 mb_type[mb_y*s->mb_stride + mb_x]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 73 mb_type[mb_y*s->mb_stride + mb_x]= (get_bits1(&s->gb) ? MB_TYPE_SKIP : 0) | MB_TYPE_16x16 | MB_TYPE_L0; 359 if(IS_SKIP(s->current_picture.mb_type[s->mb_y * s->mb_stride + s->mb_x])){
|
H A D | mpeg12.c | 207 int i, j, k, cbp, val, mb_type, motion_type; local 217 s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride ]= MB_TYPE_SKIP | MB_TYPE_L0 | MB_TYPE_16x16; 219 int mb_type; local 222 mb_type= s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride - 1]; 224 mb_type= s->current_picture.mb_type[ s->mb_width + (s->mb_y-1)*s->mb_stride - 1]; // FIXME not sure if this is allowed in MPEG at all 225 if(IS_INTRA(mb_type)) 228 s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride ]= 229 mb_type | MB_TYPE_SKI [all...] |
H A D | cavs.c | 75 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 D | rv34.c | 521 int type = cur_pic->mb_type[mb_pos]; 789 next_bt = s->next_picture_ptr->mb_type[s->mb_x + s->mb_y * s->mb_stride]; 1011 s->current_picture_ptr->mb_type[mb_pos] = r->is16 ? MB_TYPE_INTRA16x16 : MB_TYPE_INTRA; 1017 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; 1018 r->mb_type[mb_pos] = r->block_type; 1021 r->mb_type[mb_pos] = RV34_MB_P_16x16; 1023 r->mb_type[mb_pos] = RV34_MB_B_DIRECT; 1025 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); 1034 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ 1050 if(r->mb_type[mb_po [all...] |
H A D | svq1enc.c | 64 uint16_t *mb_type; member in struct:SVQ1Context 320 s->m.mb_type= s->mb_type; 326 s->m.current_picture.mb_type= s->dummy; 394 if(s->picture.pict_type == FF_I_TYPE || (s->m.mb_type[x + y*s->m.mb_stride]&CANDIDATE_MB_TYPE_INTRA)){ 419 if(s->m.mb_type[x + y*s->m.mb_stride]&CANDIDATE_MB_TYPE_INTER){ 505 s->mb_type = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int16_t)); 570 av_freep(&s->mb_type);
|
H A D | vp56.h | 85 uint8_t mb_type[3][10][10]; /* model for decoding MB type */ member in struct:__anon601 120 VP56mb mb_type; member in struct:vp56_context
|
H A D | cavs.h | 297 void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type); 302 void ff_cavs_inter(AVSContext *h, enum cavs_mb mb_type);
|
H A D | vc1.h | 240 uint8_t *mb_type_base, *mb_type[3]; member in struct:VC1Context
|
H A D | rv40.c | 217 blocks[r->mb_type[mb_pos - 1]]++; 219 blocks[r->mb_type[mb_pos - s->mb_stride]]++; 221 blocks[r->mb_type[mb_pos - s->mb_stride + 1]]++; 223 blocks[r->mb_type[mb_pos - s->mb_stride - 1]]++; 454 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; 483 mbtype [i] = s->current_picture_ptr->mb_type[pos];
|
H A D | vc1.c | 731 intra[i] = v->mb_type[0][s->block_index[i]]; 1976 const uint8_t *is_intra = v->mb_type[0]; 3174 s->current_picture.mb_type[mb_pos] = s->mb_intra ? MB_TYPE_INTRA : MB_TYPE_16x16; 3175 vc1_pred_mv(s, 0, dmv_x, dmv_y, 1, v->range_x, v->range_y, v->mb_type[0]); 3208 v->mb_type[0][s->block_index[i]] = s->mb_intra; 3213 v->a_avail = v->mb_type[0][s->block_index[i] - s->block_wrap[i]]; 3215 v->c_avail = v->mb_type[0][s->block_index[i] - 1]; 3270 v->mb_type[0][s->block_index[i]] = 0; 3273 s->current_picture.mb_type[mb_pos] = MB_TYPE_SKIP; 3275 vc1_pred_mv(s, 0, 0, 0, 1, v->range_x, v->range_y, v->mb_type[ [all...] |
H A D | mpegvideo_enc.c | 164 if(!src->mb_type) 165 av_log(s->avctx, AV_LOG_ERROR, "AVFrame.mb_type not set!\n"); 172 memcpy(dst->mb_type, src->mb_type, s->mb_stride * s->mb_height * sizeof(dst->mb_type[0])); 1932 /* compute motion vector & mb_type and store in context */ 2054 int mb_type= s->mb_type[xy]; local 2078 mb_type= s->mb_type[x [all...] |
H A D | h261dec.c | 217 s->current_picture.mb_type[xy]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 325 s->current_picture.mb_type[xy]= MB_TYPE_INTRA; 332 s->current_picture.mb_type[xy]= MB_TYPE_16x16 | MB_TYPE_L0;
|
H A D | h264.h | 79 #define IS_INTERLACED(mb_type) 0
|
H A D | rv30.c | 145 int mbtype = s->current_picture_ptr->mb_type[mb_pos];
|
H A D | mpegvideo_common.h | 666 if(mb_y==0 || IS_INTRA(s->current_picture.mb_type[xy-s->mb_stride])){ 672 if(mb_x==0 || IS_INTRA(s->current_picture.mb_type[xy-1])){ 680 if(mb_x+1>=s->mb_width || IS_INTRA(s->current_picture.mb_type[xy+1])){
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/megaraid/ |
H A D | megaraid_ioctl.h | 92 * @mb_type : Type of the mail box (MB_LEGACY or MB_HPE) 122 uint16_t mb_type; member in struct:uioc
|