diff mbox series

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

Message ID v8EKltRToNLX9NEWjBgkmb0UCjQrEabaQ92ej47FFfamUr-5QDEq7HnpBwl9-Yl20UyerUzVyVcPb1DEvqWmxMGK2p6ctp0nGnkBVhlGZMo=@protonmail.com
State New
Headers show
Series [FFmpeg-devel,1/1] libavcodec/x86: fix source comment typos | expand

Checks

Context Check Description
yinshiyou/configure_loongarch64 warning Failed to apply patch
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_aarch64_jetson success Make finished
andriy/make_fate_aarch64_jetson success Make fate finished
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 success Make fate finished

Commit Message

luzpaz April 16, 2022, 1:44 p.m. UTC
From d4fc528e4a0b24689900900abea56c317040605d Mon Sep 17 00:00:00 2001
From: luz paz <luzpaz@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(-)

--
2.35.1
diff mbox series

Patch

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