[x265] [PATCH 1 of 2]Add support for Dolby Vision profile 8.1
Pradeep Ramachandran
pradeep at multicorewareinc.com
Fri Dec 28 05:00:37 CET 2018
On Fri, Dec 28, 2018 at 5:43 AM Mateusz <mateuszb at poczta.onet.pl> wrote:
> W dniu 26.12.2018 o 16:02, Kirithika Kalirathnam pisze:
> > --- a/source/encoder/encoder.cppFri Dec 07 12:52:46 2018 +0530
> > +++ b/source/encoder/encoder.cppWed Dec 26 18:47:10 2018 +0530
> > @@ -50,6 +50,30 @@
> > const char g_sliceTypeToChar[] = {'B', 'P', 'I'};
> > }
> >
> > +/* Dolby Vision profile specific settings */
> > +typedef struct
> > +{
> > + int bEmitHRDSEI;
> > + int bEnableVideoSignalTypePresentFlag;
> > + int bEnableColorDescriptionPresentFlag;
> > + int bEnableAccessUnitDelimiters;
> > + int bAnnexB;
> > +
> > + /* VUI parameters specific to Dolby Vision Profile */
> > + int videoFormat;
> > + int bEnableVideoFullRangeFlag;
> > + int transferCharacteristics;
> > + int colorPrimaries;
> > + int matrixCoeffs;
> > +
> > + int doviProfileId;
> > +}DolbyVisionProfileSpec;
> > +
> > +DolbyVisionProfileSpec dovi[] =
> > +{
> > + { 1, 1, 1, 1, 1, 5, 1, 2, 2, 2, 50 },
> > + { 1, 1, 1, 1, 1, 5, 0, 16, 9, 9, 81 },
> > +};
>
> Global variable outside namespace X265_NS breaks GCC multilib builds (it
> could be static or inside namespace).
>
> This patch is in DOS file format (CR+LF line endings), x265 was in UNIX
> file format (only LF line ending). After this patch x265 is in none format
> -- most lines ends with LF, some with CR+LF.
>
I've pushed a patch to fix line endings. The global variables issue still
needs to be addressed.
>
> Regards,
> Mateusz
>
> _______________________________________________
> 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/20181228/56b1048b/attachment.html>
More information about the x265-devel
mailing list