Lines Matching defs:portParams

771 status_t OMXCameraAdapter::setFormat(OMX_U32 port, OMXCameraPortParameters &portParams)
794 portCheck.format.video.nFrameWidth = portParams.mWidth;
795 portCheck.format.video.nFrameHeight = portParams.mHeight;
796 portCheck.format.video.eColorFormat = portParams.mColorFormat;
797 portCheck.format.video.nStride = portParams.mStride;
800 ( portParams.mFrameRate >= FRAME_RATE_FULL_HD ) )
809 portCheck.format.video.xFramerate = portParams.mFrameRate<<16;
810 portCheck.nBufferSize = portParams.mStride * portParams.mHeight;
811 portCheck.nBufferCountActual = portParams.mNumBufs;
812 mFocusThreshold = FOCUS_THRESHOLD * portParams.mFrameRate;
816 portCheck.format.image.nFrameWidth = portParams.mWidth;
817 portCheck.format.image.nFrameHeight = portParams.mHeight;
818 if ( OMX_COLOR_FormatUnused == portParams.mColorFormat && mCodingMode == CodingNone )
823 else if ( OMX_COLOR_FormatUnused == portParams.mColorFormat && mCodingMode == CodingJPS )
828 else if ( OMX_COLOR_FormatUnused == portParams.mColorFormat && mCodingMode == CodingMPO )
833 else if ( OMX_COLOR_FormatUnused == portParams.mColorFormat && mCodingMode == CodingRAWJPEG )
840 else if ( OMX_COLOR_FormatUnused == portParams.mColorFormat && mCodingMode == CodingRAWMPO )
849 portCheck.format.image.eColorFormat = portParams.mColorFormat;
855 portCheck.nBufferSize = portParams.mStride * portParams.mWidth * portParams.mHeight;
856 portCheck.nBufferCountActual = portParams.mNumBufs;
880 portParams.mBufSize = portCheck.nBufferSize;
881 portParams.mStride = portCheck.format.image.nStride;