1*77c1e3ccSAndroid Build Coastguard Worker# 2*77c1e3ccSAndroid Build Coastguard Worker# Copyright (c) 2016, Alliance for Open Media. All rights reserved. 3*77c1e3ccSAndroid Build Coastguard Worker# 4*77c1e3ccSAndroid Build Coastguard Worker# This source code is subject to the terms of the BSD 2 Clause License and the 5*77c1e3ccSAndroid Build Coastguard Worker# Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License was 6*77c1e3ccSAndroid Build Coastguard Worker# not distributed with this source code in the LICENSE file, you can obtain it 7*77c1e3ccSAndroid Build Coastguard Worker# at www.aomedia.org/license/software. If the Alliance for Open Media Patent 8*77c1e3ccSAndroid Build Coastguard Worker# License 1.0 was not distributed with this source code in the PATENTS file, you 9*77c1e3ccSAndroid Build Coastguard Worker# can obtain it at www.aomedia.org/license/patent. 10*77c1e3ccSAndroid Build Coastguard Worker 11*77c1e3ccSAndroid Build Coastguard Workerinclude("${AOM_ROOT}/build/cmake/util.cmake") 12*77c1e3ccSAndroid Build Coastguard Worker 13*77c1e3ccSAndroid Build Coastguard Worker# This file sets default values for libaom configuration variables. All libaom 14*77c1e3ccSAndroid Build Coastguard Worker# config variables are added to the CMake variable cache via the macros provided 15*77c1e3ccSAndroid Build Coastguard Worker# in util.cmake. 16*77c1e3ccSAndroid Build Coastguard Worker 17*77c1e3ccSAndroid Build Coastguard Worker# 18*77c1e3ccSAndroid Build Coastguard Worker# The variables in this section of the file are detected at configuration time, 19*77c1e3ccSAndroid Build Coastguard Worker# but can be overridden via the use of CONFIG_* and ENABLE_* values also defined 20*77c1e3ccSAndroid Build Coastguard Worker# in this file. 21*77c1e3ccSAndroid Build Coastguard Worker# 22*77c1e3ccSAndroid Build Coastguard Worker 23*77c1e3ccSAndroid Build Coastguard Worker# CPUs. 24*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(AOM_ARCH_AARCH64 0 "Enables AArch64 architecture.") 25*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(AOM_ARCH_ARM 0 "Enables ARM architecture.") 26*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(AOM_ARCH_PPC 0 "Enables PPC architecture.") 27*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(AOM_ARCH_X86 0 "Enables X86 architecture.") 28*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(AOM_ARCH_X86_64 0 "Enables X86_64 architecture.") 29*77c1e3ccSAndroid Build Coastguard Worker 30*77c1e3ccSAndroid Build Coastguard Worker# Arm/AArch64 feature flags. 31*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_NEON 0 "Enables Neon intrinsics optimizations.") 32*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_ARM_CRC32 0 "Enables Arm CRC32 optimizations.") 33*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_NEON_DOTPROD 0 34*77c1e3ccSAndroid Build Coastguard Worker "Enables Armv8.2-A Neon dotprod intrinsics optimizations.") 35*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_NEON_I8MM 0 36*77c1e3ccSAndroid Build Coastguard Worker "Enables Armv8.2-A Neon i8mm intrinsics optimizations.") 37*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SVE 0 "Enables Armv8.2-A SVE intrinsics optimizations.") 38*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SVE2 0 "Enables Armv9-A SVE2 intrinsics optimizations.") 39*77c1e3ccSAndroid Build Coastguard Worker 40*77c1e3ccSAndroid Build Coastguard Worker# PPC feature flags. 41*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_VSX 0 "Enables VSX optimizations.") 42*77c1e3ccSAndroid Build Coastguard Worker 43*77c1e3ccSAndroid Build Coastguard Worker# x86/x86_64 feature flags. 44*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_MMX 0 "Enables MMX optimizations. ") 45*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SSE 0 "Enables SSE optimizations.") 46*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SSE2 0 "Enables SSE2 optimizations.") 47*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SSE3 0 "Enables SSE3 optimizations.") 48*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SSSE3 0 "Enables SSSE3 optimizations.") 49*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SSE4_1 0 "Enables SSE 4.1 optimizations.") 50*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_SSE4_2 0 "Enables SSE 4.2 optimizations.") 51*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_AVX 0 "Enables AVX optimizations.") 52*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_AVX2 0 "Enables AVX2 optimizations.") 53*77c1e3ccSAndroid Build Coastguard Worker 54*77c1e3ccSAndroid Build Coastguard Worker# Flags describing the build environment. 55*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_FEXCEPT 0 56*77c1e3ccSAndroid Build Coastguard Worker "Internal flag, GNU fenv.h present for target.") 57*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_PTHREAD_H 0 "Internal flag, target pthread support.") 58*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_UNISTD_H 0 59*77c1e3ccSAndroid Build Coastguard Worker "Internal flag, unistd.h present for target.") 60*77c1e3ccSAndroid Build Coastguard Workerset_aom_detect_var(HAVE_WXWIDGETS 0 "WxWidgets present.") 61*77c1e3ccSAndroid Build Coastguard Worker 62*77c1e3ccSAndroid Build Coastguard Worker# 63*77c1e3ccSAndroid Build Coastguard Worker# Variables in this section can be set from the CMake command line or from 64*77c1e3ccSAndroid Build Coastguard Worker# within the CMake GUI. The variables control libaom features. 65*77c1e3ccSAndroid Build Coastguard Worker# 66*77c1e3ccSAndroid Build Coastguard Worker 67*77c1e3ccSAndroid Build Coastguard Worker# Build configuration flags. 68*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(AOM_RTCD_FLAGS "" 69*77c1e3ccSAndroid Build Coastguard Worker "Arguments to pass to rtcd.pl. Separate with ';'") 70*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_AV1_DECODER 1 "Enable AV1 decoder.") 71*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_AV1_ENCODER 1 "Enable AV1 encoder.") 72*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_BIG_ENDIAN 0 "Internal flag.") 73*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_FPMT_TEST 0 "Enable FPMT testing.") 74*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_GCC 0 "Building with GCC (detect).") 75*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_GCOV 0 "Enable gcov support.") 76*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_GPROF 0 "Enable gprof support.") 77*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_LIBYUV 1 "Enables libyuv scaling/conversion support.") 78*77c1e3ccSAndroid Build Coastguard Worker# Set CONFIG_SVT_AV1 to 0 to avoid the BSD 3-Clause Clear License used by the 79*77c1e3ccSAndroid Build Coastguard Worker# code in third_party/SVT-AV1/. 80*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_SVT_AV1 1 "Enables SVT-AV1 AVX2 convolution support.") 81*77c1e3ccSAndroid Build Coastguard Worker 82*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_AV1_HIGHBITDEPTH 1 83*77c1e3ccSAndroid Build Coastguard Worker "Build with high bitdepth support.") 84*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_AV1_TEMPORAL_DENOISING 0 85*77c1e3ccSAndroid Build Coastguard Worker "Build with temporal denoising support.") 86*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_MULTITHREAD 1 "Multithread support.") 87*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_OS_SUPPORT 0 "Internal flag.") 88*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_PIC 0 "Build with PIC enabled.") 89*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_QUANT_MATRIX 1 90*77c1e3ccSAndroid Build Coastguard Worker "Build with quantization matrices for AV1 encoder." 91*77c1e3ccSAndroid Build Coastguard Worker "AV1 decoder is always built with quantization matrices.") 92*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_REALTIME_ONLY 0 93*77c1e3ccSAndroid Build Coastguard Worker "Build for RTC-only. See aomcx.h for all disabled features.") 94*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_RUNTIME_CPU_DETECT 1 "Runtime CPU detection support.") 95*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_SHARED 0 "Build shared libs.") 96*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_WEBM_IO 1 "Enables WebM support.") 97*77c1e3ccSAndroid Build Coastguard Worker 98*77c1e3ccSAndroid Build Coastguard Worker# Debugging flags. 99*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_DEBUG 0 "Enable debug-only code.") 100*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_EXCLUDE_SIMD_MISMATCH 0 101*77c1e3ccSAndroid Build Coastguard Worker "Exclude mismatch in SIMD functions for testing/debugging.") 102*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_MISMATCH_DEBUG 0 "Mismatch debugging flag.") 103*77c1e3ccSAndroid Build Coastguard Worker 104*77c1e3ccSAndroid Build Coastguard Worker# AV1 feature flags. 105*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_ACCOUNTING 0 "Enables bit accounting.") 106*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_ANALYZER 0 "Enables bit stream analyzer.") 107*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_COEFFICIENT_RANGE_CHECKING 0 108*77c1e3ccSAndroid Build Coastguard Worker "Coefficient range check.") 109*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_DENOISE 1 110*77c1e3ccSAndroid Build Coastguard Worker "Denoise/noise modeling support in encoder.") 111*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_INSPECTION 0 "Enables bitstream inspection.") 112*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_INTERNAL_STATS 0 "Enables internal encoder stats.") 113*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(FORCE_HIGHBITDEPTH_DECODING 0 114*77c1e3ccSAndroid Build Coastguard Worker "Force high bitdepth decoding pipeline on 8-bit input.") 115*77c1e3ccSAndroid Build Coastguard Workermark_as_advanced(FORCE_HIGHBITDEPTH_DECODING) 116*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_MAX_DECODE_PROFILE 2 117*77c1e3ccSAndroid Build Coastguard Worker "Max profile to support decoding.") 118*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 119*77c1e3ccSAndroid Build Coastguard Worker CONFIG_NORMAL_TILE_MODE 0 120*77c1e3ccSAndroid Build Coastguard Worker "Only enables general decoding (disables large scale tile decoding).") 121*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_SIZE_LIMIT 0 "Limit max decode width/height.") 122*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_TUNE_BUTTERAUGLI 0 123*77c1e3ccSAndroid Build Coastguard Worker "Enable encoding tuning for Butteraugli.") 124*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_TUNE_VMAF 0 "Enable encoding tuning for VMAF.") 125*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(DECODE_HEIGHT_LIMIT 0 "Set limit for decode height.") 126*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(DECODE_WIDTH_LIMIT 0 "Set limit for decode width.") 127*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(STATIC_LINK_JXL 0 "Statically link the JPEG-XL library.") 128*77c1e3ccSAndroid Build Coastguard Worker 129*77c1e3ccSAndroid Build Coastguard Worker# AV1 experiment flags. 130*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_BITRATE_ACCURACY 0 131*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Improve bitrate accuracy.") 132*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 133*77c1e3ccSAndroid Build Coastguard Worker CONFIG_BITRATE_ACCURACY_BL 0 134*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Baseline of improve bitrate accuracy experiment.") 135*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_BITSTREAM_DEBUG 0 136*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Bitstream debugging.") 137*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 138*77c1e3ccSAndroid Build Coastguard Worker CONFIG_COLLECT_COMPONENT_TIMING 0 139*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Collect encoding component timing information.") 140*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 141*77c1e3ccSAndroid Build Coastguard Worker CONFIG_COLLECT_PARTITION_STATS 0 142*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Collect partition timing stats. Can be 1 or 2.") 143*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_COLLECT_RD_STATS 0 "AV1 experiment.") 144*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 145*77c1e3ccSAndroid Build Coastguard Worker CONFIG_DISABLE_FULL_PIXEL_SPLIT_8X8 1 146*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Disable full_pixel_motion_search_based_split on BLOCK_8X8.") 147*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_ENTROPY_STATS 0 "AV1 experiment.") 148*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_INTER_STATS_ONLY 0 "AV1 experiment.") 149*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_NN_V2 0 150*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Fully-connected neural nets ver.2.") 151*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_OPTICAL_FLOW_API 0 152*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: for optical flow API.") 153*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_PARTITION_SEARCH_ORDER 0 154*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Use alternative partition search order.") 155*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_RATECTRL_LOG 0 156*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Log rate control decision.") 157*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_RD_COMMAND 0 158*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Use external rdmult and q_index.") 159*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_RD_DEBUG 0 "AV1 experiment.") 160*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 161*77c1e3ccSAndroid Build Coastguard Worker CONFIG_RT_ML_PARTITIONING 0 162*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Build with ML-based partitioning for Real Time.") 163*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_SPEED_STATS 0 "AV1 experiment.") 164*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_TFLITE 0 165*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Enable tensorflow lite library.") 166*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_THREE_PASS 0 167*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Enable three-pass encoding.") 168*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_OUTPUT_FRAME_SIZE 0 169*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Output frame size information.") 170*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var( 171*77c1e3ccSAndroid Build Coastguard Worker CONFIG_SALIENCY_MAP 0 172*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Enable saliency map based encoding tuning for VMAF.") 173*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_CWG_C013 0 174*77c1e3ccSAndroid Build Coastguard Worker "AV1 experiment: Support for 7.x and 8.x levels.") 175*77c1e3ccSAndroid Build Coastguard Worker# Add this change to make aomenc reported PSNR consistent with libvmaf result. 176*77c1e3ccSAndroid Build Coastguard Workerset_aom_config_var(CONFIG_LIBVMAF_PSNR_PEAK 1 177*77c1e3ccSAndroid Build Coastguard Worker "Use libvmaf PSNR peak for 10- and 12-bit") 178*77c1e3ccSAndroid Build Coastguard Worker 179*77c1e3ccSAndroid Build Coastguard Worker# 180*77c1e3ccSAndroid Build Coastguard Worker# Variables in this section control optional features of the build system. 181*77c1e3ccSAndroid Build Coastguard Worker# 182*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_CCACHE "Enable ccache support." OFF) 183*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_DECODE_PERF_TESTS "Enables decoder performance tests" 184*77c1e3ccSAndroid Build Coastguard Worker OFF) 185*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_DISTCC "Enable distcc support." OFF) 186*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_DOCS 187*77c1e3ccSAndroid Build Coastguard Worker "Enable documentation generation (doxygen required)." ON) 188*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_ENCODE_PERF_TESTS "Enables encoder performance tests" 189*77c1e3ccSAndroid Build Coastguard Worker OFF) 190*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_EXAMPLES "Enables build of example code." ON) 191*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_GOMA "Enable goma support." OFF) 192*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var( 193*77c1e3ccSAndroid Build Coastguard Worker ENABLE_IDE_TEST_HOSTING 194*77c1e3ccSAndroid Build Coastguard Worker "Enables running tests within IDEs like Visual Studio and Xcode." OFF) 195*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_NASM "Use nasm instead of yasm for x86 assembly." OFF) 196*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_TESTDATA "Enables unit test data download targets." 197*77c1e3ccSAndroid Build Coastguard Worker ON) 198*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_TESTS "Enables unit tests." ON) 199*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_TOOLS "Enable applications in tools sub directory." 200*77c1e3ccSAndroid Build Coastguard Worker ON) 201*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_WERROR "Converts warnings to errors at compile time." 202*77c1e3ccSAndroid Build Coastguard Worker OFF) 203*77c1e3ccSAndroid Build Coastguard Worker 204*77c1e3ccSAndroid Build Coastguard Worker# Arm/AArch64 assembly/intrinsics flags. 205*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_NEON 206*77c1e3ccSAndroid Build Coastguard Worker "Enables Neon optimizations on Arm/AArch64 targets." ON) 207*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_ARM_CRC32 "Enables Arm CRC32 optimizations." ON) 208*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var( 209*77c1e3ccSAndroid Build Coastguard Worker ENABLE_NEON_DOTPROD 210*77c1e3ccSAndroid Build Coastguard Worker "Enables Armv8.2-A Neon dotprod optimizations on AArch64 targets." ON) 211*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var( 212*77c1e3ccSAndroid Build Coastguard Worker ENABLE_NEON_I8MM 213*77c1e3ccSAndroid Build Coastguard Worker "Enables Armv8.2-A Neon i8mm optimizations on AArch64 targets." ON) 214*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SVE 215*77c1e3ccSAndroid Build Coastguard Worker "Enables Armv8.2-A SVE optimizations on AArch64 targets." ON) 216*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SVE2 217*77c1e3ccSAndroid Build Coastguard Worker "Enables Armv9-A SVE2 optimizations on AArch64 targets." ON) 218*77c1e3ccSAndroid Build Coastguard Worker 219*77c1e3ccSAndroid Build Coastguard Worker# VSX intrinsics flags. 220*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_VSX "Enables VSX optimizations on PowerPC targets." 221*77c1e3ccSAndroid Build Coastguard Worker ON) 222*77c1e3ccSAndroid Build Coastguard Worker 223*77c1e3ccSAndroid Build Coastguard Worker# x86/x86_64 assembly/intrinsics flags. 224*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_MMX "Enables MMX optimizations on x86/x86_64 targets." 225*77c1e3ccSAndroid Build Coastguard Worker ON) 226*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SSE "Enables SSE optimizations on x86/x86_64 targets." 227*77c1e3ccSAndroid Build Coastguard Worker ON) 228*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SSE2 229*77c1e3ccSAndroid Build Coastguard Worker "Enables SSE2 optimizations on x86/x86_64 targets." ON) 230*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SSE3 231*77c1e3ccSAndroid Build Coastguard Worker "Enables SSE3 optimizations on x86/x86_64 targets." ON) 232*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SSSE3 233*77c1e3ccSAndroid Build Coastguard Worker "Enables SSSE3 optimizations on x86/x86_64 targets." ON) 234*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SSE4_1 235*77c1e3ccSAndroid Build Coastguard Worker "Enables SSE4_1 optimizations on x86/x86_64 targets." ON) 236*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_SSE4_2 237*77c1e3ccSAndroid Build Coastguard Worker "Enables SSE4_2 optimizations on x86/x86_64 targets." ON) 238*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_AVX "Enables AVX optimizations on x86/x86_64 targets." 239*77c1e3ccSAndroid Build Coastguard Worker ON) 240*77c1e3ccSAndroid Build Coastguard Workerset_aom_option_var(ENABLE_AVX2 241*77c1e3ccSAndroid Build Coastguard Worker "Enables AVX2 optimizations on x86/x86_64 targets." ON) 242