Home
last modified time | relevance | path

Searched refs:isPow2 (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/src/OpenGL/libGLES_CM/
Dmathutil.h25 inline bool isPow2(int x) in isPow2() function
/external/swiftshader/src/OpenGL/libGLESv2/
Dmathutil.h26 inline bool isPow2(int x) in isPow2() function
/external/swiftshader/src/Common/
DMath.hpp180 inline bool isPow2(int x) in isPow2() function
/external/swiftshader/src/System/
DMath.hpp180 inline bool isPow2(int x) in isPow2() function
/external/libjpeg-turbo/
Dturbojpeg.c53 #define isPow2(x) (((x) & (x - 1)) == 0) macro
883 if (width <= 0 || height <= 0 || dstBuf == NULL || pad < 0 || !isPow2(pad) || in tjEncodeYUV3()
1531 if (srcBuf == NULL || pad < 0 || !isPow2(pad) || subsamp < 0 || in tjDecodeYUV()
1743 pad < 1 || !isPow2(pad) || height < 0) in tjDecompressToYUV2()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp978 } else if (!imm0.isNegative() && imm0.isPow2()) { in opnd()
1017 if (!isFloatType(i->sType) && !imm0.isNegative() && imm0.isPow2()) { in opnd()
1056 if (s == 1 && !imm0.isNegative() && imm0.isPow2() && in opnd()
1097 if (i->dType == TYPE_U32 && imm0.isPow2()) { in opnd()
1167 if (s == 1 && imm0.isPow2()) { in opnd()
Dnv50_ir.h760 bool isPow2() const;
Dnv50_ir.cpp424 ImmediateValue::isPow2() const in isPow2() function in nv50_ir::ImmediateValue
/external/swiftshader/src/OpenGL/common/
DImage.cpp545 ASSERT(alignment > 0 && sw::isPow2(alignment)); in ComputePitch()