Home
last modified time | relevance | path

Searched refs:rcCtx (Results 1 – 6 of 6) sorted by relevance

/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe_ex/cModel/
H A Dmfe_reg_m4ve.c361 CVBRRateControl* rcCtx = &pConfig->ctxRateControl; in mfeM4VE_EncodeFrame() local
363 rcCtx->m_rcGranularity=MBLEVELRC; in mfeM4VE_EncodeFrame()
364rcCtx->m_nFrameQStep = rcQP2Qstep(rcCtx,rc_InitFrame(&pConfig->VTRateCtrl, chFrameType)); in mfeM4VE_EncodeFrame()
365 rcCtx->m_nTargetMbBits = rcVTCtx->m_nTargetBits / rcVTCtx->m_nNFrame; in mfeM4VE_EncodeFrame()
366 rcCtx->m_nMinQP = SPEC_MIN_QP; in mfeM4VE_EncodeFrame()
367 rcCtx->m_nMaxQP = SPEC_MAX_QP; in mfeM4VE_EncodeFrame()
368 rcCtx->m_nMinQStep = SPEC_MIN_QP<<QS_SHIFT_FACTOR; in mfeM4VE_EncodeFrame()
369 rcCtx->m_nMaxQStep = SPEC_MAX_QP<<QS_SHIFT_FACTOR; in mfeM4VE_EncodeFrame()
370 rcCtx->m_nCodecType = pConfig->nCodecType; in mfeM4VE_EncodeFrame()
371 pInfo->intQP = rcQstep2QP(rcCtx, rcCtx->m_nFrameQStep); in mfeM4VE_EncodeFrame()
[all …]
H A Dmfe_reg_264e.c497 CVBRRateControl* rcCtx = &pConfig->ctxRateControl; in OutputSwCfg1_H264() local
880 mfe_reg->reg_mfe_g_mbr_en = rcCtx->m_rcGranularity==MBLEVELRC ? 1 : 0; in OutputSwCfg1_H264()
885 if (rcCtx->m_nVPMbRow>0 && rcCtx->m_nVPSize<=0) in OutputSwCfg1_H264()
887 else if (rcCtx->m_nVPMbRow<=0 && rcCtx->m_nVPSize>0) in OutputSwCfg1_H264()
889 else if (rcCtx->m_nVPMbRow>0 && rcCtx->m_nVPSize>0) in OutputSwCfg1_H264()
893 if (rcCtx->m_nVPMbRow==0 || rcCtx->m_nVPMbRow==1) in OutputSwCfg1_H264()
895 else if (rcCtx->m_nVPMbRow==2) in OutputSwCfg1_H264()
897 else if (rcCtx->m_nVPMbRow==4) in OutputSwCfg1_H264()
899 else if (rcCtx->m_nVPMbRow==8) in OutputSwCfg1_H264()
901 else if (rcCtx->m_nVPMbRow>0) { in OutputSwCfg1_H264()
[all …]
H A Dm4v_header.c180 CVBRRateControl* rcCtx = &pConfig->ctxRateControl; in codeVOLHead() local
255 …osPutBits(pStream, (rcCtx->m_nVPMbRow<=0&&rcCtx->m_nVPSize<=0)?1:0/*m_volmd.bResyncMarkerDisable*/… in codeVOLHead()
/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe/cModel/
H A Dmfe_reg_264e.c324 CVBRRateControl* rcCtx = &pConfig->ctxRateControl; in OutputSwCfg1_H264() local
497 mfe_reg.reg_mfe_g_mbr_en = rcCtx->m_rcGranularity==MBLEVELRC ? 1 : 0; in OutputSwCfg1_H264()
501 if (rcCtx->m_nVPMbRow>0 && rcCtx->m_nVPSize<=0) in OutputSwCfg1_H264()
503 else if (rcCtx->m_nVPMbRow<=0 && rcCtx->m_nVPSize>0) in OutputSwCfg1_H264()
505 else if (rcCtx->m_nVPMbRow>0 && rcCtx->m_nVPSize>0) in OutputSwCfg1_H264()
509 if (rcCtx->m_nVPMbRow==0 || rcCtx->m_nVPMbRow==1) in OutputSwCfg1_H264()
511 else if (rcCtx->m_nVPMbRow==2) in OutputSwCfg1_H264()
513 else if (rcCtx->m_nVPMbRow==4) in OutputSwCfg1_H264()
515 else if (rcCtx->m_nVPMbRow==8) in OutputSwCfg1_H264()
517 else if (rcCtx->m_nVPMbRow>0) in OutputSwCfg1_H264()
[all …]
H A Dmfe_reg_m4ve.c464 CVBRRateControl* rcCtx = &pConfig->ctxRateControl; in OutputSwCfg1_Mp4() local
703 mfe_reg.reg_mfe_g_mbr_en = rcCtx->m_rcGranularity==MBLEVELRC ? 1 : 0; in OutputSwCfg1_Mp4()
707 if (rcCtx->m_nVPMbRow>0 && rcCtx->m_nVPSize<=0) in OutputSwCfg1_Mp4()
709 else if (rcCtx->m_nVPMbRow<=0 && rcCtx->m_nVPSize>0) in OutputSwCfg1_Mp4()
711 else if (rcCtx->m_nVPMbRow>0 && rcCtx->m_nVPSize>0) in OutputSwCfg1_Mp4()
715 if (rcCtx->m_nVPMbRow==0 || rcCtx->m_nVPMbRow==1) in OutputSwCfg1_Mp4()
717 else if (rcCtx->m_nVPMbRow==2) in OutputSwCfg1_Mp4()
719 else if (rcCtx->m_nVPMbRow==4) in OutputSwCfg1_Mp4()
721 else if (rcCtx->m_nVPMbRow==8) in OutputSwCfg1_Mp4()
723 else if (rcCtx->m_nVPMbRow>0) in OutputSwCfg1_Mp4()
[all …]
H A Dm4v_header.c179 CVBRRateControl* rcCtx = &pConfig->ctxRateControl; in codeVOLHead() local
254 …osPutBits(pStream, (rcCtx->m_nVPMbRow<=0&&rcCtx->m_nVPSize<=0)?1:0/*m_volmd.bResyncMarkerDisable*/… in codeVOLHead()