X-Git-Url: https://git.piment-noir.org/?p=deb_x265.git;a=blobdiff_plain;f=source%2Fcommon%2Fx86%2Fdct8.h;h=f9516d6cb7519a123b8fc2bf6c7c11e380f570b2;hp=3b74f2a36bd040ba1fe213dd65fa19b811e1234d;hb=b53f7c52d8280ab63876efd6eb292c21430ac607;hpb=5c9b45285dd64723ad1dac380b98a7b1f3095674 diff --git a/source/common/x86/dct8.h b/source/common/x86/dct8.h index 3b74f2a..f9516d6 100644 --- a/source/common/x86/dct8.h +++ b/source/common/x86/dct8.h @@ -23,23 +23,24 @@ #ifndef X265_DCT8_H #define X265_DCT8_H -void x265_dct4_sse2(int16_t *src, int32_t *dst, intptr_t stride); -void x265_dst4_ssse3(int16_t *src, int32_t *dst, intptr_t stride); -void x265_dct8_sse4(int16_t *src, int32_t *dst, intptr_t stride); -void x265_dct4_avx2(int16_t *src, int32_t *dst, intptr_t stride); -void x265_dct8_avx2(int16_t *src, int32_t *dst, intptr_t stride); -void x265_dct16_avx2(int16_t *src, int32_t *dst, intptr_t stride); -void x265_dct32_avx2(int16_t *src, int32_t *dst, intptr_t stride); -void x265_idct32_avx2(int32_t *src, int16_t *dst, intptr_t stride); +void x265_dct4_sse2(const int16_t* src, int16_t* dst, intptr_t srcStride); +void x265_dst4_ssse3(const int16_t* src, int16_t* dst, intptr_t srcStride); +void x265_dct8_sse4(const int16_t* src, int16_t* dst, intptr_t srcStride); +void x265_dct4_avx2(const int16_t* src, int16_t* dst, intptr_t srcStride); +void x265_dct8_avx2(const int16_t* src, int16_t* dst, intptr_t srcStride); +void x265_dct16_avx2(const int16_t* src, int16_t* dst, intptr_t srcStride); +void x265_dct32_avx2(const int16_t* src, int16_t* dst, intptr_t srcStride); -void x265_idst4_sse2(int32_t *src, int16_t *dst, intptr_t stride); -void x265_idct4_sse2(int32_t *src, int16_t *dst, intptr_t stride); -void x265_idct4_avx2(int32_t *src, int16_t *dst, intptr_t stride); -void x265_idct8_ssse3(int32_t *src, int16_t *dst, intptr_t stride); -void x265_idct8_avx2(int32_t *src, int16_t *dst, intptr_t stride); -void x265_idct16_avx2(int32_t *src, int16_t *dst, intptr_t stride); +void x265_idst4_sse2(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct4_sse2(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct4_avx2(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct8_sse2(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct8_ssse3(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct8_avx2(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct16_avx2(const int16_t* src, int16_t* dst, intptr_t dstStride); +void x265_idct32_avx2(const int16_t* src, int16_t* dst, intptr_t dstStride); -void x265_denoise_dct_sse4(int32_t *dct, uint32_t *sum, uint16_t *offset, int size); -void x265_denoise_dct_avx2(int32_t *dct, uint32_t *sum, uint16_t *offset, int size); +void x265_denoise_dct_sse4(int16_t* dct, uint32_t* sum, const uint16_t* offset, int size); +void x265_denoise_dct_avx2(int16_t* dct, uint32_t* sum, const uint16_t* offset, int size); #endif // ifndef X265_DCT8_H