[x265] [PATCH] nits: remove unnecessary parentheses

Ashok Kumar Mishra ashok at multicorewareinc.com
Mon Nov 27 18:52:02 CET 2017


Pushed.

On Fri, Nov 24, 2017 at 10:22 PM, Ma0 <mateuszb at poczta.onet.pl> wrote:

> # HG changeset patch
> # User Ma0 <mateuszb at poczta.onet.pl>
> # Date 1511540639 -3600
> #      Fri Nov 24 17:23:59 2017 +0100
> # Node ID 97d4b6e9462aa6445feed5959f827d989d07faaf
> # Parent  b24454f3ff6de650aab6835e291837fc4e2a4466
> nits: remove unnecessary parentheses
>
> diff -r b24454f3ff6d -r 97d4b6e9462a source/common/lowres.h
> --- a/source/common/lowres.h    Wed Nov 22 22:00:48 2017 +0530
> +++ b/source/common/lowres.h    Fri Nov 24 17:23:59 2017 +0100
> @@ -129,7 +129,7 @@
>      uint8_t*  intraMode;
>      int64_t   satdCost;
>      uint16_t* lowresCostForRc;
> -    uint16_t(*lowresCosts[X265_BFRAME_MAX + 2][X265_BFRAME_MAX + 2]);
> +    uint16_t* lowresCosts[X265_BFRAME_MAX + 2][X265_BFRAME_MAX + 2];
>      int32_t*  lowresMvCosts[2][X265_BFRAME_MAX + 1];
>      MV*       lowresMvs[2][X265_BFRAME_MAX + 1];
>      uint32_t  maxBlocksInRow;
> diff -r b24454f3ff6d -r 97d4b6e9462a source/encoder/sao.h
> --- a/source/encoder/sao.h      Wed Nov 22 22:00:48 2017 +0530
> +++ b/source/encoder/sao.h      Fri Nov 24 17:23:59 2017 +0100
> @@ -58,8 +58,8 @@
>
>      static const uint32_t s_eoTable[NUM_EDGETYPE];
>
> -    typedef int32_t (PerClass[MAX_NUM_SAO_TYPE][MAX_NUM_SAO_CLASS]);
> -    typedef int32_t (PerPlane[NUM_PLANE][MAX_NUM_
> SAO_TYPE][MAX_NUM_SAO_CLASS]);
> +    typedef int32_t PerClass[MAX_NUM_SAO_TYPE][MAX_NUM_SAO_CLASS];
> +    typedef int32_t PerPlane[NUM_PLANE][MAX_NUM_
> SAO_TYPE][MAX_NUM_SAO_CLASS];
>
>  protected:
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20171127/d61961c7/attachment.html>


More information about the x265-devel mailing list