[x265] [PATCH] hdr10+: Send application_version as 1 only for new metadata to give best visual quality

Pradeep Ramachandran pradeep at multicorewareinc.com
Fri Jan 25 04:57:34 CET 2019


On Fri, Jan 4, 2019 at 6:51 PM Pradeep Ramachandran <
pradeep at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Pradeep Ramachandran <pradeep at multicorewareinc.com>
> # Date 1546608022 -19800
> #      Fri Jan 04 18:50:22 2019 +0530
> # Branch stable
> # Node ID d27115712306fa52dcd9fbefa8037496c2016dab
> # Parent  1a598caef5d4905414390d2008f5c268ca8b3ab5
> hdr10+: Send application_version as 1 only for new metadata to give best
> visual quality
>

Pushed to default.


>
> diff -r 1a598caef5d4 -r d27115712306
> source/dynamicHDR10/metadataFromJson.cpp
> --- a/source/dynamicHDR10/metadataFromJson.cpp  Wed Jan 02 14:15:53 2019
> +0530
> +++ b/source/dynamicHDR10/metadataFromJson.cpp  Fri Jan 04 18:50:22 2019
> +0530
> @@ -404,7 +404,12 @@
>      const uint16_t terminalProviderCode = 0x003C;
>      const uint16_t terminalProviderOrientedCode = 0x0001;
>      const uint8_t applicationIdentifier = 4;
> -    const uint8_t applicationVersion = 1;
> +    uint8_t applicationVersion = 0;
> +
> +    if (jsonType & LLC)
> +    {
> +        applicationVersion = 1;
> +    }
>
>      mPimpl->appendBits(metadata, countryCode, 8);
>      mPimpl->appendBits(metadata, terminalProviderCode, 16);
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190125/75f35baf/attachment.html>


More information about the x265-devel mailing list