[x265] [PATCH] TComPicYuv: fix padding issue

Aarthi Priya Thirumalai aarthi at multicorewareinc.com
Mon Nov 11 06:21:59 CET 2013


On Mon, Nov 11, 2013 at 8:07 AM, Steve Borho <steve at borho.org> wrote:

>
>
>
> On Sat, Nov 9, 2013 at 11:53 PM, <aarthi at multicorewareinc.com> wrote:
>
>> # HG changeset patch
>> # User Aarthi Thirumalai<aarthi at multicorewareinc.com>
>> # 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?
>  Fine :)
>
>> -    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
>> x265-devel at videolan.org
>> https://mailman.videolan.org/listinfo/x265-devel
>>
>
>
>
> --
> Steve Borho
>
> _______________________________________________
> 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/20131111/d0528b04/attachment-0001.html>


More information about the x265-devel mailing list