From: Andreas Schneider Date: Tue, 6 Jan 2015 16:27:23 +0000 (+0100) Subject: video-enc: Add missing prototypes. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96f1cf6fc282479c7ef7c56614ebf31d6f97e173;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_openmax.git video-enc: Add missing prototypes. Missing prototypes can lead to segfaults. Change-Id: Ibe4a8d8b2f811ee30b42c0da7fede2f3fcae9a76 Signed-off-by: Andreas Schneider (cherry picked from commit fca30d0804d4a6f68d88065ed238861740f52670) --- diff --git a/component/video/enc/Exynos_OMX_VencControl.h b/component/video/enc/Exynos_OMX_VencControl.h index c500704..174a18e 100644 --- a/component/video/enc/Exynos_OMX_VencControl.h +++ b/component/video/enc/Exynos_OMX_VencControl.h @@ -92,6 +92,16 @@ OMX_ERRORTYPE Exynos_OutputBufferReturn(OMX_COMPONENTTYPE *pOMXComponent, EXYNOS OMX_ERRORTYPE Exynos_OMX_BufferFlush(OMX_COMPONENTTYPE *pOMXComponent, OMX_S32 nPortIndex, OMX_BOOL bEvent); OMX_ERRORTYPE Exynos_Shared_DataToBuffer(EXYNOS_OMX_DATA *pData, EXYNOS_OMX_DATABUFFER *pUseBuffer, OMX_BOOL bNeedUnlock); OMX_BUFFERHEADERTYPE *Exynos_OutputBufferGetQueue_Direct(EXYNOS_OMX_BASECOMPONENT *pExynosComponent); +OMX_ERRORTYPE Exynos_CodecBufferEnqueue( + EXYNOS_OMX_BASECOMPONENT *pExynosComponent, + OMX_U32 nPortIndex, + OMX_PTR pData); +OMX_ERRORTYPE Exynos_CodecBufferDequeue( + EXYNOS_OMX_BASECOMPONENT *pExynosComponent, + OMX_U32 nPortIndex, + OMX_PTR *pData); +OMX_ERRORTYPE Exynos_InputBufferGetQueue( + EXYNOS_OMX_BASECOMPONENT *pExynosComponent); #ifdef __cplusplus }