/third_party/ffmpeg/libavcodec/ |
H A D | hevcpred_template.c | 39 #define IS_INTRA(x, y) \ in intra_pred() macro 52 if (!IS_INTRA(i, -1)) \ in intra_pred() 58 if (!IS_INTRA(i - 1, -1)) \ in intra_pred() 62 if (!IS_INTRA(-1, i - 3)) \ in intra_pred() 68 if (!IS_INTRA(-1, i)) \ in intra_pred() 203 while (j > -1 && !IS_INTRA(-1, j)) in intra_pred() 205 if (!IS_INTRA(-1, j)) { in intra_pred() 207 while (j < size_max_x && !IS_INTRA(j, -1)) in intra_pred() 214 while (j < size_max_x && !IS_INTRA(j, -1)) in intra_pred() 237 if (!IS_INTRA( in intra_pred() 546 #undef IS_INTRA global() macro [all...] |
H A D | h264_mb_template.c | 153 if (IS_INTRA(mb_type)) { 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) ? 1 : 4][qp[0]][0]); in hl_decode_mb() 241 h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 2 : 5][qp[1]][0]); in hl_decode_mb() 325 if (IS_INTRA(mb_type)) { in hl_decode_mb_444()
|
H A D | error_resilience.c | 155 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() 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_xy])) in guess_mv() 445 if (IS_INTRA( in guess_mv() [all...] |
H A D | h264_direct.c | 374 if (!IS_INTRA(mb_type_col[y8]) && !sl->ref_list[1][0].parent->long_ref && in pred_spatial_direct_motion() 405 if (!IS_INTRA(mb_type_col[0]) && !sl->ref_list[1][0].parent->long_ref && in pred_spatial_direct_motion() 443 if (!IS_INTRA(mb_type_col[0]) && !sl->ref_list[1][0].parent->long_ref && in pred_spatial_direct_motion() 609 if (IS_INTRA(mb_type_col[y8])) { in pred_temp_direct_motion() 648 if (IS_INTRA(mb_type_col[0])) { in pred_temp_direct_motion() 676 if (IS_INTRA(mb_type_col[0])) { in pred_temp_direct_motion()
|
H A D | h264_loopfilter.c | 268 if( IS_INTRA(mb_type) ) { in h264_filter_mb_fast_internal() 374 if( IS_INTRA(left_type) ) in h264_filter_mb_fast_internal() 376 if( IS_INTRA(top_type) ) in h264_filter_mb_fast_internal() 509 if (IS_INTRA(mb_type | h->cur_pic.mb_type[mbn_xy])) { in filter_mb_dir() 547 if( IS_INTRA(mb_type|mbm_type)) { in filter_mb_dir() 634 if( IS_INTRA(mb_type)) { in filter_mb_dir() 746 if( IS_INTRA(mb_type) ) { in ff_h264_filter_mb() 765 if( IS_INTRA( mbn_type ) ) in ff_h264_filter_mb()
|
H A D | mpegutils.c | 217 else if (IS_INTRA(mb_type) && IS_ACPRED(mb_type)) in ff_print_debug_info2() 249 else if (IS_INTRA(mb_type) || IS_16X16(mb_type)) in ff_print_debug_info2()
|
H A D | h264_mvpred.h | 465 if (IS_INTRA(mb_type)) { in fill_decode_caches() 466 int type_mask = h->ps.pps->constrained_intra_pred ? IS_INTRA(-1) : -1; in fill_decode_caches() 553 uint32_t top_empty = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 0x40404040; in fill_decode_caches() 584 nnz_cache[3 + 8 * 12 + 2 * 8 * i] = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 64; in fill_decode_caches() 593 sl->top_cbp = IS_INTRA(mb_type) ? 0x7CF : 0x00F; in fill_decode_caches() 600 sl->left_cbp = IS_INTRA(mb_type) ? 0x7CF : 0x00F; in fill_decode_caches()
|
H A D | rv40.c | 380 if(IS_INTRA(mbtype) || IS_SEPARATE_DC(mbtype)) in rv40_loop_filter() 382 if(IS_INTRA(mbtype)) in rv40_loop_filter() 419 mb_strong[i] = IS_INTRA(mbtype[i]) || IS_SEPARATE_DC(mbtype[i]); in rv40_loop_filter()
|
H A D | mpegutils.h | 71 #define IS_INTRA(a) ((a) & 7) macro
|
H A D | h264_cabac.c | 1895 int cqm = (IS_INTRA( mb_type ) ? 0:3) + p; in decode_cabac_luma_residual() 2074 if( IS_INTRA( mb_type ) ) { in ff_h264_decode_mb_cabac() 2347 if( dct8x8_allowed && (cbp&15) && !IS_INTRA( mb_type ) ) { in ff_h264_decode_mb_cabac() 2364 nnz_cache[3+8*12 + 2*8*i]= IS_INTRA(mb_type) ? 64 : 0; in ff_h264_decode_mb_cabac() 2368 uint32_t top_empty = !IS_INTRA(mb_type) ? 0 : 0x40404040; in ff_h264_decode_mb_cabac() 2453 qmul = h->ps.pps->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[c]]; in ff_h264_decode_mb_cabac() 2477 qmul = h->ps.pps->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[c]]; in ff_h264_decode_mb_cabac()
|
H A D | rv30.c | 164 if(IS_INTRA(mbtype) || IS_SEPARATE_DC(mbtype)) in rv30_loop_filter() 166 if(IS_INTRA(mbtype)) in rv30_loop_filter()
|
H A D | h264_cavlc.c | 659 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p; in decode_luma_residual() 797 if(IS_INTRA(mb_type)){ in ff_h264_decode_mb_cavlc() 1089 if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){ in ff_h264_decode_mb_cavlc() 1155 const uint32_t *qmul = h->ps.pps->dequant4_coeff[chroma_idx+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[chroma_idx]]; in ff_h264_decode_mb_cavlc()
|
H A D | mpegvideo_motion.c | 691 if (mb_y == 0 || IS_INTRA(cur_frame->mb_type[xy - s->mb_stride])) { in apply_obmc() 701 if (mb_x == 0 || IS_INTRA(cur_frame->mb_type[xy - 1])) { in apply_obmc() 710 if (mb_x + 1 >= s->mb_width || IS_INTRA(cur_frame->mb_type[xy + 1])) { in apply_obmc()
|
H A D | svq3.c | 624 s->qscale, IS_INTRA(mb_type) ? 1 : 0); in hl_decode_mb_idct_luma() 685 if (IS_INTRA(mb_type)) { in hl_decode_mb() 932 cbp = IS_INTRA(mb_type) ? ff_h264_golomb_to_intra4x4_cbp[vlc] in svq3_decode_mb() 1002 if (IS_INTRA(mb_type)) in svq3_decode_mb()
|
H A D | rv34.c | 411 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header() 889 if(IS_INTRA(next_bt) || IS_SKIP(next_bt)){ in rv34_decode_mv() 1232 if (IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_macroblock()
|
H A D | mpeg12dec.c | 684 if (IS_INTRA(mb_type)) { in mpeg_decode_mb() 734 if (IS_INTRA(mb_type)) { in mpeg_decode_mb()
|
H A D | ituh263dec.c | 916 s->mb_intra = IS_INTRA(mb_type); in ff_h263_decode_mb()
|
H A D | mpeg4videodec.c | 982 if (IS_INTRA(s->current_picture.mb_type[xy])) { in mpeg4_decode_partition_b() 1406 s->mb_intra = IS_INTRA(mb_type); in mpeg4_decode_partitioned_mb()
|
H A D | h264_slice.c | 2482 if (IS_INTRA(mb_type)) in fill_filter_caches()
|