Lines Matching refs:mComParams
128 if (mComParams.rawFormat != RAW_FORMAT_NV12) in start()
135 if (mComParams.resolution.width > 2048 || mComParams.resolution.height > 2048){ in start()
137 mComParams.resolution.width, mComParams.resolution.height); in start()
140 queryAutoReferenceConfig(mComParams.profile); in start()
151 vaStatus = vaGetConfigAttributes(mVADisplay, mComParams.profile, in start()
163 vaAttrib[vaAttribNumber].value = mComParams.rcMode; in start()
189 vaAttrib[vaAttribNumber].value = mComParams.numberOfLayer; in start()
194 LOG_V( "profile = %d\n", mComParams.profile); in start()
203 LOG_V( "mComParams.numberOfLayer is %d\n", mComParams.numberOfLayer); in start()
208 mVADisplay, mComParams.profile, mVAEntrypoint, in start()
215 if (mComParams.rcMode == VA_RC_VCM) { in start()
226 stride_aligned = (mComParams.resolution.width + 15) & ~15; in start()
227 height_aligned = (mComParams.resolution.height + 15) & ~15; in start()
230 if(mComParams.profile == VAProfileVP8Version0_3) in start()
232 stride_aligned = mComParams.resolution.width; in start()
233 height_aligned = mComParams.resolution.height; in start()
238 … stride_aligned = (mComParams.resolution.width + 63) & ~63; //on Merr, stride must be 64 aligned. in start()
239 height_aligned = (mComParams.resolution.height + 31) & ~31; in start()
284 mComParams.resolution.width, in start()
285 mComParams.resolution.height, in start()
297 mComParams.resolution.width, mComParams.resolution.height); in start()
306 for(uint32_t i = 0; i <mComParams.codedBufNum; i++) { in start()
929 mComParams.profile = VAProfileH264Baseline; in setDefaultParams()
930 mComParams.level = 41; in setDefaultParams()
931 mComParams.rawFormat = RAW_FORMAT_NV12; in setDefaultParams()
932 mComParams.frameRate.frameRateNum = 30; in setDefaultParams()
933 mComParams.frameRate.frameRateDenom = 1; in setDefaultParams()
934 mComParams.resolution.width = 0; in setDefaultParams()
935 mComParams.resolution.height = 0; in setDefaultParams()
936 mComParams.intraPeriod = 30; in setDefaultParams()
937 mComParams.rcMode = RATE_CONTROL_NONE; in setDefaultParams()
938 mComParams.rcParams.initQP = 15; in setDefaultParams()
939 mComParams.rcParams.minQP = 0; in setDefaultParams()
940 mComParams.rcParams.maxQP = 0; in setDefaultParams()
941 mComParams.rcParams.I_minQP = 0; in setDefaultParams()
942 mComParams.rcParams.I_maxQP = 0; in setDefaultParams()
943 mComParams.rcParams.bitRate = 640000; in setDefaultParams()
944 mComParams.rcParams.targetPercentage= 0; in setDefaultParams()
945 mComParams.rcParams.windowSize = 0; in setDefaultParams()
946 mComParams.rcParams.disableFrameSkip = 0; in setDefaultParams()
947 mComParams.rcParams.disableBitsStuffing = 1; in setDefaultParams()
948 mComParams.rcParams.enableIntraFrameQPControl = 0; in setDefaultParams()
949 mComParams.rcParams.temporalFrameRate = 0; in setDefaultParams()
950 mComParams.rcParams.temporalID = 0; in setDefaultParams()
951 mComParams.cyclicFrameInterval = 30; in setDefaultParams()
952 mComParams.refreshType = VIDEO_ENC_NONIR; in setDefaultParams()
953 mComParams.airParams.airMBs = 0; in setDefaultParams()
954 mComParams.airParams.airThreshold = 0; in setDefaultParams()
955 mComParams.airParams.airAuto = 1; in setDefaultParams()
956 mComParams.disableDeblocking = 2; in setDefaultParams()
957 mComParams.syncEncMode = false; in setDefaultParams()
958 mComParams.codedBufNum = 2; in setDefaultParams()
959 mComParams.numberOfLayer = 1; in setDefaultParams()
960 mComParams.nPeriodicity = 0; in setDefaultParams()
961 memset(mComParams.nLayerID,0,32*sizeof(uint32_t)); in setDefaultParams()
991 mComParams = *paramsCommon; in setParameters()
1051 mComParams.numberOfLayer = temporallayer->numberOfLayer; in setParameters()
1052 mComParams.nPeriodicity = temporallayer->nPeriodicity; in setParameters()
1054 mComParams.nLayerID[i] = temporallayer->nLayerID[i]; in setParameters()
1092 *paramsCommon = mComParams; in getParameters()
1178 temporallayer->numberOfLayer = mComParams.numberOfLayer; in getParameters()
1223 mComParams.frameRate = configFrameRate->frameRate; in setConfig()
1236 if(mComParams.numberOfLayer == 1) in setConfig()
1238 mComParams.rcParams = configBitRate->rcParams; in setConfig()
1263 mComParams.refreshType = configIntraRefreshType->refreshType; in setConfig()
1274 mComParams.cyclicFrameInterval = configCyclicFrameInterval->cyclicFrameInterval; in setConfig()
1286 mComParams.airParams = configAIR->airParams; in setConfig()
1298 mComParams.cirParams = configCIR->cirParams; in setConfig()
1335 configFrameRate->frameRate = mComParams.frameRate; in getConfig()
1346 configBitRate->rcParams = mComParams.rcParams; in getConfig()
1363 configIntraRefreshType->refreshType = mComParams.refreshType; in getConfig()
1374 configCyclicFrameInterval->cyclicFrameInterval = mComParams.cyclicFrameInterval; in getConfig()
1386 configAIR->airParams = mComParams.airParams; in getConfig()
1397 configCIR->cirParams = mComParams.cirParams; in getConfig()
1431 if (mComParams.intraPeriod != 0 && ((mFrameNum % mComParams.intraPeriod) == 0)) in updateFrameInfo()
1442 uint32_t size = mComParams.resolution.width * mComParams.resolution.height; in getMaxOutSize()
1458 if(mComParams.profile == VAProfileVP8Version0_3) // for VP8 encode in getMaxOutSize()
1474 if (mComParams.rcMode == VA_RC_NONE) { in getMaxOutSize()
1478 mCodedBufSize = mComParams.rcParams.bitRate / 4; in getMaxOutSize()
1711 vinfo.width = mComParams.resolution.width; in manageSrcSurface()
1712 vinfo.height = mComParams.resolution.height; in manageSrcSurface()
1713 vinfo.lumaStride = mComParams.resolution.width; in manageSrcSurface()
1714 vinfo.chromStride = mComParams.resolution.width; in manageSrcSurface()
1729 vinfo.width = mComParams.resolution.width; in manageSrcSurface()
1730 vinfo.height = mComParams.resolution.height; in manageSrcSurface()
1731 vinfo.lumaStride = mComParams.resolution.width; in manageSrcSurface()
1732 vinfo.chromStride = mComParams.resolution.width; in manageSrcSurface()
1811 bitrateControlParam->bits_per_second = mComParams.rcParams.bitRate; in renderDynamicBitrate()
1812 bitrateControlParam->initial_qp = mComParams.rcParams.initQP; in renderDynamicBitrate()
1813 …if(mComParams.rcParams.enableIntraFrameQPControl && (task->type == FTYPE_IDR || task->type == FTYP… in renderDynamicBitrate()
1814 bitrateControlParam->min_qp = mComParams.rcParams.I_minQP; in renderDynamicBitrate()
1815 bitrateControlParam->max_qp = mComParams.rcParams.I_maxQP; in renderDynamicBitrate()
1819 bitrateControlParam->min_qp = mComParams.rcParams.minQP; in renderDynamicBitrate()
1820 bitrateControlParam->max_qp = mComParams.rcParams.maxQP; in renderDynamicBitrate()
1824 bitrateControlParam->target_percentage = mComParams.rcParams.targetPercentage; in renderDynamicBitrate()
1825 bitrateControlParam->window_size = mComParams.rcParams.windowSize; in renderDynamicBitrate()
1826 bitrateControlParam->rc_flags.bits.disable_frame_skip = mComParams.rcParams.disableFrameSkip; in renderDynamicBitrate()
1827 … bitrateControlParam->rc_flags.bits.disable_bit_stuffing = mComParams.rcParams.disableBitsStuffing; in renderDynamicBitrate()
1854 if (mComParams.rcMode != RATE_CONTROL_VCM) { in renderDynamicFrameRate()
1876 … (unsigned int) (mComParams.frameRate.frameRateNum + mComParams.frameRate.frameRateDenom/2) in renderDynamicFrameRate()
1877 / mComParams.frameRate.frameRateDenom; in renderDynamicFrameRate()