Lines Matching refs:format

89     def.format.video.cMIMEType = const_cast<char *>(mimeType);
90 def.format.video.pNativeRender = NULL;
92 def.format.video.nBitrate = 0;
93 def.format.video.xFramerate = 0;
94 def.format.video.bFlagErrorConcealment = OMX_FALSE;
95 def.format.video.eCompressionFormat = mCodingType;
96 def.format.video.eColorFormat = OMX_COLOR_FormatUnused;
97 def.format.video.pNativeWindow = NULL;
111 def.format.video.cMIMEType = const_cast<char *>("video/raw");
112 def.format.video.pNativeRender = NULL;
114 def.format.video.nBitrate = 0;
115 def.format.video.xFramerate = 0;
116 def.format.video.bFlagErrorConcealment = OMX_FALSE;
117 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
118 def.format.video.eColorFormat = OMX_COLOR_FormatYUV420Planar;
119 def.format.video.pNativeWindow = NULL;
128 def->format.video.nFrameWidth = mWidth;
129 def->format.video.nFrameHeight = mHeight;
130 def->format.video.nStride = def->format.video.nFrameWidth;
131 def->format.video.nSliceHeight = def->format.video.nFrameHeight;
133 def->nBufferSize = def->format.video.nFrameWidth * def->format.video.nFrameHeight * 3 / 2;
136 def->format.video.nFrameWidth = outputBufferWidth();
137 def->format.video.nFrameHeight = outputBufferHeight();
138 def->format.video.nStride = def->format.video.nFrameWidth;
139 def->format.video.nSliceHeight = def->format.video.nFrameHeight;
142 (def->format.video.nFrameWidth *
143 def->format.video.nFrameHeight * 3) / 2;
172 if (def->format.video.nStride != width || def->format.video.nSliceHeight != height) {
207 def->format.video.nStride = mWidth;
208 def->format.video.nSliceHeight = mHeight;
359 OMX_VIDEO_PORTDEFINITIONTYPE *video_def = &newParams->format.video;
362 uint32_t oldWidth = def->format.video.nFrameWidth;
363 uint32_t oldHeight = def->format.video.nFrameHeight;
368 def->format.video.nFrameWidth =
370 def->format.video.nFrameHeight =
372 def->format.video.nStride = def->format.video.nFrameWidth;
373 def->format.video.nSliceHeight = def->format.video.nFrameHeight;
375 def->format.video.nFrameWidth * def->format.video.nFrameHeight * 3 / 2;