[FFmpeg-devel] [PATCH 1/1] libavcodec/x86: fix source comment typos

luzpaz luzpaz at protonmail.com
Sat Apr 16 16:44:06 EEST 2022


>From d4fc528e4a0b24689900900abea56c317040605d Mon Sep 17 00:00:00 2001
From: luz paz <luzpaz at protonmail.com>
Date: Sat, 16 Apr 2022 09:37:57 -0400
Subject: [PATCH] [PATCH] libavcodec/x86: fix source comment typos

Fixes some asm source comment typos
---
 libavcodec/x86/celt_pvq_search.asm | 2 +-
 libavcodec/x86/fft.asm             | 2 +-
 libavcodec/x86/hevc_idct.asm       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/celt_pvq_search.asm b/libavcodec/x86/celt_pvq_search.asm
index 5c1e6d6174..cf059e3bb8 100644
--- a/libavcodec/x86/celt_pvq_search.asm
+++ b/libavcodec/x86/celt_pvq_search.asm
@@ -105,7 +105,7 @@ align 16
     addps          m5, m7           ; m5 = Sxy_new = X[i] + Sxy_norm

   %if USE_APPROXIMATION == 1
-    andps          m5, m0           ; if(X[i] == 0) Sxy_new = 0; Prevent aproximation error from setting pulses in array padding.
+    andps          m5, m0           ; if(X[i] == 0) Sxy_new = 0; Prevent approximation error from setting pulses in array padding.
   %endif

 %else
diff --git a/libavcodec/x86/fft.asm b/libavcodec/x86/fft.asm
index a671e8f48e..09252ab182 100644
--- a/libavcodec/x86/fft.asm
+++ b/libavcodec/x86/fft.asm
@@ -25,7 +25,7 @@

 ; These functions are not individually interchangeable with the C versions.
 ; While C takes arrays of FFTComplex, SSE/3DNow leave intermediate results
-; in blocks as conventient to the vector size.
+; in blocks as convenient to the vector size.
 ; i.e. {4x real, 4x imaginary, 4x real, ...} (or 2x respectively)

 %include "libavutil/x86/x86util.asm"
diff --git a/libavcodec/x86/hevc_idct.asm b/libavcodec/x86/hevc_idct.asm
index 1eb1973f27..1ad4eeb8eb 100644
--- a/libavcodec/x86/hevc_idct.asm
+++ b/libavcodec/x86/hevc_idct.asm
@@ -532,7 +532,7 @@ cglobal hevc_idct_8x8_%1, 1, 1, 8, coeffs
 ; %1, %2 - transform constants
 ; %3, %4 - regs with interleaved coeffs
 ; %5 - 1/0 SWAP or add
-; %6, %7 - registers for intermidiate sums
+; %6, %7 - registers for intermediate sums
 ; %8 - accumulator register
 %macro ADD_ROWS 8
     pmaddwd %6, %3, %1
--
2.35.1




More information about the ffmpeg-devel mailing list