Searched refs:isPow2 (Results 1 – 9 of 9) sorted by relevance
25 inline bool isPow2(int x) in isPow2() function
26 inline bool isPow2(int x) in isPow2() function
180 inline bool isPow2(int x) in isPow2() function
53 #define isPow2(x) (((x) & (x - 1)) == 0) macro883 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()
978 } 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()
760 bool isPow2() const;
424 ImmediateValue::isPow2() const in isPow2() function in nv50_ir::ImmediateValue
545 ASSERT(alignment > 0 && sw::isPow2(alignment)); in ComputePitch()