ref: 325dd1ce32a59db6bd3f29c8b2003a6015c576c8
parent: fcd7a13816a7141236e1f66d7dfaa8f44c45d78a
author: Martin Storsjö <martin@martin.st>
date: Fri Jan 24 09:02:43 EST 2014
Make a function typedef actually use the right type All functions that are assigned to function pointers with this typedef (WelsHadamardQuant2x2Skip_c and WelsHadamardQuant2x2Skip_mmx) use int32_t instead of BOOL_T for the return value.
--- a/codec/encoder/core/inc/wels_func_ptr_def.h
+++ b/codec/encoder/core/inc/wels_func_ptr_def.h
@@ -64,7 +64,7 @@
typedef void (*PQuantizationFunc) (int16_t* pDct, const int16_t* pFF, const int16_t* pMF);
typedef void (*PQuantizationMaxFunc) (int16_t* pDct, const int16_t* pFF, const int16_t* pMF, int16_t* pMax);
typedef void (*PQuantizationDcFunc) (int16_t* pDct, int16_t iFF, int16_t iMF);
-typedef BOOL_T (*PQuantizationSkipFunc) (int16_t* pDct, int16_t iFF, int16_t iMF);
+typedef int32_t (*PQuantizationSkipFunc) (int16_t* pDct, int16_t iFF, int16_t iMF);
typedef int32_t (*PQuantizationHadamardFunc) (int16_t* pRes, const int16_t kiFF, int16_t iMF, int16_t* pDct,
int16_t* pBlock);