Lines Matching refs:def

86     OMX_PARAM_PORTDEFINITIONTYPE def;
91 InitOMXParams(&def);
93 def.nPortIndex = kInputPortIndex;
94 def.eDir = OMX_DirInput;
95 def.nBufferCountMin = numInputBuffers;
96 def.nBufferCountActual = def.nBufferCountMin;
97 def.bEnabled = OMX_TRUE;
98 def.bPopulated = OMX_FALSE;
99 def.eDomain = OMX_PortDomainVideo;
100 def.bBuffersContiguous = OMX_FALSE;
101 def.format.video.pNativeRender = NULL;
102 def.format.video.nFrameWidth = mWidth;
103 def.format.video.nFrameHeight = mHeight;
104 def.format.video.nStride = def.format.video.nFrameWidth;
105 def.format.video.nSliceHeight = def.format.video.nFrameHeight;
106 def.format.video.nBitrate = 0;
108 def.format.video.xFramerate = mFramerate;
109 def.format.video.bFlagErrorConcealment = OMX_FALSE;
110 def.nBufferAlignment = kInputBufferAlignment;
111 def.format.video.cMIMEType = const_cast<char *>("video/raw");
112 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
113 def.format.video.eColorFormat = mColorFormat;
114 def.format.video.pNativeWindow = NULL;
117 addPort(def);
119 InitOMXParams(&def);
121 def.nPortIndex = kOutputPortIndex;
122 def.eDir = OMX_DirOutput;
123 def.nBufferCountMin = numOutputBuffers;
124 def.nBufferCountActual = def.nBufferCountMin;
125 def.bEnabled = OMX_TRUE;
126 def.bPopulated = OMX_FALSE;
127 def.eDomain = OMX_PortDomainVideo;
128 def.bBuffersContiguous = OMX_FALSE;
129 def.format.video.pNativeRender = NULL;
130 def.format.video.nFrameWidth = mWidth;
131 def.format.video.nFrameHeight = mHeight;
132 def.format.video.nStride = 0;
133 def.format.video.nSliceHeight = 0;
134 def.format.video.nBitrate = mBitrate;
135 def.format.video.xFramerate = 0 << 16;
136 def.format.video.bFlagErrorConcealment = OMX_FALSE;
137 def.nBufferAlignment = kOutputBufferAlignment;
138 def.format.video.cMIMEType = const_cast<char *>(mime);
139 def.format.video.eCompressionFormat = mCodingType;
140 def.format.video.eColorFormat = OMX_COLOR_FormatUnused;
141 def.format.video.pNativeWindow = NULL;
144 addPort(def);