[x265] fix bug in 522baf03fbbd
Satoshi Nakagawa
nakagawa424 at oki.com
Fri Nov 7 11:19:13 CET 2014
# HG changeset patch
# User Satoshi Nakagawa <nakagawa424 at oki.com>
# Date 1415355446 -32400
# Fri Nov 07 19:17:26 2014 +0900
# Node ID 8a0b4706d8114ac8caa6b2bcb4359c672265ef75
# Parent 522baf03fbbd17ab3844f8190f78607089ce0a8d
fix bug in 522baf03fbbd
diff -r 522baf03fbbd -r 8a0b4706d811 source/encoder/search.cpp
--- a/source/encoder/search.cpp Wed Nov 05 16:23:42 2014 +0530
+++ b/source/encoder/search.cpp Fri Nov 07 19:17:26 2014 +0900
@@ -2879,10 +2879,10 @@
if (nullCostY < singleCostY)
{
cbfFlag[TEXT_LUMA][0] = 0;
+ primitives.blockfill_s[partSize](curResiY, strideResiY, 0);
#if CHECKED_BUILD || _DEBUG
uint32_t numCoeffY = 1 << (log2TrSize << 1);
memset(coeffCurY, 0, sizeof(coeff_t) * numCoeffY);
- primitives.blockfill_s[partSize](curResiY, strideResiY, 0);
#endif
if (checkTransformSkipY)
minCost[TEXT_LUMA][0] = nullCostY;
@@ -2955,10 +2955,10 @@
if (nullCostC < singleCostC)
{
cbfFlag[chromaId][tuIterator.section] = 0;
+ primitives.blockfill_s[partSizeC](curResiC, strideResiC, 0);
#if CHECKED_BUILD || _DEBUG
uint32_t numCoeffC = 1 << (log2TrSizeC << 1);
memset(coeffCurC + subTUOffset, 0, sizeof(coeff_t) * numCoeffC);
- primitives.blockfill_s[partSizeC](curResiC, strideResiC, 0);
#endif
if (checkTransformSkipC)
minCost[chromaId][tuIterator.section] = nullCostC;
More information about the x265-devel
mailing list