arm: vp9lpf: Fix a typo in a comment about the register layout

Message ID 20190416102013.73695-1-martin@martin.st
State New
Headers show
Series
  • arm: vp9lpf: Fix a typo in a comment about the register layout
Related show

Commit Message

Martin Storsjö April 16, 2019, 10:20 a.m.
---
 libavcodec/aarch64/vp9lpf_neon.S | 2 +-
 libavcodec/arm/vp9lpf_neon.S     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Luca Barbato April 23, 2019, 6:56 a.m. | #1
On 16/04/2019 12:20, Martin Storsjö wrote:
> ---
>   libavcodec/aarch64/vp9lpf_neon.S | 2 +-
>   libavcodec/arm/vp9lpf_neon.S     | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/aarch64/vp9lpf_neon.S b/libavcodec/aarch64/vp9lpf_neon.S
> index e9c497096b..f68b54a2ee 100644
> --- a/libavcodec/aarch64/vp9lpf_neon.S
> +++ b/libavcodec/aarch64/vp9lpf_neon.S
> @@ -415,7 +415,7 @@
>   
>   1:
>           // flat8out
> -        // This writes all outputs into v2-v17 (skipping v6 and v16).
> +        // This writes all outputs into v2-v17 (skipping v7 and v16).
>           // If this part is skipped, the output is read from v21-v26 (which is the input
>           // to this section).
>           ushll_sz        v0.8h,  v1.8h,  v16,  #3,  \sz           // 8 * v16
> diff --git a/libavcodec/arm/vp9lpf_neon.S b/libavcodec/arm/vp9lpf_neon.S
> index ae782b2ed0..e30f0cd5b4 100644
> --- a/libavcodec/arm/vp9lpf_neon.S
> +++ b/libavcodec/arm/vp9lpf_neon.S
> @@ -362,7 +362,7 @@
>           beq             8f
>   
>           @ flat8out
> -        @ This writes all outputs into d2-d17 (skipping d6 and d16).
> +        @ This writes all outputs into d2-d17 (skipping d7 and d16).
>           @ If this part is skipped, the output is read from d21-d26 (which is the input
>           @ to this section).
>           vshll.u8        q0,  d16, #3  @ 8 * d16
> 

Sure!

Patch

diff --git a/libavcodec/aarch64/vp9lpf_neon.S b/libavcodec/aarch64/vp9lpf_neon.S
index e9c497096b..f68b54a2ee 100644
--- a/libavcodec/aarch64/vp9lpf_neon.S
+++ b/libavcodec/aarch64/vp9lpf_neon.S
@@ -415,7 +415,7 @@ 
 
 1:
         // flat8out
-        // This writes all outputs into v2-v17 (skipping v6 and v16).
+        // This writes all outputs into v2-v17 (skipping v7 and v16).
         // If this part is skipped, the output is read from v21-v26 (which is the input
         // to this section).
         ushll_sz        v0.8h,  v1.8h,  v16,  #3,  \sz           // 8 * v16
diff --git a/libavcodec/arm/vp9lpf_neon.S b/libavcodec/arm/vp9lpf_neon.S
index ae782b2ed0..e30f0cd5b4 100644
--- a/libavcodec/arm/vp9lpf_neon.S
+++ b/libavcodec/arm/vp9lpf_neon.S
@@ -362,7 +362,7 @@ 
         beq             8f
 
         @ flat8out
-        @ This writes all outputs into d2-d17 (skipping d6 and d16).
+        @ This writes all outputs into d2-d17 (skipping d7 and d16).
         @ If this part is skipped, the output is read from d21-d26 (which is the input
         @ to this section).
         vshll.u8        q0,  d16, #3  @ 8 * d16