[x265] Compile error, high bit-depth and GCC 4.9.2
Sami Inkinen
sami.inkinen at iki.fi
Fri Jan 16 12:57:46 CET 2015
Hi,
I got a compile error with GCC 4.9.2 when compiling a high bit-depth
executable.
x265 version 1.4+382-f9a54da18713
[ 69%] Building CXX object encoder/CMakeFiles/encoder.dir/slicetype.cpp.obj
c:/x265/x265/source/encoder/slicetype.cpp: In member function 'void
x265::EstimateRow::estimateCUCost(x265::Lowres**, x265::ReferencePlanes*,
int, int, int, int, int, bool*)':
c:/x265/x265/source/encoder/slicetype.cpp:1702:121: warning: iteration 17u
invokes undefined behavior [-Waggressive-loop-optimizations]
neighbours[1][i] = (neighbours[0][i - 1] + (neighbours[0][i]
<< 1) + neighbours[0][i + 1] + 2) >> 2;
cc1plus.exe: note: containing loop
The encoder doesn't seem to use weightp:
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
I also tested a different build and weighted P-frames are not used there
either.
-Sami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20150116/98c01469/attachment.html>
More information about the x265-devel
mailing list