123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- # Generated by devtools/yamaker from nixpkgs 22.05.
- LIBRARY()
- LICENSE(
- BSD-3-Clause AND
- Beerware AND
- IJG AND
- Libpbm AND
- Public-Domain AND
- Zlib
- )
- LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
- VERSION(2.1.4)
- ORIGINAL_SOURCE(https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.4.tar.gz)
- ADDINCL(
- contrib/libs/libjpeg-turbo
- FOR
- asm
- contrib/libs/libjpeg-turbo/simd/nasm
- )
- IF (OS_DARWIN OR OS_IOS)
- SET(ASM_PREFIX '_')
- ENDIF()
- NO_COMPILER_WARNINGS()
- NO_RUNTIME()
- CFLAGS(
- -DBMP_SUPPORTED
- -DPPM_SUPPORTED
- )
- IF (SANITIZER_TYPE)
- CFLAGS(
- -DWITH_SANITIZER
- )
- ENDIF()
- IF (OS_ANDROID)
- SRCS(
- jsimd_none.c
- )
- ELSEIF (ARCH_I386)
- SRCS(
- simd/i386/jccolor-avx2.asm
- simd/i386/jccolor-mmx.asm
- simd/i386/jccolor-sse2.asm
- simd/i386/jcgray-avx2.asm
- simd/i386/jcgray-mmx.asm
- simd/i386/jcgray-sse2.asm
- simd/i386/jchuff-sse2.asm
- simd/i386/jcphuff-sse2.asm
- simd/i386/jcsample-avx2.asm
- simd/i386/jcsample-mmx.asm
- simd/i386/jcsample-sse2.asm
- simd/i386/jdcolor-avx2.asm
- simd/i386/jdcolor-mmx.asm
- simd/i386/jdcolor-sse2.asm
- simd/i386/jdmerge-avx2.asm
- simd/i386/jdmerge-mmx.asm
- simd/i386/jdmerge-sse2.asm
- simd/i386/jdsample-avx2.asm
- simd/i386/jdsample-mmx.asm
- simd/i386/jdsample-sse2.asm
- simd/i386/jfdctflt-3dn.asm
- simd/i386/jfdctflt-sse.asm
- simd/i386/jfdctfst-mmx.asm
- simd/i386/jfdctfst-sse2.asm
- simd/i386/jfdctint-avx2.asm
- simd/i386/jfdctint-mmx.asm
- simd/i386/jfdctint-sse2.asm
- simd/i386/jidctflt-3dn.asm
- simd/i386/jidctflt-sse.asm
- simd/i386/jidctflt-sse2.asm
- simd/i386/jidctfst-mmx.asm
- simd/i386/jidctfst-sse2.asm
- simd/i386/jidctint-avx2.asm
- simd/i386/jidctint-mmx.asm
- simd/i386/jidctint-sse2.asm
- simd/i386/jidctred-mmx.asm
- simd/i386/jidctred-sse2.asm
- simd/i386/jquant-3dn.asm
- simd/i386/jquant-mmx.asm
- simd/i386/jquant-sse.asm
- simd/i386/jquantf-sse2.asm
- simd/i386/jquanti-avx2.asm
- simd/i386/jquanti-sse2.asm
- simd/i386/jsimd.c
- simd/i386/jsimdcpu.asm
- )
- ELSEIF (ARCH_X86_64)
- SRCS(
- simd/x86_64/jccolor-avx2.asm
- simd/x86_64/jccolor-sse2.asm
- simd/x86_64/jcgray-avx2.asm
- simd/x86_64/jcgray-sse2.asm
- simd/x86_64/jchuff-sse2.asm
- simd/x86_64/jcphuff-sse2.asm
- simd/x86_64/jcsample-avx2.asm
- simd/x86_64/jcsample-sse2.asm
- simd/x86_64/jdcolor-avx2.asm
- simd/x86_64/jdcolor-sse2.asm
- simd/x86_64/jdmerge-avx2.asm
- simd/x86_64/jdmerge-sse2.asm
- simd/x86_64/jdsample-avx2.asm
- simd/x86_64/jdsample-sse2.asm
- simd/x86_64/jfdctflt-sse.asm
- simd/x86_64/jfdctfst-sse2.asm
- simd/x86_64/jfdctint-avx2.asm
- simd/x86_64/jfdctint-sse2.asm
- simd/x86_64/jidctflt-sse2.asm
- simd/x86_64/jidctfst-sse2.asm
- simd/x86_64/jidctint-avx2.asm
- simd/x86_64/jidctint-sse2.asm
- simd/x86_64/jidctred-sse2.asm
- simd/x86_64/jquantf-sse2.asm
- simd/x86_64/jquanti-avx2.asm
- simd/x86_64/jquanti-sse2.asm
- simd/x86_64/jsimd.c
- simd/x86_64/jsimdcpu.asm
- )
- ELSEIF (ARCH_ARM7_NEON AND NOT MSVC)
- ADDINCL(
- contrib/libs/libjpeg-turbo/simd/arm
- )
- SRCS(
- simd/arm/aarch32/jchuff-neon.c
- simd/arm/aarch32/jsimd.c
- simd/arm/aarch32/jsimd_neon.S
- simd/arm/jccolor-neon.c
- simd/arm/jcgray-neon.c
- simd/arm/jcphuff-neon.c
- simd/arm/jcsample-neon.c
- simd/arm/jdcolor-neon.c
- simd/arm/jdmerge-neon.c
- simd/arm/jdsample-neon.c
- simd/arm/jfdctfst-neon.c
- simd/arm/jfdctint-neon.c
- simd/arm/jidctfst-neon.c
- simd/arm/jidctint-neon.c
- simd/arm/jidctred-neon.c
- simd/arm/jquanti-neon.c
- )
- ELSEIF (ARCH_ARM7 AND NOT MSVC)
- SRCS(
- simd/arm/aarch32/jchuff-neon.c
- simd/arm/aarch32/jsimd.c
- simd/arm/aarch32/jsimd_neon.S
- )
- ELSEIF (ARCH_ARM64 AND NOT MSVC)
- ADDINCL(
- contrib/libs/libjpeg-turbo/simd/arm
- )
- SRCS(
- simd/arm/aarch64/jchuff-neon.c
- simd/arm/aarch64/jsimd.c
- simd/arm/jccolor-neon.c
- simd/arm/jcgray-neon.c
- simd/arm/jcphuff-neon.c
- simd/arm/jcsample-neon.c
- simd/arm/jdcolor-neon.c
- simd/arm/jdmerge-neon.c
- simd/arm/jdsample-neon.c
- simd/arm/jfdctfst-neon.c
- simd/arm/jfdctint-neon.c
- simd/arm/jidctfst-neon.c
- simd/arm/jidctint-neon.c
- simd/arm/jidctred-neon.c
- simd/arm/jquanti-neon.c
- )
- ELSE()
- SRCS(
- jsimd_none.c
- )
- ENDIF()
- SRCS(
- jaricom.c
- jcapimin.c
- jcapistd.c
- jcarith.c
- jccoefct.c
- jccolor.c
- jcdctmgr.c
- jchuff.c
- jcicc.c
- jcinit.c
- jcmainct.c
- jcmarker.c
- jcmaster.c
- jcomapi.c
- jcparam.c
- jcphuff.c
- jcprepct.c
- jcsample.c
- jctrans.c
- jdapimin.c
- jdapistd.c
- jdarith.c
- jdatadst-tj.c
- jdatadst.c
- jdatasrc-tj.c
- jdatasrc.c
- jdcoefct.c
- jdcolor.c
- jddctmgr.c
- jdhuff.c
- jdicc.c
- jdinput.c
- jdmainct.c
- jdmarker.c
- jdmaster.c
- jdmerge.c
- jdphuff.c
- jdpostct.c
- jdsample.c
- jdtrans.c
- jerror.c
- jfdctflt.c
- jfdctfst.c
- jfdctint.c
- jidctflt.c
- jidctfst.c
- jidctint.c
- jidctred.c
- jmemmgr.c
- jmemnobs.c
- jquant1.c
- jquant2.c
- jutils.c
- rdbmp.c
- rdppm.c
- transupp.c
- turbojpeg.c
- wrbmp.c
- wrppm.c
- )
- END()
- RECURSE(
- cjpeg
- djpeg
- jpegtran
- tjunittest
- )
- IF (NOT OS_ANDROID AND NOT OS_IOS)
- RECURSE_FOR_TESTS(
- ut
- )
- ENDIF()
|