Lines Matching refs:video

116     def.format.video.cMIMEType = const_cast<char *>(mimeType);  in initPorts()
117 def.format.video.pNativeRender = NULL; in initPorts()
119 def.format.video.nBitrate = 0; in initPorts()
120 def.format.video.xFramerate = 0; in initPorts()
121 def.format.video.bFlagErrorConcealment = OMX_FALSE; in initPorts()
122 def.format.video.eCompressionFormat = mCodingType; in initPorts()
123 def.format.video.eColorFormat = OMX_COLOR_FormatUnused; in initPorts()
124 def.format.video.pNativeWindow = NULL; in initPorts()
138 def.format.video.cMIMEType = const_cast<char *>("video/raw"); in initPorts()
139 def.format.video.pNativeRender = NULL; in initPorts()
141 def.format.video.nBitrate = 0; in initPorts()
142 def.format.video.xFramerate = 0; in initPorts()
143 def.format.video.bFlagErrorConcealment = OMX_FALSE; in initPorts()
144 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in initPorts()
145 def.format.video.pNativeWindow = NULL; in initPorts()
154 outDef->format.video.nFrameWidth = outputBufferWidth(); in updatePortDefinitions()
155 outDef->format.video.nFrameHeight = outputBufferHeight(); in updatePortDefinitions()
156 outDef->format.video.eColorFormat = mOutputFormat; in updatePortDefinitions()
157 outDef->format.video.nSliceHeight = outDef->format.video.nFrameHeight; in updatePortDefinitions()
160 outDef->format.video.nStride = outDef->format.video.nFrameWidth * bpp; in updatePortDefinitions()
162 (outDef->format.video.nStride * outDef->format.video.nSliceHeight * 3) / 2; in updatePortDefinitions()
165 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()
207 if (def->format.video.nStride != (OMX_S32)width in handlePortSettingsChange()
208 || def->format.video.nSliceHeight != (OMX_U32)height) { in handlePortSettingsChange()
248 def->format.video.nStride = mWidth; in handlePortSettingsChange()
249 def->format.video.nSliceHeight = mHeight; in handlePortSettingsChange()
319 int32_t bpp = (outDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420Planar16) ? 2 : 1; in copyYV12FrameToOutputBuffer()
494 OMX_VIDEO_PORTDEFINITIONTYPE *video_def = &newParams->format.video; in internalSetParameter()
497 uint32_t oldWidth = def->format.video.nFrameWidth; in internalSetParameter()
498 uint32_t oldHeight = def->format.video.nFrameHeight; in internalSetParameter()
524 def->format.video.nFrameWidth = newWidth; in internalSetParameter()
525 def->format.video.nFrameHeight = newHeight; in internalSetParameter()