[x265] [PATCH] types: use stdint.h data types for UChar, UShort, UInt64, Pel, TCoeff

Steve Borho steve at borho.org
Thu Sep 19 18:42:38 CEST 2013


On Thu, Sep 19, 2013 at 6:58 AM, Jean-Baptiste Kempf <jb at videolan.org>wrote:

> On 19 Sep, Derek Buitenhuis wrote :
> > On 9/19/2013 5:18 AM, Steve Borho wrote:
> > > +typedef uint8_t      UChar;
> > > +typedef uint16_t     UShort;
> > > +typedef unsigned int UInt;
> > > +typedef int64_t      Int64;
> > > +typedef uint64_t     UInt64;
> >
> > This seems quite wrong, since they're not necessarily analogous on
> > all platforms... like short.
> >
> > Why not replace them properly?
>
> Why do you even need those defines?
>

I was just trying to avoid the pain of doing a global string replacement
and fixing up all the white-space alignment nits it will cause.  But it
seems I can't pull that fast one past you guys :)

-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130919/8cf72d40/attachment.html>


More information about the x265-devel mailing list