diff mbox series

[FFmpeg-devel] lavfi/dnn_backend_native_layer_avgpool.c: Correct Spelling of Pixel

Message ID 20210501151705.34247-1-shubhanshu.e01@gmail.com
State Accepted
Commit 26d3fe1a525b10cc0ea186de1e432f748287e755
Headers show
Series [FFmpeg-devel] lavfi/dnn_backend_native_layer_avgpool.c: Correct Spelling of Pixel
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Shubhanshu Saxena May 1, 2021, 3:17 p.m. UTC
Correct spelling of word `pixel` from `pxiels`

Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
---
 libavfilter/dnn/dnn_backend_native_layer_avgpool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guo, Yejun May 6, 2021, 2:31 a.m. UTC | #1
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> Shubhanshu Saxena
> Sent: 2021年5月1日 23:17
> To: ffmpeg-devel@ffmpeg.org
> Cc: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
> Subject: [FFmpeg-devel] [PATCH] lavfi/dnn_backend_native_layer_avgpool.c:
> Correct Spelling of Pixel
> 
> Correct spelling of word `pixel` from `pxiels`
> 
> Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
> ---
>  libavfilter/dnn/dnn_backend_native_layer_avgpool.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
> b/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
> index dcfb8c816f..89f1787523 100644
> --- a/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
> +++ b/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
> @@ -73,7 +73,7 @@ int ff_dnn_execute_layer_avg_pool(DnnOperand
> *operands, const int32_t *input_ope
>      DnnOperand *output_operand = &operands[output_operand_index];
> 
>      /**
> -     * When padding_method = SAME, the tensorflow will only padding the
> hald number of 0 pxiels
> +     * When padding_method = SAME, the tensorflow will only padding
> the hald number of 0 pixels
>       * except the remainders.
>       * Eg: assuming the input height = 1080, the strides = 11, so the
> remainders = 1080 % 11 = 2
>       *     and if ksize = 5: it will fill (5 - 2) >> 1 = 1 line before the first line
> of input image,
> --
LGTM, will push soon, thanks.
diff mbox series

Patch

diff --git a/libavfilter/dnn/dnn_backend_native_layer_avgpool.c b/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
index dcfb8c816f..89f1787523 100644
--- a/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
+++ b/libavfilter/dnn/dnn_backend_native_layer_avgpool.c
@@ -73,7 +73,7 @@  int ff_dnn_execute_layer_avg_pool(DnnOperand *operands, const int32_t *input_ope
     DnnOperand *output_operand = &operands[output_operand_index];
 
     /**
-     * When padding_method = SAME, the tensorflow will only padding the hald number of 0 pxiels
+     * When padding_method = SAME, the tensorflow will only padding the hald number of 0 pixels
      * except the remainders.
      * Eg: assuming the input height = 1080, the strides = 11, so the remainders = 1080 % 11 = 2
      *     and if ksize = 5: it will fill (5 - 2) >> 1 = 1 line before the first line of input image,