[x265] fix lossless
Steve Borho
steve at borho.org
Wed Jan 14 14:40:57 CET 2015
On 01/14, Satoshi Nakagawa wrote:
> # HG changeset patch
> # User Satoshi Nakagawa <nakagawa424 at oki.com>
> # Date 1421237427 -32400
> # Wed Jan 14 21:10:27 2015 +0900
> # Node ID 23c7143cecf6f78938e517366dad963995fc7181
> # Parent 9d26082ca7b3f22ba74872aad35a8b327313f5a6
> fix lossless
queued, thanks, I'm surprised our tests didn't catch this one.
> diff -r 9d26082ca7b3 -r 23c7143cecf6 source/encoder/framefilter.cpp
> --- a/source/encoder/framefilter.cpp Wed Jan 14 15:58:21 2015 +0530
> +++ b/source/encoder/framefilter.cpp Wed Jan 14 21:10:27 2015 +0900
> @@ -396,7 +396,7 @@
> /* restore original YUV samples to recon after SAO (if lossless) */
> static void restoreOrigLosslessYuv(const CUData* cu, Frame& frame, uint32_t absPartIdx, uint32_t depth)
> {
> - int size = g_maxCUDepth - depth - 2;
> + int size = g_maxLog2CUSize - depth - 2;
>
> PicYuv* reconPic = frame.m_reconPic;
> PicYuv* fencPic = frame.m_fencPic;
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
--
Steve Borho
More information about the x265-devel
mailing list