Home
last modified time | relevance | path

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

/expo/packages/expo-image/src/utils/thumbhash/
H A Dthumbhash.ts82 const [p_dc, p_ac, p_scale] = encodeChannel(p, 3, 3); constant
90 (round(31.5 + 31.5 * (p_dc as number)) << 6) |
130 const p_dc = ((header24 >> 6) & 63) / 31.5 - 1; constant
169 p = p_dc,
/expo/packages/expo-image/build/utils/thumbhash/
H A Dthumbhash.js78 const [p_dc, p_ac, p_scale] = encodeChannel(p, 3, 3);
84 (round(31.5 + 31.5 * p_dc) << 6) |
121 const p_dc = ((header24 >> 6) & 63) / 31.5 - 1;
153 let l = l_dc, p = p_dc, q = q_dc, a = a_dc;
H A Dthumbhash.js.map1 …p_dc, p_ac, p_scale] = encodeChannel(p, 3, 3);\n const [q_dc, q_ac, q_scale] = encodeChannel(q, 3…
/expo/packages/expo-image/ios/
H A DThumbhash.swift163 (p_dc, p_ac, p_scale), in rgbaToThumbHash()
179 let fp_dc = round(31.5 + 31.5 * p_dc) in rgbaToThumbHash()
251 var p_dc = Float32(ip_dc) in thumbHashToRGBA() variable
254 p_dc = p_dc / 31.5 - 1 in thumbHashToRGBA()
327 var p = p_dc in thumbHashToRGBA()
/expo/ios/versioned/sdk49/ExpoImage/
H A DThumbhash.swift163 (p_dc, p_ac, p_scale), in rgbaToThumbHash()
179 let fp_dc = round(31.5 + 31.5 * p_dc) in rgbaToThumbHash()
251 var p_dc = Float32(ip_dc) in thumbHashToRGBA() variable
254 p_dc = p_dc / 31.5 - 1 in thumbHashToRGBA()
327 var p = p_dc in thumbHashToRGBA()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/thumbhash/
H A DThumbhashDecoder.kt124 val p_dc = (header24 shr 6 and 63).toFloat() / 31.5f - 1.0f in thumbHashToRGBA() constant
170 var p = p_dc in thumbHashToRGBA()
/expo/packages/expo-image/android/src/main/java/expo/modules/image/thumbhash/
H A DThumbhashDecoder.kt124 val p_dc = (header24 shr 6 and 63).toFloat() / 31.5f - 1.0f in thumbHashToRGBA() constant
170 var p = p_dc in thumbHashToRGBA()