Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dturbojpeg.c53 #define IS_POW2(x) (((x) & (x - 1)) == 0) macro
893 !IS_POW2(pad) || subsamp < 0 || subsamp >= NUMSUBOPT) in tjEncodeYUV3()
1540 if (srcBuf == NULL || pad < 0 || !IS_POW2(pad) || subsamp < 0 || in tjDecodeYUV()
1752 pad < 1 || !IS_POW2(pad) || height < 0) in tjDecompressToYUV2()