1
0
mirror of https://github.com/libjpeg-turbo/libjpeg-turbo.git synced 2026-10-23 11:48:53 +03:00
Files
DRC e24717ba4f Clean up SIMD headers
Following up on ced602ad2f,

- Rename simd/jsimd.h to simd/jsimdint.h to avoid confusion and to be
  somewhat consistent with the header naming conventions of the libjpeg
  API library.

- Eliminate unnecessary #include directives in the SIMD modules.

- Move src/jsimd.h and src/jsimddct.h to simd/.  This makes the code
  easier to understand, since jsimd.h and jsimddct.h define the external
  interfaces for libsimd.  This also ensures that all SIMD-related code
  and zlib-licensed code lives in the same directory.

- In jsimd.h and jsimddct.h, remove references to libjpeg/SIMD
  and jsimdext.inc and replace them with the complete zlib License
  header.  jsimdext.inc only exists in the x86 SIMD extensions, and
  jsimd.h and jsimddct.h never contained any code derived from
  libjpeg/SIMD.

- Guard all inclusions of jsimd.h and jsimddct.h in the libjpeg API
  library source code with #ifdef WITH_SIMD.  This eliminates the need
  for those headers to have knowledge of the macros defined in
  jconfig*.h.

- Fix the generation of jsimdcfg.inc (broken by
  ced602ad2fbe3a37f8c0266dd2c4909a3f64a2b6.)
2025-09-25 17:44:59 -04:00
..
2025-09-25 17:44:59 -04:00