[x265] [PATCH 08/12] Fix typo in intrinsics setup function declaration
Hari Limaye
hari.limaye at arm.com
Thu May 2 21:19:43 UTC 2024
---
source/common/primitives.cpp | 2 +-
source/common/primitives.h | 2 +-
source/common/vec/vec-primitives.cpp | 2 +-
source/test/testbench.cpp | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/source/common/primitives.cpp b/source/common/primitives.cpp
index 10e418884..0a7278f2e 100644
--- a/source/common/primitives.cpp
+++ b/source/common/primitives.cpp
@@ -259,7 +259,7 @@ void x265_setup_primitives(x265_param *param)
#if ENABLE_ASSEMBLY
#if X265_ARCH_X86
- setupInstrinsicPrimitives(primitives, param->cpuid);
+ setupIntrinsicPrimitives(primitives, param->cpuid);
#endif
setupAssemblyPrimitives(primitives, param->cpuid);
#endif
diff --git a/source/common/primitives.h b/source/common/primitives.h
index df1cae4b7..cc6b72e1a 100644
--- a/source/common/primitives.h
+++ b/source/common/primitives.h
@@ -470,7 +470,7 @@ inline int partitionFromLog2Size(int log2Size)
}
void setupCPrimitives(EncoderPrimitives &p);
-void setupInstrinsicPrimitives(EncoderPrimitives &p, int cpuMask);
+void setupIntrinsicPrimitives(EncoderPrimitives &p, int cpuMask);
void setupAssemblyPrimitives(EncoderPrimitives &p, int cpuMask);
void setupAliasPrimitives(EncoderPrimitives &p);
#if X265_ARCH_ARM64
diff --git a/source/common/vec/vec-primitives.cpp b/source/common/vec/vec-primitives.cpp
index 855ea277f..d37f7ac3d 100644
--- a/source/common/vec/vec-primitives.cpp
+++ b/source/common/vec/vec-primitives.cpp
@@ -59,7 +59,7 @@ void setupIntrinsicDCT_ssse3(EncoderPrimitives&);
void setupIntrinsicDCT_sse41(EncoderPrimitives&);
/* Use primitives for the best available vector architecture */
-void setupInstrinsicPrimitives(EncoderPrimitives &p, int cpuMask)
+void setupIntrinsicPrimitives(EncoderPrimitives &p, int cpuMask)
{
#ifdef HAVE_SSE3
if (cpuMask & X265_CPU_SSE3)
diff --git a/source/test/testbench.cpp b/source/test/testbench.cpp
index ddcfd6139..20d29182d 100644
--- a/source/test/testbench.cpp
+++ b/source/test/testbench.cpp
@@ -193,7 +193,7 @@ int main(int argc, char *argv[])
#if X265_ARCH_X86
EncoderPrimitives vecprim;
memset(&vecprim, 0, sizeof(vecprim));
- setupInstrinsicPrimitives(vecprim, test_arch[i].flag);
+ setupIntrinsicPrimitives(vecprim, test_arch[i].flag);
setupAliasPrimitives(vecprim);
for (size_t h = 0; h < sizeof(harness) / sizeof(TestHarness*); h++)
{
@@ -232,7 +232,7 @@ int main(int argc, char *argv[])
EncoderPrimitives optprim;
memset(&optprim, 0, sizeof(optprim));
#if X265_ARCH_X86
- setupInstrinsicPrimitives(optprim, cpuid);
+ setupIntrinsicPrimitives(optprim, cpuid);
#endif
setupAssemblyPrimitives(optprim, cpuid);
--
2.42.1
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the x265-devel
mailing list