Searched refs:inDef (Results 1 – 2 of 2) sorted by relevance
150 OMX_PARAM_PORTDEFINITIONTYPE *inDef = &editPortInfo(kInputPortIndex)->mDef; in updatePortParams() local151 inDef->format.video.nFrameWidth = mWidth; in updatePortParams()152 inDef->format.video.nFrameHeight = mHeight; in updatePortParams()153 inDef->format.video.nStride = inDef->format.video.nFrameWidth; in updatePortParams()154 inDef->format.video.nSliceHeight = inDef->format.video.nFrameHeight; in updatePortParams()155 inDef->format.video.xFramerate = mFramerate; in updatePortParams()156 inDef->format.video.eColorFormat = mColorFormat; in updatePortParams()158 inDef->format.video.nStride * inDef->format.video.nSliceHeight * 3 / 2; in updatePortParams()159 if (inDef->format.video.eColorFormat == OMX_COLOR_FormatAndroidOpaque) { in updatePortParams()160 inDef->nBufferSize = max(sizeof(VideoNativeMetadata), sizeof(VideoGrallocMetadata)); in updatePortParams()[all …]
164 OMX_PARAM_PORTDEFINITIONTYPE *inDef = &editPortInfo(kInputPortIndex)->mDef; in updatePortDefinitions() local165 inDef->format.video.nFrameWidth = mWidth; in updatePortDefinitions()166 inDef->format.video.nFrameHeight = mHeight; in updatePortDefinitions()168 inDef->format.video.nStride = 0; in updatePortDefinitions()169 inDef->format.video.nSliceHeight = 0; in updatePortDefinitions()173 inDef->nBufferSize = max( in updatePortDefinitions()175 max(mMinInputBufferSize, inDef->nBufferSize)); in updatePortDefinitions()