Home
last modified time | relevance | path

Searched refs:IS_INTRA (Results 1 – 25 of 30) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dhevcpred_template.c39 #define IS_INTRA(x, y) \ in FUNC() macro
52 if (!IS_INTRA(i, -1)) \ in FUNC()
58 if (!IS_INTRA(i - 1, -1)) \ in FUNC()
62 if (!IS_INTRA(-1, i - 3)) \ in FUNC()
68 if (!IS_INTRA(-1, i)) \ in FUNC()
203 while (j > -1 && !IS_INTRA(-1, j)) in FUNC()
205 if (!IS_INTRA(-1, j)) { in FUNC()
207 while (j < size_max_x && !IS_INTRA(j, -1)) in FUNC()
214 while (j < size_max_x && !IS_INTRA(j, -1)) in FUNC()
237 if (!IS_INTRA(-1, - 1)) in FUNC()
[all …]
Derror_resilience.c156 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
169 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
184 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
197 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
256 …int left_intra = IS_INTRA(s->cur_pic.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
257 …int right_intra = IS_INTRA(s->cur_pic.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
325 …int top_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ( b_y >> is_luma) * s->mb_… in v_block_filter()
326 …int bottom_intra = IS_INTRA(s->cur_pic.mb_type[(b_x >> is_luma) + ((b_y + 1) >> is_luma) * s->mb_… in v_block_filter()
421 if (IS_INTRA(s->cur_pic.mb_type[mb_xy])) in guess_mv()
446 if (IS_INTRA(s->cur_pic.mb_type[mb_xy])) in guess_mv()
[all …]
Dh264_mb_template.c153 if (IS_INTRA(mb_type)) { in FUNC()
197 if (IS_INTRA(mb_type) && h->ps.sps->profile_idc == 244 && in FUNC()
238 … h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 1 : 4][qp[0]][0]); in FUNC()
241 … h->ps.pps->dequant4_coeff[IS_INTRA(mb_type) ? 2 : 5][qp[1]][0]); in FUNC()
325 if (IS_INTRA(mb_type)) { in FUNC()
Dh264_direct.c375 if (!IS_INTRA(mb_type_col[y8]) && !sl->ref_list[1][0].parent->long_ref && in pred_spatial_direct_motion()
406 if (!IS_INTRA(mb_type_col[0]) && !sl->ref_list[1][0].parent->long_ref && in pred_spatial_direct_motion()
444 if (!IS_INTRA(mb_type_col[0]) && !sl->ref_list[1][0].parent->long_ref && in pred_spatial_direct_motion()
610 if (IS_INTRA(mb_type_col[y8])) { in pred_temp_direct_motion()
649 if (IS_INTRA(mb_type_col[0])) { in pred_temp_direct_motion()
677 if (IS_INTRA(mb_type_col[0])) { in pred_temp_direct_motion()
Dh264_loopfilter.c271 if( IS_INTRA(mb_type) ) { in h264_filter_mb_fast_internal()
377 if( IS_INTRA(left_type) ) in h264_filter_mb_fast_internal()
379 if( IS_INTRA(top_type) ) in h264_filter_mb_fast_internal()
512 if (IS_INTRA(mb_type | h->cur_pic.mb_type[mbn_xy])) { in filter_mb_dir()
550 if( IS_INTRA(mb_type|mbm_type)) { in filter_mb_dir()
637 if( IS_INTRA(mb_type)) { in filter_mb_dir()
749 if( IS_INTRA(mb_type) ) { in ff_h264_filter_mb()
768 if( IS_INTRA( mbn_type ) ) in ff_h264_filter_mb()
Dh264_mvpred.h467 if (IS_INTRA(mb_type)) { in fill_decode_caches()
468 int type_mask = h->ps.pps->constrained_intra_pred ? IS_INTRA(-1) : -1; in fill_decode_caches()
555 uint32_t top_empty = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 0x40404040; in fill_decode_caches()
586 nnz_cache[3 + 8 * 12 + 2 * 8 * i] = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 64; in fill_decode_caches()
595 sl->top_cbp = IS_INTRA(mb_type) ? 0x7CF : 0x00F; in fill_decode_caches()
602 sl->left_cbp = IS_INTRA(mb_type) ? 0x7CF : 0x00F; in fill_decode_caches()
Dmpegutils.c218 else if (IS_INTRA(mb_type) && IS_ACPRED(mb_type)) in ff_print_debug_info2()
250 else if (IS_INTRA(mb_type) || IS_16X16(mb_type)) in ff_print_debug_info2()
Drv30.c162 if(IS_INTRA(mbtype) || IS_SEPARATE_DC(mbtype)) in rv30_loop_filter()
164 if(IS_INTRA(mbtype)) in rv30_loop_filter()
Dmpegutils.h78 #define IS_INTRA(a) ((a) & 7) macro
Dh264_cabac.c1886 int cqm = (IS_INTRA( mb_type ) ? 0:3) + p; in decode_cabac_luma_residual()
2065 if( IS_INTRA( mb_type ) ) { in ff_h264_decode_mb_cabac()
2338 if( dct8x8_allowed && (cbp&15) && !IS_INTRA( mb_type ) ) { in ff_h264_decode_mb_cabac()
2355 nnz_cache[3+8*12 + 2*8*i]= IS_INTRA(mb_type) ? 64 : 0; in ff_h264_decode_mb_cabac()
2359 uint32_t top_empty = !IS_INTRA(mb_type) ? 0 : 0x40404040; in ff_h264_decode_mb_cabac()
2444 … qmul = h->ps.pps->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[c]]; in ff_h264_decode_mb_cabac()
2468 … qmul = h->ps.pps->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chroma_qp[c]]; in ff_h264_decode_mb_cabac()
Drv40.c377 if(IS_INTRA(mbtype) || IS_SEPARATE_DC(mbtype)) in rv40_loop_filter()
379 if(IS_INTRA(mbtype)) in rv40_loop_filter()
416 mb_strong[i] = IS_INTRA(mbtype[i]) || IS_SEPARATE_DC(mbtype[i]); in rv40_loop_filter()
Dh264_cavlc.c661 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p; in decode_luma_residual()
799 if(IS_INTRA(mb_type)){ in ff_h264_decode_mb_cavlc()
1091 if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){ in ff_h264_decode_mb_cavlc()
1157 …const uint32_t *qmul = h->ps.pps->dequant4_coeff[chroma_idx+1+(IS_INTRA( mb_type ) ? 0:3)][sl->chr… in ff_h264_decode_mb_cavlc()
Dmpegvideo_motion.c689 if (mb_y == 0 || IS_INTRA(cur_frame->mb_type[xy - s->mb_stride])) { in apply_obmc()
699 if (mb_x == 0 || IS_INTRA(cur_frame->mb_type[xy - 1])) { in apply_obmc()
708 if (mb_x + 1 >= s->mb_width || IS_INTRA(cur_frame->mb_type[xy + 1])) { in apply_obmc()
Dsvq3.c624 s->qscale, IS_INTRA(mb_type) ? 1 : 0); in hl_decode_mb_idct_luma()
690 if (IS_INTRA(mb_type)) { in hl_decode_mb()
938 cbp = IS_INTRA(mb_type) ? ff_h264_golomb_to_intra4x4_cbp[vlc] in svq3_decode_mb()
1008 if (IS_INTRA(mb_type)) in svq3_decode_mb()
Drv34.c409 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header()
887 if(IS_INTRA(next_bt) || IS_SKIP(next_bt)){ in rv34_decode_mv()
1230 if (IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_macroblock()
/third_party/openh264/codec/decoder/core/src/
Ddecode_slice.cpp339 } else if (IS_INTRA (pCurDqLayer->pDec->pMbType[pCurDqLayer->iMbXyIndex])) { in WelsTargetMbConstruction()
404 if (pNeighAvail->iLeftAvail && IS_INTRA (pNeighAvail->iLeftType)) { //left in WelsMapNxNNeighToSampleConstrain1()
410 if (pNeighAvail->iLeftTopAvail && IS_INTRA (pNeighAvail->iLeftTopType)) { //top_left in WelsMapNxNNeighToSampleConstrain1()
413 if (pNeighAvail->iTopAvail && IS_INTRA (pNeighAvail->iTopType)) { //top in WelsMapNxNNeighToSampleConstrain1()
419 if (pNeighAvail->iRightTopAvail && IS_INTRA (pNeighAvail->iRightTopType)) { //top_right in WelsMapNxNNeighToSampleConstrain1()
436 if (pNeighAvail->iLeftAvail && IS_INTRA (pNeighAvail->iLeftType)) { in WelsMap16x16NeighToSampleConstrain1()
439 if (pNeighAvail->iLeftTopAvail && IS_INTRA (pNeighAvail->iLeftTopType)) { in WelsMap16x16NeighToSampleConstrain1()
442 if (pNeighAvail->iTopAvail && IS_INTRA (pNeighAvail->iTopType)) { in WelsMap16x16NeighToSampleConstrain1()
1007IS_INTRA (pCurDqLayer->pDec->pMbType[iMbXy]) ? LUMA_DC_AC_INTRA_8 : LUMA_DC_AC_INTER_8, in WelsDecodeMbCabacPSliceBaseMode0()
1019 …iMbResProperty = (IS_INTRA (pCurDqLayer->pDec->pMbType[iMbXy])) ? LUMA_DC_AC_INTRA : LUMA_DC_AC_IN… in WelsDecodeMbCabacPSliceBaseMode0()
[all …]
Ddeblocking.cpp1159 * (uint32_t*)nBS[0][0] = IS_INTRA (uiMbType) ? 0x04040404 : in WelsDeblockingMb()
1163 * (uint32_t*)nBS[0][0] = IS_INTRA (uiMbType) ? 0x04040404 : DeblockingBsMarginalMBAvcbase ( in WelsDeblockingMb()
1173 * (uint32_t*)nBS[1][0] = IS_INTRA (uiMbType) ? 0x04040404 : in WelsDeblockingMb()
1177 * (uint32_t*)nBS[1][0] = IS_INTRA (uiMbType) ? 0x04040404 : DeblockingBsMarginalMBAvcbase ( in WelsDeblockingMb()
Dmv_pred.cpp341 …} else if (!is8x8 && (IS_INTER_16x16 (coloc_mbType) || IS_INTRA (coloc_mbType)/* || IS_SKIP(coloc_… in GetColocatedMb()
349 if (IS_INTRA (coloc_mbType)) { in GetColocatedMb()
/third_party/openh264/codec/common/inc/
Dwels_common_defs.h305 #define IS_INTRA(type) ( (type)&MB_TYPE_INTRA ) macro
319 #define IS_SVC_INTRA(type) ( IS_I_BL(type) || IS_INTRA(type) )
/third_party/openh264/codec/processing/src/common/
Dutil.h70 #define IS_INTRA(type) ((type)&MB_TYPE_INTRA) macro
/third_party/openh264/codec/encoder/core/src/
Ddeblocking.cpp561 if (IS_INTRA ((pCurMb - 1)->uiMbType)) { in DeblockingBSCalc_neon()
568 if (IS_INTRA ((pCurMb - iMbStride)->uiMbType)) { in DeblockingBSCalc_neon()
583 if (IS_INTRA ((pCurMb - 1)->uiMbType)) { in DeblockingBSCalc_AArch64_neon()
590 if (IS_INTRA ((pCurMb - iMbStride)->uiMbType)) { in DeblockingBSCalc_AArch64_neon()
602 …* (uint32_t*)uiBS[0][0] = IS_INTRA ((pCurMb - 1)->uiMbType) ? 0x04040404 : DeblockingBSMarginalMBA… in DeblockingBSCalc_c()
608 …* (uint32_t*)uiBS[1][0] = IS_INTRA ((pCurMb - iMbStride)->uiMbType) ? 0x04040404 : DeblockingBSMar… in DeblockingBSCalc_c()
Dsvc_set_mb_syn_cabac.cpp430 int32_t bIntra = IS_INTRA (pCurMb->uiMbType); in WelsGetMbCtxCabac()
664 if (IS_INTRA (uiMbType)) { in WelsSpatialWriteMbSynCabac()
732 if (!IS_INTRA (pCurMb->uiMbType)) in WelsSpatialWriteMbSynCabac()
Dsvc_encode_mb.cpp255 const int32_t kiInterFlag = !IS_INTRA (pCurMb->uiMbType); in WelsEncRecUV()
Dsvc_mode_decision.cpp233 && !IS_INTRA (pMbCache->uiRefMbType) in WelsMdInterJudgeBGDPskip()
/third_party/openh264/codec/processing/src/complexityanalysis/
DComplexityAnalysis.cpp130 if (pBackgroundMbFlag[i] == 0 || IS_INTRA (uiRefMbType[i])) { in GetFrameSadExcludeBackground()
206 && !IS_INTRA (uiRefMbType[i])); in AnalyzeGomComplexityViaSad()

12