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

Guo, Yejun yejun.guo at intel.com
Thu May 6 05:31:35 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Shubhanshu Saxena
> Sent: 2021年5月1日 23:17
> To: ffmpeg-devel at ffmpeg.org
> Cc: Shubhanshu Saxena <shubhanshu.e01 at 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 at 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.



More information about the ffmpeg-devel mailing list