[x265] [PATCH] fix initialization and add JSON file documentaion

Pradeep Ramachandran pradeep at multicorewareinc.com
Thu May 25 07:03:03 CEST 2017


On Wed, May 24, 2017 at 3:48 PM, <bhavna at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Bhavna Hariharan <bhavna at multicorewareinc.com>
> # Date 1495620958 -19800
> #      Wed May 24 15:45:58 2017 +0530
> # Node ID f77e2a5f27ce158b1820e35d63f1febc55f518c4
> # Parent  355cf3582263acc9bbcb8faa24f1dfa009f41de3
> fix initialization and add JSON file documentaion
>

Pushed to stable branch and merged with default.


>
> diff -r 355cf3582263 -r f77e2a5f27ce doc/reST/cli.rst
> --- a/doc/reST/cli.rst  Mon May 22 12:05:24 2017 +0530
> +++ b/doc/reST/cli.rst  Wed May 24 15:45:58 2017 +0530
> @@ -1909,7 +1909,12 @@
>
>  .. option:: --dhdr10-info <filename>
>
> -       Inserts tone mapping information as an SEI message.
> +       Inserts tone mapping information as an SEI message. It takes as
> input,
> +       the path to the JSON file containing the Creative Intent Metadata
> +       to be encoded as Dynamic Tone Mapping into the bitstream.
> +
> +       Click `here <https://www.sra.samsung.com/
> assets/User-data-registered-itu-t-t35-SEI-message-for-ST-2094-40-v1.1.pdf
> >`_
> +       for the syntax of the metadata file. Sample JSON file available in
> downloads.
>
>  .. option:: --dhdr10-opt, --no-dhdr10-opt
>
> diff -r 355cf3582263 -r f77e2a5f27ce source/dynamicHDR10/BasicStructures.h
> --- a/source/dynamicHDR10/BasicStructures.h     Mon May 22 12:05:24 2017
> +0530
> +++ b/source/dynamicHDR10/BasicStructures.h     Wed May 24 15:45:58 2017
> +0530
> @@ -35,15 +35,15 @@
>      float maxRLuminance = 0.0;
>      float maxGLuminance = 0.0;
>      float maxBLuminance = 0.0;
> -    int order;
> +    int order = 0;
>      std::vector<unsigned int> percentiles;
>  };
>
>  struct BezierCurveData
>  {
> -    int order;
> -    int sPx;
> -    int sPy;
> +    int order = 0;
> +    int sPx = 0;
> +    int sPy = 0;
>      std::vector<int> coeff;
>  };
>
> @@ -53,7 +53,7 @@
>      float maxRLuminance = 0.0;
>      float maxGLuminance = 0.0;
>      float maxBLuminance = 0.0;
> -    int order;
> +    int order = 0;
>      std::vector<unsigned int> percentiles;
>  };
>
> _______________________________________________
> 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/20170525/4a00e4c6/attachment.html>


More information about the x265-devel mailing list