Home | History | Annotate | Download | only in videocodec

Lines Matching refs:paramPortDefinitionOutput

133     OMX_PARAM_PORTDEFINITIONTYPE paramPortDefinitionOutput;
135 memset(&paramPortDefinitionOutput, 0, sizeof(paramPortDefinitionOutput));
136 SetTypeHeader(&paramPortDefinitionOutput, sizeof(paramPortDefinitionOutput));
138 paramPortDefinitionOutput.nPortIndex = OUTPORT_INDEX;
139 paramPortDefinitionOutput.eDir = OMX_DirOutput;
140 paramPortDefinitionOutput.nBufferCountActual = OUTPORT_ACTUAL_BUFFER_COUNT;
141 paramPortDefinitionOutput.nBufferCountMin = OUTPORT_MIN_BUFFER_COUNT;
142 paramPortDefinitionOutput.nBufferSize = sizeof(VideoRenderBuffer);
144 paramPortDefinitionOutput.bEnabled = OMX_TRUE;
145 paramPortDefinitionOutput.bPopulated = OMX_FALSE;
146 paramPortDefinitionOutput.eDomain = OMX_PortDomainVideo;
147 paramPortDefinitionOutput.format.video.cMIMEType = (OMX_STRING)VA_RAW_MIME_TYPE;
148 paramPortDefinitionOutput.format.video.pNativeRender = NULL;
149 paramPortDefinitionOutput.format.video.nFrameWidth = 176;
150 paramPortDefinitionOutput.format.video.nFrameHeight = 144;
151 paramPortDefinitionOutput.format.video.nStride = 176;
152 paramPortDefinitionOutput.format.video.nSliceHeight = 144;
153 paramPortDefinitionOutput.format.video.nBitrate = 64000;
154 paramPortDefinitionOutput.format.video.xFramerate = 15 << 16;
155 paramPortDefinitionOutput.format.video.bFlagErrorConcealment = OMX_FALSE;
156 paramPortDefinitionOutput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
157 paramPortDefinitionOutput.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
158 paramPortDefinitionOutput.format.video.pNativeWindow = NULL;
159 paramPortDefinitionOutput.bBuffersContiguous = OMX_FALSE;
160 paramPortDefinitionOutput.nBufferAlignment = 0;
163 InitOutputPortFormatSpecific(&paramPortDefinitionOutput);
165 port->SetPortDefinition(&paramPortDefinitionOutput, true);
172 paramPortFormat.eCompressionFormat = paramPortDefinitionOutput.format.video.eCompressionFormat;
173 paramPortFormat.eColorFormat = paramPortDefinitionOutput.format.video.eColorFormat;
174 paramPortFormat.xFramerate = paramPortDefinitionOutput.format.video.xFramerate;
769 OMX_PARAM_PORTDEFINITIONTYPE paramPortDefinitionInput, paramPortDefinitionOutput;
775 memcpy(&paramPortDefinitionOutput,
777 sizeof(paramPortDefinitionOutput));
798 if (paramPortDefinitionOutput.nBufferCountActual - mVppBufferNum < formatInfo->actualBufferNeeded) {
800 if (paramPortDefinitionOutput.nBufferCountActual < formatInfo->actualBufferNeeded) {
802 paramPortDefinitionOutput.nBufferCountActual = mNativeBufferCount = formatInfo->actualBufferNeeded;
803 paramPortDefinitionOutput.nBufferCountMin = formatInfo->actualBufferNeeded - 4;
811 paramPortDefinitionOutput.format.video.nFrameWidth = width;
812 paramPortDefinitionOutput.format.video.nFrameHeight = height;
813 paramPortDefinitionOutput.format.video.eColorFormat = GetOutputColorFormat(paramPortDefinitionOutput.format.video.nFrameWidth);
814 paramPortDefinitionOutput.format.video.nStride = stride;
815 paramPortDefinitionOutput.format.video.nSliceHeight = sliceHeight;
817 paramPortDefinitionOutput.bEnabled = (OMX_BOOL)false;
823 this->ports[OUTPORT_INDEX]->SetPortDefinition(&paramPortDefinitionOutput, true);
837 if (paramPortDefinitionOutput.nBufferCountActual - mVppBufferNum < formatInfo->actualBufferNeeded) {
839 if (paramPortDefinitionOutput.nBufferCountActual < formatInfo->actualBufferNeeded) {
843 paramPortDefinitionOutput.nBufferCountActual,
845 paramPortDefinitionOutput.nBufferCountActual = mNativeBufferCount = formatInfo->actualBufferNeeded;
846 paramPortDefinitionOutput.nBufferCountMin = mNativeBufferCount;
861 widthCropped == paramPortDefinitionOutput.format.video.nFrameWidth &&
862 heightCropped == paramPortDefinitionOutput.format.video.nFrameHeight) {
875 paramPortDefinitionOutput.format.video.nFrameWidth = widthCropped;
876 paramPortDefinitionOutput.format.video.nFrameHeight = heightCropped;
877 paramPortDefinitionOutput.format.video.nStride = strideCropped;
878 paramPortDefinitionOutput.format.video.nSliceHeight = sliceHeightCropped;
891 paramPortDefinitionOutput.format.video.nFrameWidth = width;
892 paramPortDefinitionOutput.format.video.nFrameHeight = height;
893 paramPortDefinitionOutput.format.video.eColorFormat = GetOutputColorFormat(
894 paramPortDefinitionOutput.format.video.nFrameWidth);
895 paramPortDefinitionOutput.format.video.nStride = stride;
896 paramPortDefinitionOutput.format.video.nSliceHeight = sliceHeight;
900 paramPortDefinitionOutput.bEnabled = (OMX_BOOL)false;
905 this->ports[OUTPORT_INDEX]->SetPortDefinition(&paramPortDefinitionOutput, true);