20#ifndef FREERDP_LIB_CODEC_RFX_SSE2_H
21#define FREERDP_LIB_CODEC_RFX_SSE2_H
23#include <winpr/sysinfo.h>
25#include <freerdp/codec/rfx.h>
26#include <freerdp/api.h>
28FREERDP_LOCAL
void rfx_init_sse2_int(RFX_CONTEXT* WINPR_RESTRICT context);
30static inline void rfx_init_sse2(RFX_CONTEXT* WINPR_RESTRICT context)
32 if (!IsProcessorFeaturePresent(PF_SSE2_INSTRUCTIONS_AVAILABLE) ||
33 !IsProcessorFeaturePresent(PF_SSE3_INSTRUCTIONS_AVAILABLE))
36 rfx_init_sse2_int(context);