OMXComponentCapabilityFlagsType is code for opencore.
It don't need no more.
Change-Id: If85121b276147cd11abd44341044d380025df77c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
}
switch (nParamIndex) {
- case (OMX_INDEXTYPE)OMX_COMPONENT_CAPABILITY_TYPE_INDEX:
- {
- /* For Android PV OpenCORE */
- OMXComponentCapabilityFlagsType *capabilityFlags = (OMXComponentCapabilityFlagsType *)ComponentParameterStructure;
- Exynos_OSAL_Memcpy(capabilityFlags, &pExynosComponent->capabilityFlags, sizeof(OMXComponentCapabilityFlagsType));
- }
- break;
case OMX_IndexParamAudioInit:
case OMX_IndexParamVideoInit:
case OMX_IndexParamImageInit:
OMX_BOOL getAllDelayBuffer;
OMX_BOOL reInputData;
- /* Android CapabilityFlags */
- OMXComponentCapabilityFlagsType capabilityFlags;
-
OMX_BOOL bUseFlagEOF;
OMX_BOOL bSaveFlagEOS;
pExynosComponent->specVersion.s.nRevision = REVISION_NUMBER;
pExynosComponent->specVersion.s.nStep = STEP_NUMBER;
- /* Android CapabilityFlags */
- pExynosComponent->capabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsPartialFrames = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesNALStartCodes = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentCanHandleIncompleteFrames = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesFullAVCFrames = OMX_TRUE;
-
/* Input port */
pExynosPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
pExynosPort->portDefinition.format.video.nFrameWidth = DEFAULT_FRAME_WIDTH;
pExynosComponent->specVersion.s.nRevision = REVISION_NUMBER;
pExynosComponent->specVersion.s.nStep = STEP_NUMBER;
- /* Android CapabilityFlags */
- pExynosComponent->capabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsPartialFrames = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesNALStartCodes = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentCanHandleIncompleteFrames = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesFullAVCFrames = OMX_TRUE;
-
/* Input port */
pExynosPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
pExynosPort->portDefinition.format.video.nFrameWidth = DEFAULT_FRAME_WIDTH;
pExynosComponent->specVersion.s.nRevision = REVISION_NUMBER;
pExynosComponent->specVersion.s.nStep = STEP_NUMBER;
- /* Android CapabilityFlags */
- pExynosComponent->capabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsPartialFrames = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesNALStartCodes = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentCanHandleIncompleteFrames = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesFullAVCFrames = OMX_TRUE;
-
/* Input port */
pExynosPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
pExynosPort->portDefinition.format.video.nFrameWidth = DEFAULT_FRAME_WIDTH;
pExynosComponent->specVersion.s.nRevision = REVISION_NUMBER;
pExynosComponent->specVersion.s.nStep = STEP_NUMBER;
- /* Android CapabilityFlags */
- pExynosComponent->capabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsPartialFrames = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesNALStartCodes = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentCanHandleIncompleteFrames = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesFullAVCFrames = OMX_TRUE;
-
/* Input port */
pExynosPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
pExynosPort->portDefinition.format.video.nFrameWidth = DEFAULT_FRAME_WIDTH;
pExynosComponent->specVersion.s.nRevision = REVISION_NUMBER;
pExynosComponent->specVersion.s.nStep = STEP_NUMBER;
- /* Android CapabilityFlags */
- pExynosComponent->capabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentSupportsPartialFrames = OMX_FALSE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesNALStartCodes = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentCanHandleIncompleteFrames = OMX_TRUE;
- pExynosComponent->capabilityFlags.iOMXComponentUsesFullAVCFrames = OMX_TRUE;
-
/* Input port */
pExynosPort = &pExynosComponent->pExynosPort[INPUT_PORT_INDEX];
pExynosPort->portDefinition.format.video.nFrameWidth = DEFAULT_FRAME_WIDTH;
BUFFER_ANBSHARE = 0x08
} EXYNOS_OMX_BUFFERPROCESS_TYPE;
-/* for Android PV OpenCore*/
-typedef struct _OMXComponentCapabilityFlagsType
-{
- /* OMX COMPONENT CAPABILITY RELATED MEMBERS */
- OMX_BOOL iIsOMXComponentMultiThreaded;
- OMX_BOOL iOMXComponentSupportsExternalOutputBufferAlloc;
- OMX_BOOL iOMXComponentSupportsExternalInputBufferAlloc;
- OMX_BOOL iOMXComponentSupportsMovableInputBuffers;
- OMX_BOOL iOMXComponentSupportsPartialFrames;
- OMX_BOOL iOMXComponentUsesNALStartCodes;
- OMX_BOOL iOMXComponentCanHandleIncompleteFrames;
- OMX_BOOL iOMXComponentUsesFullAVCFrames;
-} OMXComponentCapabilityFlagsType;
-
typedef struct _EXYNOS_OMX_VIDEO_PROFILELEVEL
{
OMX_S32 profile;