From 96f1cf6fc282479c7ef7c56614ebf31d6f97e173 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Jan 2015 17:27:23 +0100 Subject: [PATCH] video-enc: Add missing prototypes. Missing prototypes can lead to segfaults. Change-Id: Ibe4a8d8b2f811ee30b42c0da7fede2f3fcae9a76 Signed-off-by: Andreas Schneider (cherry picked from commit fca30d0804d4a6f68d88065ed238861740f52670) --- component/video/enc/Exynos_OMX_VencControl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 } -- 2.20.1