exynos_omx: multi_thread: remove OMXComponentCapabilityFlagsType.
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Mon, 2 Jul 2012 08:17:35 +0000 (17:17 +0900)
committerDima Zavin <dima@android.com>
Tue, 24 Jul 2012 22:12:40 +0000 (15:12 -0700)
OMXComponentCapabilityFlagsType is code for opencore.
It don't need no more.

Change-Id: If85121b276147cd11abd44341044d380025df77c
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.c
exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.h
exynos_omx/openmax/exynos_omx/component/video/dec/h264/Exynos_OMX_H264dec.c
exynos_omx/openmax/exynos_omx/component/video/dec/mpeg4/Exynos_OMX_Mpeg4dec.c
exynos_omx/openmax/exynos_omx/component/video/dec/vp8/Exynos_OMX_Vp8dec.c
exynos_omx/openmax/exynos_omx/component/video/enc/h264/Exynos_OMX_H264enc.c
exynos_omx/openmax/exynos_omx/component/video/enc/mpeg4/Exynos_OMX_Mpeg4enc.c
exynos_omx/openmax/exynos_omx/include/exynos/Exynos_OMX_Def.h

index 8912607c884b1a10e47a51557d86b1ed6641cfca..e5694a44fb3e216c4c5b2badb727e5d8ee72e2fa 100644 (file)
@@ -951,13 +951,6 @@ OMX_ERRORTYPE Exynos_OMX_GetParameter(
     }
 
     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:
index f080a0ceb0df6342ee8c4f0b3b01efa6c9dc53d2..1b2abde02cb0107c8f991d6dbcb67088995232df 100644 (file)
@@ -92,9 +92,6 @@ typedef struct _EXYNOS_OMX_BASECOMPONENT
     OMX_BOOL                    getAllDelayBuffer;
     OMX_BOOL                    reInputData;
 
-    /* Android CapabilityFlags */
-    OMXComponentCapabilityFlagsType capabilityFlags;
-
     OMX_BOOL bUseFlagEOF;
     OMX_BOOL bSaveFlagEOS;
 
index afc9e9d32231acbfe2b5dfd0338e8d5323304e21..6786b2c0fedca98d017fbb56533f7e80f007a55b 100644 (file)
@@ -2134,16 +2134,6 @@ OSCL_EXPORT_REF OMX_ERRORTYPE Exynos_OMX_ComponentInit(OMX_HANDLETYPE hComponent
     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;
index 7d3fb32d6fa89a6f66bf5f820b97ff84389275bf..b4b8743dce2871fe9f5dc673c3a877be877fff5c 100644 (file)
@@ -2305,16 +2305,6 @@ OSCL_EXPORT_REF OMX_ERRORTYPE Exynos_OMX_ComponentInit(OMX_HANDLETYPE hComponent
     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;
index 3f89314907f4e73f1fd9f71ce1166aba29c91bcc..05ee737ee5327132fe489fa1219bd01b09364cc6 100644 (file)
@@ -1898,16 +1898,6 @@ OSCL_EXPORT_REF OMX_ERRORTYPE Exynos_OMX_ComponentInit(
     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;
index 62f26792371da2c47d1ade377a5f44011616d5ca..b5d1fd66d5ecc4b15fa6cf1240ebdd28d06a4d38 100644 (file)
@@ -2228,16 +2228,6 @@ OSCL_EXPORT_REF OMX_ERRORTYPE Exynos_OMX_ComponentInit(OMX_HANDLETYPE hComponent
     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;
index 53f91d611e6481c5528497aca4bf5fcf1366010e..c6210bcdf99bfa20a6672a09cbf36997b163b5ad 100644 (file)
@@ -2426,16 +2426,6 @@ OSCL_EXPORT_REF OMX_ERRORTYPE Exynos_OMX_ComponentInit(
     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;
index afcdc5f0bc77b4d45a38b529c7f6519147e4a4d6..94461ef5dbc9dc4931b119c6e9e82907193dd533 100644 (file)
@@ -152,20 +152,6 @@ typedef enum _EXYNOS_OMX_BUFFERPROCESS_TYPE
     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;