vp8dsp: Remove the comment saying that the height is equal to the width

Message ID 1468146060-55561-1-git-send-email-martin@martin.st
State Committed
Commit 2866d108c9e9da7baf53ff57a51d470691049a57
Headers show

Commit Message

Martin Storsjö July 10, 2016, 10:21 a.m.
This comment isn't true, the height can be different from the width
for these functions (which is why the height is passed as a parameter
to them).
---
 libavcodec/vp8dsp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Janne Grunau July 10, 2016, 10:53 a.m. | #1
On 2016-07-10 13:21:00 +0300, Martin Storsjö wrote:
> This comment isn't true, the height can be different from the width
> for these functions (which is why the height is passed as a parameter
> to them).
> ---
>  libavcodec/vp8dsp.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h
> index deb8f27..b248b86 100644
> --- a/libavcodec/vp8dsp.h
> +++ b/libavcodec/vp8dsp.h
> @@ -70,7 +70,7 @@ typedef struct VP8DSPContext {
>      void (*vp8_h_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim);
>  
>      /**
> -     * first dimension: 4-log2(width), height is assumed equal to width
> +     * first dimension: 4-log2(width)
>       * second dimension: 0 if no vertical interpolation is needed;
>       *                   1 4-tap vertical interpolation filter (my & 1)
>       *                   2 6-tap vertical interpolation filter (!(my & 1))

ok, good catch

Janne

Patch

diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h
index deb8f27..b248b86 100644
--- a/libavcodec/vp8dsp.h
+++ b/libavcodec/vp8dsp.h
@@ -70,7 +70,7 @@  typedef struct VP8DSPContext {
     void (*vp8_h_loop_filter_simple)(uint8_t *dst, ptrdiff_t stride, int flim);
 
     /**
-     * first dimension: 4-log2(width), height is assumed equal to width
+     * first dimension: 4-log2(width)
      * second dimension: 0 if no vertical interpolation is needed;
      *                   1 4-tap vertical interpolation filter (my & 1)
      *                   2 6-tap vertical interpolation filter (!(my & 1))