2014-01-08 17:03:00 -08:00
|
|
|
#ifndef WELS_DEBLOCKING_COMMON_H__
|
|
|
|
#define WELS_DEBLOCKING_COMMON_H__
|
|
|
|
#include "typedefs.h"
|
2014-02-08 23:26:33 +02:00
|
|
|
void DeblockLumaLt4V_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4V_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-01-08 17:03:00 -08:00
|
|
|
|
2014-02-08 23:26:33 +02:00
|
|
|
void DeblockLumaLt4H_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4H_c (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-01-08 17:03:00 -08:00
|
|
|
|
2014-02-08 23:26:33 +02:00
|
|
|
void DeblockChromaLt4V_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
2014-05-05 19:30:21 -07:00
|
|
|
int8_t* pTc);
|
2014-02-08 23:26:33 +02:00
|
|
|
void DeblockChromaEq4V_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-01-08 17:03:00 -08:00
|
|
|
|
2014-02-08 23:26:33 +02:00
|
|
|
void DeblockChromaLt4H_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
2014-05-05 19:30:21 -07:00
|
|
|
int8_t* pTc);
|
2014-02-08 23:26:33 +02:00
|
|
|
void DeblockChromaEq4H_c (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-01-08 17:03:00 -08:00
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif//__cplusplus
|
|
|
|
|
|
|
|
#ifdef X86_ASM
|
2014-01-16 15:57:22 +08:00
|
|
|
void DeblockLumaLt4V_ssse3 (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4V_ssse3 (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-01-08 17:03:00 -08:00
|
|
|
void DeblockLumaTransposeH2V_sse2 (uint8_t* pPixY, int32_t iStride, uint8_t* pDst);
|
|
|
|
void DeblockLumaTransposeV2H_sse2 (uint8_t* pPixY, int32_t iStride, uint8_t* pSrc);
|
2014-01-16 15:57:22 +08:00
|
|
|
void DeblockLumaLt4H_ssse3 (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4H_ssse3 (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
void DeblockChromaEq4V_ssse3 (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
void DeblockChromaLt4V_ssse3 (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
2014-05-05 19:30:21 -07:00
|
|
|
int8_t* pTC);
|
2014-01-16 15:57:22 +08:00
|
|
|
void DeblockChromaEq4H_ssse3 (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
void DeblockChromaLt4H_ssse3 (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
2014-05-05 19:30:21 -07:00
|
|
|
int8_t* pTC);
|
2014-01-08 17:03:00 -08:00
|
|
|
#endif
|
2014-02-28 13:36:34 +08:00
|
|
|
|
|
|
|
#if defined(HAVE_NEON)
|
2014-05-05 19:30:21 -07:00
|
|
|
void DeblockLumaLt4V_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4V_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-03-03 15:42:01 +08:00
|
|
|
|
2014-05-05 19:30:21 -07:00
|
|
|
void DeblockLumaLt4H_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4H_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-03-03 15:42:01 +08:00
|
|
|
|
2014-05-05 19:30:21 -07:00
|
|
|
void DeblockChromaLt4V_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
|
|
|
int8_t* pTC);
|
|
|
|
void DeblockChromaEq4V_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-03-03 15:42:01 +08:00
|
|
|
|
2014-05-05 19:30:21 -07:00
|
|
|
void DeblockChromaLt4H_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
|
|
|
int8_t* pTC);
|
|
|
|
void DeblockChromaEq4H_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
2014-02-28 13:36:34 +08:00
|
|
|
#endif
|
|
|
|
|
2014-06-04 11:04:25 +08:00
|
|
|
#if defined(HAVE_NEON_AARCH64)
|
|
|
|
void DeblockLumaLt4V_AArch64_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4V_AArch64_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
void DeblockLumaLt4H_AArch64_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta, int8_t* pTc);
|
|
|
|
void DeblockLumaEq4H_AArch64_neon (uint8_t* pPixY, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
void DeblockChromaLt4V_AArch64_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
2014-06-25 18:50:41 -07:00
|
|
|
int8_t* pTC);
|
2014-06-04 11:04:25 +08:00
|
|
|
void DeblockChromaEq4V_AArch64_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
void DeblockChromaLt4H_AArch64_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta,
|
2014-06-25 18:50:41 -07:00
|
|
|
int8_t* pTC);
|
2014-06-04 11:04:25 +08:00
|
|
|
void DeblockChromaEq4H_AArch64_neon (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride, int32_t iAlpha, int32_t iBeta);
|
|
|
|
#endif
|
2014-01-08 17:03:00 -08:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif//__cplusplus
|
2014-02-28 13:36:34 +08:00
|
|
|
|
2014-01-08 17:03:00 -08:00
|
|
|
#endif //WELS_DEBLOCKING_COMMON_H__
|