[x265] [PATCH] optimize: rewrite TEncBinCABAC::encodeBin

Steve Borho steve at borho.org
Wed Mar 19 03:57:59 CET 2014


On Tue, Mar 18, 2014 at 9:35 PM, Steve Borho <steve at borho.org> wrote:
> On Mon, Mar 17, 2014 at 8:12 PM, Min Chen <chenm003 at 163.com> wrote:
>> # HG changeset patch
>> # User Min Chen <chenm003 at 163.com>
>> # Date 1395105163 25200
>> # Node ID a56d6e0b44894e9ab81bfa971ec070bd2569ed72
>> # Parent  8d5deb7cafd83ac554489deb8577f905a0cda6b3
>> optimize: rewrite TEncBinCABAC::encodeBin
>
> This was pushed yesterday but I've found it introduced a compile
> warning on MinGW:
>
> x265/source/Lib/TLibEncoder/TEncBinCoderCABAC.cpp:361:22: warning:
> declaration of 'byte' shadows a global declaration [-Wshadow]
>              uint32_t byte = m_bufferedByte + carry;
>                       ^

And on Linux:

/home/sborho/repos/x265/source/Lib/TLibCommon/TComTrQuant.cpp:1267:9:
warning: comparison of unsigned expression >= 0 is always true
[-Wtype-limits]

-- 
Steve Borho


More information about the x265-devel mailing list