ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
sse2.h
Go to the documentation of this file.
1#pragma once
2
17#if SIMD_SUPPORT_SSE2
18#if (!defined(__SSE2__) && !defined(_M_X64) && !(defined(_M_IX86_FP) && _M_IX86_FP >= 2))
19#error "SSE2 support required"
20#endif
21#ifdef _WIN32
22// Windows: Use immintrin.h with proper feature detection
23// MSVC defines _M_X64 for x64 (which always has SSE2) or _M_IX86_FP >= 2 for x86 with SSE2
24#include <immintrin.h>
25#else
26#include <emmintrin.h>
27#endif
28
37char *render_ascii_image_monochrome_sse2(const image_t *image, const char *ascii_chars);
38
49char *render_ascii_sse2_unified_optimized(const image_t *image, bool use_background, bool use_256color,
50 const char *ascii_chars);
51
57void sse2_caches_destroy(void);
58
59// Legacy row-based functions removed - use image-based API above
60
61#endif /* SIMD_SUPPORT_SSE2 */
62
Image structure.