Updated primitive function const correctness.

This commit is contained in:
Armin Novak 2019-11-22 12:32:45 +01:00 committed by akallabeth
parent e347c7b3de
commit 3aa6047b3a
1 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ typedef struct
static primitives_opencl_context* primitives_get_opencl_context(void);
static pstatus_t opencl_YUVToRGB(const char* kernelName, const BYTE* pSrc[3],
static pstatus_t opencl_YUVToRGB(const char* kernelName, const BYTE* const pSrc[3],
const UINT32 srcStep[3], BYTE* pDst, UINT32 dstStep,
const prim_size_t* roi)
{
@ -322,7 +322,7 @@ out_program_create:
return FALSE;
}
static pstatus_t opencl_YUV420ToRGB_8u_P3AC4R(const BYTE* pSrc[3], const UINT32 srcStep[3],
static pstatus_t opencl_YUV420ToRGB_8u_P3AC4R(const BYTE* const pSrc[3], const UINT32 srcStep[3],
BYTE* pDst, UINT32 dstStep, UINT32 DstFormat,
const prim_size_t* roi)
{
@ -350,7 +350,7 @@ static pstatus_t opencl_YUV420ToRGB_8u_P3AC4R(const BYTE* pSrc[3], const UINT32
return opencl_YUVToRGB(kernel_name, pSrc, srcStep, pDst, dstStep, roi);
}
static pstatus_t opencl_YUV444ToRGB_8u_P3AC4R(const BYTE* pSrc[3], const UINT32 srcStep[3],
static pstatus_t opencl_YUV444ToRGB_8u_P3AC4R(const BYTE* const pSrc[3], const UINT32 srcStep[3],
BYTE* pDst, UINT32 dstStep, UINT32 DstFormat,
const prim_size_t* roi)
{