FreeRDP
Loading...
Searching...
No Matches
nsc_neon.h
1
20#ifndef FREERDP_LIB_CODEC_NSC_NEON_H
21#define FREERDP_LIB_CODEC_NSC_NEON_H
22
23#include <winpr/sysinfo.h>
24
25#include <freerdp/codec/nsc.h>
26#include <freerdp/api.h>
27
28FREERDP_LOCAL void nsc_init_neon_int(NSC_CONTEXT* WINPR_RESTRICT context);
29static inline void nsc_init_neon(NSC_CONTEXT* WINPR_RESTRICT context)
30{
31 if (!IsProcessorFeaturePresent(PF_ARM_NEON_INSTRUCTIONS_AVAILABLE))
32 return;
33
34 nsc_init_neon_int(context);
35}
36
37#endif /* FREERDP_LIB_CODEC_NSC_NEON_H */