20#ifndef FREERDP_LIB_CODEC_NSC_SSE2_H
21#define FREERDP_LIB_CODEC_NSC_SSE2_H
23#include <winpr/sysinfo.h>
25#include <freerdp/codec/nsc.h>
26#include <freerdp/api.h>
28FREERDP_LOCAL
void nsc_init_sse2_int(NSC_CONTEXT* WINPR_RESTRICT context);
29static inline void nsc_init_sse2(NSC_CONTEXT* WINPR_RESTRICT context)
31 if (!IsProcessorFeaturePresent(PF_SSE2_INSTRUCTIONS_AVAILABLE) ||
32 !IsProcessorFeaturePresent(PF_SSE3_INSTRUCTIONS_AVAILABLE))
35 nsc_init_sse2_int(context);