On Sat, Nov 9, 2013 at 11:53 PM, <[email protected]> wrote:
> # HG changeset patch > # User Aarthi Thirumalai<[email protected]> > # Date 1384062755 -19800 > # Sun Nov 10 11:22:35 2013 +0530 > # Node ID 82c1059d0960d5cbfead3dae61956e8257ff0eb6 > # Parent 9d74638c3640679d09264b793afdf3ffc58a9107 > TComPicYuv: fix padding issue > > diff -r 9d74638c3640 -r 82c1059d0960 source/Lib/TLibCommon/TComPicYuv.cpp > --- a/source/Lib/TLibCommon/TComPicYuv.cpp Sat Nov 09 20:14:24 2013 > -0600 > +++ b/source/Lib/TLibCommon/TComPicYuv.cpp Sun Nov 10 11:22:35 2013 > +0530 > @@ -209,9 +209,9 @@ > > /* internal pad to multiple of 16x16 blocks */ > uint8_t rem = width & 15; > I changed this line yesterday to use width instead of m_picWidth. I think that is sufficient to fix the padding. Do you agree? > - padx = rem ? 16 - rem : padx; > + padx += rem ? 16 - rem : padx; > rem = width & 15; > - pady = rem ? 16 - rem : pady; > + pady += rem ? 16 - rem : pady; > > #if HIGH_BIT_DEPTH > if (pic.bitDepth > 8) > _______________________________________________ > x265-devel mailing list > [email protected] > https://mailman.videolan.org/listinfo/x265-devel > -- Steve Borho
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
