Home | History | Annotate | Download | only in omx

Lines Matching defs:def

102     OMX_PARAM_PORTDEFINITIONTYPE def;
103 InitOMXParams(&def);
105 def.nPortIndex = kInputPortIndex;
106 def.eDir = OMX_DirInput;
107 def.nBufferCountMin = numMinInputBuffers;
108 def.nBufferCountActual = numInputBuffers;
109 def.nBufferSize = inputBufferSize;
110 def.bEnabled = OMX_TRUE;
111 def.bPopulated = OMX_FALSE;
112 def.eDomain = OMX_PortDomainVideo;
113 def.bBuffersContiguous = OMX_FALSE;
114 def.nBufferAlignment = 1;
116 def.format.video.cMIMEType = const_cast<char *>(mimeType);
117 def.format.video.pNativeRender = NULL;
119 def.format.video.nBitrate = 0;
120 def.format.video.xFramerate = 0;
121 def.format.video.bFlagErrorConcealment = OMX_FALSE;
122 def.format.video.eCompressionFormat = mCodingType;
123 def.format.video.eColorFormat = OMX_COLOR_FormatUnused;
124 def.format.video.pNativeWindow = NULL;
126 addPort(def);
128 def.nPortIndex = kOutputPortIndex;
129 def.eDir = OMX_DirOutput;
130 def.nBufferCountMin = numMinOutputBuffers;
131 def.nBufferCountActual = numOutputBuffers;
132 def.bEnabled = OMX_TRUE;
133 def.bPopulated = OMX_FALSE;
134 def.eDomain = OMX_PortDomainVideo;
135 def.bBuffersContiguous = OMX_FALSE;
136 def.nBufferAlignment = 2;
138 def.format.video.cMIMEType = const_cast<char *>("video/raw");
139 def.format.video.pNativeRender = NULL;
141 def.format.video.nBitrate = 0;
142 def.format.video.xFramerate = 0;
143 def.format.video.bFlagErrorConcealment = OMX_FALSE;
144 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
145 def.format.video.pNativeWindow = NULL;
147 addPort(def);
206 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef;
207 if (def->format.video.nStride != (OMX_S32)width
208 || def->format.video.nSliceHeight != (OMX_U32)height) {
247 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef;
248 def->format.video.nStride = mWidth;
249 def->format.video.nSliceHeight = mHeight;
495 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(newParams->nPortIndex)->mDef;
497 uint32_t oldWidth = def->format.video.nFrameWidth;
498 uint32_t oldHeight = def->format.video.nFrameHeight;
518 newParams->nBufferSize = def->nBufferSize;
523 def->format.video.nFrameWidth = newWidth;
524 def->format.video.nFrameHeight = newHeight;