[ci,nightly] use internal MD4, MD5 and RC4 on windows

This commit is contained in:
Armin Novak 2023-07-28 07:22:20 +02:00 committed by akallabeth
parent 6c6eaf5144
commit 1e0ca536c7
3 changed files with 7 additions and 4 deletions

View File

@ -157,9 +157,9 @@ static INLINE BOOL diff_tile(const RECTANGLE_16* regionRect, BYTE* pYUVData[3],
size = regionRect->right - regionRect->left; size = regionRect->right - regionRect->left;
if (regionRect->right > iStride[0]) if (regionRect->right > iStride[0])
return FALSE; return FALSE;
if (regionRect->right / 2 > iStride[1]) if (regionRect->right / 2u > iStride[1])
return FALSE; return FALSE;
if (regionRect->right / 2 > iStride[2]) if (regionRect->right / 2u > iStride[2])
return FALSE; return FALSE;
for (y = regionRect->top; y < regionRect->bottom; y++) for (y = regionRect->top; y < regionRect->bottom; y++)

View File

@ -600,12 +600,12 @@ static INLINE BYTE RGB2Y(BYTE R, BYTE G, BYTE B)
static INLINE BYTE RGB2U(BYTE R, BYTE G, BYTE B) static INLINE BYTE RGB2U(BYTE R, BYTE G, BYTE B)
{ {
return ((-29u * R - 99u * G + 128u * B) >> 8u) + 128u; return ((-29 * R - 99 * G + 128 * B) >> 8) + 128;
} }
static INLINE BYTE RGB2V(INT32 R, INT32 G, INT32 B) static INLINE BYTE RGB2V(INT32 R, INT32 G, INT32 B)
{ {
return ((128lu * R - 116lu * G - 12lu * B) >> 8lu) + 128lu; return ((128 * R - 116 * G - 12 * B) >> 8) + 128;
} }
static pstatus_t general_RGBToYUV444_8u_P3AC4R(const BYTE* pSrc, UINT32 SrcFormat, static pstatus_t general_RGBToYUV444_8u_P3AC4R(const BYTE* pSrc, UINT32 SrcFormat,

View File

@ -10,3 +10,6 @@ set (WITH_SERVER ON CACHE BOOL "Build with server support")
set (WITH_SHADOW OFF CACHE BOOL "Do not build shadow server") set (WITH_SHADOW OFF CACHE BOOL "Do not build shadow server")
set (WITH_PROXY ON CACHE BOOL "Build proxy server") set (WITH_PROXY ON CACHE BOOL "Build proxy server")
set (WITH_PLATFORM_SERVER OFF CACHE BOOL "Do not build platform server") set (WITH_PLATFORM_SERVER OFF CACHE BOOL "Do not build platform server")
set (WITH_INTERNAL_MD4 ON CACHE BOOL "nightly default")
set (WITH_INTERNAL_MD5 ON CACHE BOOL "nightly default")
set (WITH_INTERNAL_RC4 ON CACHE BOOL "nightly default")