/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | h264_mc_template.c | 73 const int mb_type = h->cur_pic.mb_type[mb_xy]; local 75 av_assert2(IS_INTER(mb_type)); 81 if (IS_16X16(mb_type)) { 85 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); 86 } else if (IS_16X8(mb_type)) { 90 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); 94 IS_DIR(mb_type, [all...] |
H A D | h264_mvpred.h | 48 const int mb_type = mb_types[xy + (y4 >> 2) * h->mb_stride]; \ 49 if (!USES_LIST(mb_type, list)) \ 59 const uint32_t *mb_types = h->cur_pic_ptr->mb_type; 350 static void fill_decode_neighbors(H264Context *h, int mb_type) argument 373 const int left_mb_field_flag = IS_INTERLACED(h->cur_pic.mb_type[mb_xy - 1]); 374 const int curr_mb_field_flag = IS_INTERLACED(mb_type); 391 topleft_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy - 1] >> 7) & 1) - 1); 392 topright_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy + 1] >> 7) & 1) - 1); 393 top_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy] >> 7) & 1) - 1); 413 h->topleft_type = h->cur_pic.mb_type[topleft_x 439 fill_decode_caches(H264Context *h, int mb_type) argument 800 int mb_type = 0; local [all...] |
H A D | h264_cavlc.c | 633 static av_always_inline int decode_luma_residual(H264Context *h, GetBitContext *gb, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p){ argument 636 if(IS_INTRA16x16(mb_type)){ 663 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p; 668 if(IS_8x8DCT(mb_type)){ 702 unsigned int mb_type, cbp; local 733 mb_type= get_ue_golomb(&h->gb); 735 if(mb_type < 23){ 736 partition_count= b_mb_type_info[mb_type].partition_count; 737 mb_type= b_mb_type_info[mb_type] [all...] |
H A D | h264_direct.c | 162 static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){ argument 169 const int is_b8x8 = IS_8X8(*mb_type); 178 await_reference_mb_row(h, &h->ref_list[1][0], h->mb_y + !!IS_INTERLACED(*mb_type)); 219 *mb_type &= mask; 226 *mb_type |= MB_TYPE_L0L1; 235 *mb_type= (*mb_type & ~(MB_TYPE_8x8|MB_TYPE_16x8|MB_TYPE_8x16|MB_TYPE_P1L0|MB_TYPE_P1L1))|MB_TYPE_16x16|MB_TYPE_DIRECT2; 239 if (IS_INTERLACED(h->ref_list[1][0].mb_type[mb_xy])) { // AFL/AFR/FR/FL -> AFL/FL 240 if (!IS_INTERLACED(*mb_type)) { // AFR/FR -> AFL/FL 250 if(IS_INTERLACED(*mb_type)){ // AF 413 pred_temp_direct_motion(H264Context * const h, int *mb_type) argument 624 ff_h264_pred_direct_motion(H264Context * const h, int *mb_type) argument [all...] |
H A D | h264_cabac.c | 1288 ctx += h->mb_field_decoding_flag & !!h->mb_x; //for FMO:(s->current_picture.mb_type[mba_xy] >> 7) & (h->slice_table[mba_xy] == h->slice_num); 1289 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == h->slice_num); 1296 int mb_type; local 1315 mb_type = 1; /* I16x16 */ 1316 mb_type += 12 * get_cabac_noinline( &h->cabac, &state[1] ); /* cbp_luma != 0 */ 1318 mb_type += 4 + 4 * get_cabac_noinline( &h->cabac, &state[2+intra_slice] ); 1319 mb_type += 2 * get_cabac_noinline( &h->cabac, &state[3+intra_slice] ); 1320 mb_type += 1 * get_cabac_noinline( &h->cabac, &state[3+2*intra_slice] ); 1321 return mb_type; 1333 && MB_FIELD(h) == !!IS_INTERLACED( h->cur_pic.mb_type[mba_x 1834 decode_cabac_luma_residual( H264Context *h, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p ) argument 1886 int mb_type, partition_count, cbp = 0; local [all...] |
H A D | svq1enc.h | 62 uint16_t *mb_type; member in struct:SVQ1EncContext
|
H A D | h264_mb_template.c | 48 const int mb_type = h->cur_pic.mb_type[mb_xy]; local 81 if (!USES_LIST(mb_type, list)) 83 if (IS_16X16(mb_type)) { 102 if (!SIMPLE && IS_INTRA_PCM(mb_type)) { 157 if (IS_INTRA(mb_type)) { 167 hl_decode_mb_predict_luma(h, mb_type, is_h264, SIMPLE, 190 hl_decode_mb_idct_luma(h, mb_type, is_h264, SIMPLE, transform_bypass, 197 if (IS_INTRA(mb_type) && h->sps.profile_idc == 244 && 239 h->dequant4_coeff[IS_INTRA(mb_type) 277 const int mb_type = h->cur_pic.mb_type[mb_xy]; local [all...] |
H A D | mpeg_er.c | 42 dst->mb_type = src->mb_type;
|
H A D | h264_mb.c | 98 const int mb_type = h->cur_pic.mb_type[mb_xy]; local 105 if (IS_16X16(mb_type)) { 107 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); 108 } else if (IS_16X8(mb_type)) { 110 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs); 112 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 606 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 727 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 812 const int mb_type = h->cur_pic.mb_type[mb_xy]; local [all...] |
H A D | svq3.c | 488 static int svq3_decode_mb(SVQ3Context *s, unsigned int mb_type) argument 502 if (mb_type == 0) { /* SKIP */ 504 s->next_pic->mb_type[mb_xy] == -1) { 512 mb_type = MB_TYPE_SKIP; 514 mb_type = FFMIN(s->next_pic->mb_type[mb_xy], 6); 515 if (svq3_mc_dir(s, mb_type, PREDICT_MODE, 0, 0) < 0) 517 if (svq3_mc_dir(s, mb_type, PREDICT_MODE, 1, 1) < 0) 520 mb_type = MB_TYPE_16x16; 522 } else if (mb_type < 1274 unsigned mb_type; local [all...] |
H A D | cavsdec.c | 719 static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) argument 725 switch (mb_type) { 755 ff_cavs_inter(h, mb_type); 758 if (mb_type != P_SKIP) 760 ff_cavs_filter(h, mb_type); 761 h->col_type_base[h->mbidx] = mb_type; 764 static int decode_mb_b(AVSContext *h, enum cavs_mb mb_type) argument 777 switch (mb_type) { 858 if (mb_type <= B_SYM_16X16) { 859 av_log(h->avctx, AV_LOG_ERROR, "Invalid mb_type 968 enum cavs_mb mb_type; local [all...] |
H A D | vp56.c | 120 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]); 134 model->mb_type[ctx][type][1] = 1 + 255 * p0234/(1+p0234+p156789); 135 model->mb_type[ctx][type][2] = 1 + 255 * p02 / (1+p0234); 136 model->mb_type[ctx][type][3] = 1 + 255 * p17 / (1+p156789); 137 model->mb_type[ctx][type][4] = 1 + 255 * p[0] / (1+p02); 138 model->mb_type[ctx][type][5] = 1 + 255 * p[3] / (1+p34); 139 model->mb_type[ctx][type][6] = 1 + 255 * p[1] / (1+p17); 140 model->mb_type[ctx][type][7] = 1 + 255 * p56 / (1+p5689); 141 model->mb_type[ctx][type][8] = 1 + 255 * p[5] / (1+p56); 142 model->mb_type[ct 387 VP56mb mb_type; local [all...] |
H A D | h264_loopfilter.c | 256 int mb_type = h->cur_pic.mb_type[mb_xy]; local 268 if( IS_INTRA(mb_type) ) { 274 if( IS_8x8DCT(mb_type) ) { 297 if( IS_8x8DCT(mb_type) ) { 360 if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 && !chroma444 ) { 367 int mask_edge1 = (3*(((5*mb_type)>>5)&1)) | (mb_type>>4); //(mb_type & (MB_TYPE_16x16 | MB_TYPE_8x16)) ? 3 : (mb_type 463 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 a, int b, int chroma, int dir) argument 706 const int mb_type = h->cur_pic.mb_type[mb_xy]; local [all...] |
H A D | ituh263dec.c | 338 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 345 s->current_picture.mb_type[xy] = MB_TYPE_INTRA; 357 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; 375 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; 600 s->current_picture.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 633 s->current_picture.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; 658 s->current_picture.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; 684 int mb_type; local 697 mb_type= get_vlc2(&s->gb, h263_mbtype_b_vlc.table, H263_MBTYPE_B_VLC_BITS, 2); 698 if (mb_type < [all...] |
H A D | h264.h | 85 #define IS_INTERLACED(mb_type) 0 304 uint32_t *mb_type; member in struct:H264Picture 873 void ff_h264_pred_direct_motion(H264Context *const h, int *mb_type); 1026 int mb_type, int list) 1038 if (IS_SKIP(mb_type)) { 1058 static av_always_inline void write_back_motion(H264Context *h, int mb_type) argument 1064 if (USES_LIST(mb_type, 0)) { 1065 write_back_motion_list(h, b_stride, b_xy, b8_xy, mb_type, 0); 1070 if (USES_LIST(mb_type, 1)) 1071 write_back_motion_list(h, b_stride, b_xy, b8_xy, mb_type, 1023 write_back_motion_list(H264Context *h, int b_stride, int b_xy, int b8_xy, int mb_type, int list) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | h264_cavlc.c | 627 static av_always_inline int decode_luma_residual(H264Context *h, GetBitContext *gb, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p){ argument 631 if(IS_INTRA16x16(mb_type)){ 658 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p; 663 if(IS_8x8DCT(mb_type)){ 698 unsigned int mb_type, cbp; local 728 mb_type= get_ue_golomb(&s->gb); 730 if(mb_type < 23){ 731 partition_count= b_mb_type_info[mb_type].partition_count; 732 mb_type= b_mb_type_info[mb_type] [all...] |
H A D | h264_mvpred.h | 48 const int mb_type = mb_types[xy+(y4>>2)*s->mb_stride];\ 49 if(!USES_LIST(mb_type,list))\ 59 const uint32_t *mb_types = s->current_picture_ptr->f.mb_type; 330 static void fill_decode_neighbors(H264Context *h, int mb_type){ argument 353 const int left_mb_field_flag = IS_INTERLACED(s->current_picture.f.mb_type[mb_xy - 1]); 354 const int curr_mb_field_flag = IS_INTERLACED(mb_type); 370 topleft_xy += s->mb_stride & (((s->current_picture.f.mb_type[top_xy - 1] >> 7) & 1) - 1); 371 topright_xy += s->mb_stride & (((s->current_picture.f.mb_type[top_xy + 1] >> 7) & 1) - 1); 372 top_xy += s->mb_stride & (((s->current_picture.f.mb_type[top_xy ] >> 7) & 1) - 1); 392 h->topleft_type = s->current_picture.f.mb_type[topleft_x 412 fill_decode_caches(H264Context *h, int mb_type) argument 759 int mb_type=0; local [all...] |
H A D | h264_direct.c | 160 static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){ argument 168 const int is_b8x8 = IS_8X8(*mb_type); 177 await_reference_mb_row(h, &h->ref_list[1][0], s->mb_y + !!IS_INTERLACED(*mb_type)); 217 *mb_type &= mask; 224 *mb_type |= MB_TYPE_L0L1; 233 *mb_type= (*mb_type & ~(MB_TYPE_8x8|MB_TYPE_16x8|MB_TYPE_8x16|MB_TYPE_P1L0|MB_TYPE_P1L1))|MB_TYPE_16x16|MB_TYPE_DIRECT2; 237 if (IS_INTERLACED(h->ref_list[1][0].f.mb_type[mb_xy])) { // AFL/AFR/FR/FL -> AFL/FL 238 if (!IS_INTERLACED(*mb_type)) { // AFR/FR -> AFL/FL 248 if(IS_INTERLACED(*mb_type)){ // AF 411 pred_temp_direct_motion(H264Context * const h, int *mb_type) argument 623 ff_h264_pred_direct_motion(H264Context * const h, int *mb_type) argument [all...] |
H A D | h264_cabac.c | 1289 ctx += h->mb_field_decoding_flag & !!s->mb_x; //for FMO:(s->current_picture.f.mb_type[mba_xy] >> 7) & (h->slice_table[mba_xy] == h->slice_num); 1290 ctx += (s->current_picture.f.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == h->slice_num); 1297 int mb_type; local 1316 mb_type = 1; /* I16x16 */ 1317 mb_type += 12 * get_cabac_noinline( &h->cabac, &state[1] ); /* cbp_luma != 0 */ 1319 mb_type += 4 + 4 * get_cabac_noinline( &h->cabac, &state[2+intra_slice] ); 1320 mb_type += 2 * get_cabac_noinline( &h->cabac, &state[3+intra_slice] ); 1321 mb_type += 1 * get_cabac_noinline( &h->cabac, &state[3+2*intra_slice] ); 1322 return mb_type; 1335 && MB_FIELD == !!IS_INTERLACED( s->current_picture.f.mb_type[mba_x 1816 decode_cabac_luma_residual( H264Context *h, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p ) argument 1873 int mb_type, partition_count, cbp = 0; local [all...] |
H A D | svq3.c | 436 static int svq3_decode_mb(SVQ3Context *svq3, unsigned int mb_type) argument 451 if (mb_type == 0) { /* SKIP */ 452 if (s->pict_type == AV_PICTURE_TYPE_P || s->next_picture.f.mb_type[mb_xy] == -1) { 459 mb_type = MB_TYPE_SKIP; 461 mb_type = FFMIN(s->next_picture.f.mb_type[mb_xy], 6); 462 if (svq3_mc_dir(h, mb_type, PREDICT_MODE, 0, 0) < 0) 464 if (svq3_mc_dir(h, mb_type, PREDICT_MODE, 1, 1) < 0) 467 mb_type = MB_TYPE_16x16; 469 } else if (mb_type < 953 int m, mb_type; local [all...] |
H A D | cavsdec.c | 259 static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) { argument 264 switch(mb_type) { 294 ff_cavs_inter(h, mb_type); 297 if(mb_type != P_SKIP) 299 ff_cavs_filter(h,mb_type); 300 h->col_type_base[h->mbidx] = mb_type; 303 static void decode_mb_b(AVSContext *h, enum cavs_mb mb_type) { argument 315 switch(mb_type) { 374 assert((mb_type > B_SYM_16X16) && (mb_type < B_8X 468 enum cavs_mb mb_type; local [all...] |
H A D | vp56.c | 120 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]); 134 model->mb_type[ctx][type][1] = 1 + 255 * p0234/(1+p0234+p156789); 135 model->mb_type[ctx][type][2] = 1 + 255 * p02 / (1+p0234); 136 model->mb_type[ctx][type][3] = 1 + 255 * p17 / (1+p156789); 137 model->mb_type[ctx][type][4] = 1 + 255 * p[0] / (1+p02); 138 model->mb_type[ctx][type][5] = 1 + 255 * p[3] / (1+p34); 139 model->mb_type[ctx][type][6] = 1 + 255 * p[1] / (1+p17); 140 model->mb_type[ctx][type][7] = 1 + 255 * p56 / (1+p5689); 141 model->mb_type[ctx][type][8] = 1 + 255 * p[5] / (1+p56); 142 model->mb_type[ct 386 VP56mb mb_type; local [all...] |
H A D | h264_loopfilter.c | 260 int mb_type = s->current_picture.f.mb_type[mb_xy]; local 272 if( IS_INTRA(mb_type) ) { 278 if( IS_8x8DCT(mb_type) ) { 301 if( IS_8x8DCT(mb_type) ) { 364 if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 && !chroma444 ) { 371 int mask_edge1 = (3*(((5*mb_type)>>5)&1)) | (mb_type>>4); //(mb_type & (MB_TYPE_16x16 | MB_TYPE_8x16)) ? 3 : (mb_type 467 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 a, int b, int chroma, int dir) argument 712 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local [all...] |
H A D | ituh263dec.c | 361 s->current_picture.f.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 368 s->current_picture.f.mb_type[xy] = MB_TYPE_INTRA; 380 s->current_picture.f.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; 398 s->current_picture.f.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; 620 s->current_picture.f.mb_type[xy] = MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; 653 s->current_picture.f.mb_type[xy] = MB_TYPE_16x16 | MB_TYPE_L0; 678 s->current_picture.f.mb_type[xy] = MB_TYPE_8x8 | MB_TYPE_L0; 704 int mb_type; local 717 mb_type= get_vlc2(&s->gb, h263_mbtype_b_vlc.table, H263_MBTYPE_B_VLC_BITS, 2); 718 if (mb_type < [all...] |
H A D | error_resilience.c | 183 if (IS_INTER(s->current_picture.f.mb_type[mb_index])) 192 int intra_j = IS_INTRA(s->current_picture.f.mb_type[mb_index_j]); 204 int intra_j = IS_INTRA(s->current_picture.f.mb_type[mb_index_j]); 216 int intra_j = IS_INTRA(s->current_picture.f.mb_type[mb_index_j]); 229 int intra_j = IS_INTRA(s->current_picture.f.mb_type[mb_index_j]); 269 int left_intra = IS_INTRA(s->current_picture.f.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_stride]); 270 int right_intra = IS_INTRA(s->current_picture.f.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_stride]); 337 int top_intra = IS_INTRA(s->current_picture.f.mb_type[(b_x >> is_luma) + ( b_y >> is_luma) * s->mb_stride]); 338 int bottom_intra = IS_INTRA(s->current_picture.f.mb_type[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_stride]); 409 if (IS_INTRA(s->current_picture.f.mb_type[mb_x 1090 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local 1138 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local 1199 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local 1250 const int mb_type = s->current_picture.f.mb_type[mb_xy]; local [all...] |