Home | History | Annotate | Download | only in videocodec

Lines Matching defs:paramPortDefinitionInput

64     OMX_PARAM_PORTDEFINITIONTYPE paramPortDefinitionInput;
65 memset(&paramPortDefinitionInput, 0, sizeof(paramPortDefinitionInput));
66 SetTypeHeader(&paramPortDefinitionInput, sizeof(paramPortDefinitionInput));
67 paramPortDefinitionInput.nPortIndex = INPORT_INDEX;
68 paramPortDefinitionInput.eDir = OMX_DirInput;
69 paramPortDefinitionInput.nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT;
70 paramPortDefinitionInput.nBufferCountMin = INPORT_MIN_BUFFER_COUNT;
71 paramPortDefinitionInput.nBufferSize = INPORT_BUFFER_SIZE;
72 paramPortDefinitionInput.bEnabled = OMX_TRUE;
73 paramPortDefinitionInput.bPopulated = OMX_FALSE;
74 paramPortDefinitionInput.eDomain = OMX_PortDomainVideo;
75 paramPortDefinitionInput.format.video.cMIMEType = NULL; // to be overridden
76 paramPortDefinitionInput.format.video.pNativeRender = NULL;
77 paramPortDefinitionInput.format.video.nFrameWidth = 176;
78 paramPortDefinitionInput.format.video.nFrameHeight = 144;
79 paramPortDefinitionInput.format.video.nStride = 0;
80 paramPortDefinitionInput.format.video.nSliceHeight = 0;
81 paramPortDefinitionInput.format.video.nBitrate = 64000;
82 paramPortDefinitionInput.format.video.xFramerate = 15 << 16;
84 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE;
85 paramPortDefinitionInput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; // to be overridden
86 paramPortDefinitionInput.format.video.eColorFormat = OMX_COLOR_FormatUnused;
87 paramPortDefinitionInput.format.video.pNativeWindow = NULL;
88 paramPortDefinitionInput.bBuffersContiguous = OMX_FALSE;
89 paramPortDefinitionInput.nBufferAlignment = 0;
93 InitInputPortFormatSpecific(&paramPortDefinitionInput);
95 port->SetPortDefinition(&paramPortDefinitionInput, true);
103 paramPortFormat.eCompressionFormat = paramPortDefinitionInput.format.video.eCompressionFormat;
104 paramPortFormat.eColorFormat = paramPortDefinitionInput.format.video.eColorFormat;
105 paramPortFormat.xFramerate = paramPortDefinitionInput.format.video.xFramerate;
437 const OMX_PARAM_PORTDEFINITIONTYPE *paramPortDefinitionInput = this->ports[INPORT_INDEX]->GetPortDefinition();
438 if (paramPortDefinitionInput == NULL) {
480 p->width = paramPortDefinitionInput->format.video.nFrameWidth;
481 p->height = paramPortDefinitionInput->format.video.nFrameHeight;
614 OMX_PARAM_PORTDEFINITIONTYPE paramPortDefinitionInput, paramPortDefinitionOutput;
616 memcpy(&paramPortDefinitionInput,
618 sizeof(paramPortDefinitionInput));
652 paramPortDefinitionInput.format.video.nFrameWidth,
653 paramPortDefinitionInput.format.video.nFrameHeight,
665 paramPortDefinitionInput.format.video.nFrameWidth = width;
666 paramPortDefinitionInput.format.video.nFrameHeight = height;
667 paramPortDefinitionInput.format.video.nStride = stride;
668 paramPortDefinitionInput.format.video.nSliceHeight = sliceHeight;
679 this->ports[INPORT_INDEX]->SetPortDefinition(&paramPortDefinitionInput, true);
700 this->ports[INPORT_INDEX]->SetPortDefinition(&paramPortDefinitionInput, true);