Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/
DOMXVideoEncoderBase.cpp29 ,mEncoderParams(NULL) in OMXVideoEncoderBase()
38 mEncoderParams = new VideoParamsCommon(); in OMXVideoEncoderBase()
39 if (!mEncoderParams) LOGE("OMX_ErrorInsufficientResources"); in OMXVideoEncoderBase()
75 if(mEncoderParams) { in ~OMXVideoEncoderBase()
76 delete mEncoderParams; in ~OMXVideoEncoderBase()
77 mEncoderParams = NULL; in ~OMXVideoEncoderBase()
288 mEncoderParams->resolution.height = paramPortDefinitionInput->format.video.nFrameHeight; in SetVideoEncoderParam()
289 mEncoderParams->resolution.width = paramPortDefinitionInput->format.video.nFrameWidth; in SetVideoEncoderParam()
291 mEncoderParams->frameRate.frameRateDenom = 1; in SetVideoEncoderParam()
293 mEncoderParams->frameRate.frameRateNum = mConfigFramerate.xEncodeFramerate; in SetVideoEncoderParam()
[all …]
DOMXVideoEncoderVP8.cpp56 if (!mEncoderParams) { in SetVideoEncoderParam()
61 mVideoEncoder->getParameters(mEncoderParams); in SetVideoEncoderParam()
62 mEncoderParams->profile = VAProfileVP8Version0_3; in SetVideoEncoderParam()
106 frameDuration = (OMX_U32)(1000000 / mEncoderParams->frameRate.frameRateNum); in ProcessorProcess()
111 if(this_fps != mEncoderParams->frameRate.frameRateNum) in ProcessorProcess()
114 mEncoderParams->frameRate.frameRateNum = this_fps; in ProcessorProcess()
DOMXVideoEncoderAVC.cpp200 if (!mEncoderParams) { in SetVideoEncoderParam()
205 mVideoEncoder->getParameters(mEncoderParams); in SetVideoEncoderParam()
209 mEncoderParams->profile = ProfileTable[index].value; in SetVideoEncoderParam()
212 mEncoderParams->intraPeriod = mParamAvc.nPFrames + mParamAvc.nBFrames; in SetVideoEncoderParam()
214 mEncoderParams->intraPeriod = mParamAvc.nPFrames + 1; in SetVideoEncoderParam()
220 mEncoderParams->disableDeblocking = 0; in SetVideoEncoderParam()
229 if (mEncoderParams->resolution.width <= 640 && mEncoderParams->resolution.height <= 480) { in SetVideoEncoderParam()
237 if (mEncoderParams->intraPeriod == 0) { in SetVideoEncoderParam()
243 mAVCParams->ipPeriod = mEncoderParams->intraPeriod / mParamAvc.nPFrames; in SetVideoEncoderParam()
255 LOGV("intraPeriod = %d\n ", mEncoderParams->intraPeriod); in SetVideoEncoderParam()
[all …]
DOMXVideoEncoderH263.cpp68 if (!mEncoderParams) { in SetVideoEncoderParam()
73 mVideoEncoder->getParameters(mEncoderParams); in SetVideoEncoderParam()
74 mEncoderParams->profile = (VAProfile)PROFILE_H263BASELINE; in SetVideoEncoderParam()
DOMXVideoEncoderMPEG4.cpp62 if (!mEncoderParams) { in SetVideoEncoderParam()
67 mVideoEncoder->getParameters(mEncoderParams); in SetVideoEncoderParam()
68 mEncoderParams->profile = (VAProfile)PROFILE_MPEG4SIMPLE; in SetVideoEncoderParam()
DOMXVideoEncoderBase.h99 VideoParamsCommon *mEncoderParams; variable