Lines Matching refs:std

29 std::string decodeStandardOnly(uint32_t dataspaceStandard) {  in decodeStandardOnly()
32 return std::string("BT709"); in decodeStandardOnly()
35 return std::string("BT601_625"); in decodeStandardOnly()
38 return std::string("BT601_625_UNADJUSTED"); in decodeStandardOnly()
41 return std::string("BT601_525"); in decodeStandardOnly()
44 return std::string("BT601_525_UNADJUSTED"); in decodeStandardOnly()
47 return std::string("BT2020"); in decodeStandardOnly()
50 return std::string("BT2020 (constant luminance)"); in decodeStandardOnly()
53 return std::string("BT470M"); in decodeStandardOnly()
56 return std::string("FILM"); in decodeStandardOnly()
59 return std::string("DCI-P3"); in decodeStandardOnly()
62 return std::string("AdobeRGB"); in decodeStandardOnly()
68 std::string decodeStandard(android_dataspace dataspace) { in decodeStandard()
73 return std::string("(deprecated) JFIF (BT601_625)"); in decodeStandard()
76 return std::string("(deprecated) BT601_625"); in decodeStandard()
79 return std::string("(deprecated) BT601_525"); in decodeStandard()
83 return std::string("(deprecated) sRGB"); in decodeStandard()
86 return std::string("(deprecated) BT709"); in decodeStandard()
89 return std::string("ARBITRARY"); in decodeStandard()
100 std::string decodeTransferOnly(uint32_t dataspaceTransfer) { in decodeTransferOnly()
103 return std::string("Unspecified"); in decodeTransferOnly()
106 return std::string("Linear"); in decodeTransferOnly()
109 return std::string("sRGB"); in decodeTransferOnly()
112 return std::string("SMPTE_170M"); in decodeTransferOnly()
115 return std::string("gamma 2.2"); in decodeTransferOnly()
118 return std::string("gamma 2.6"); in decodeTransferOnly()
121 return std::string("gamma 2.8"); in decodeTransferOnly()
124 return std::string("SMPTE 2084"); in decodeTransferOnly()
127 return std::string("STD-B67"); in decodeTransferOnly()
133 std::string decodeTransfer(android_dataspace dataspace) { in decodeTransfer()
141 return std::string("SMPTE_170M"); in decodeTransfer()
145 return std::string("Linear"); in decodeTransfer()
148 return std::string("sRGB"); in decodeTransfer()
153 return std::string(""); in decodeTransfer()
161 std::string decodeRangeOnly(uint32_t dataspaceRange) { in decodeRangeOnly()
164 return std::string("Range Unspecified"); in decodeRangeOnly()
167 return std::string("Full range"); in decodeRangeOnly()
170 return std::string("Limited range"); in decodeRangeOnly()
173 return std::string("Extended range"); in decodeRangeOnly()
179 std::string decodeRange(android_dataspace dataspace) { in decodeRange()
186 return std::string("Full range"); in decodeRange()
191 return std::string("Limited range"); in decodeRange()
197 return std::string("unspecified range"); in decodeRange()
205 std::string dataspaceDetails(android_dataspace dataspace) { in dataspaceDetails()
213 std::string decodeColorMode(ColorMode colorMode) { in decodeColorMode()
216 return std::string("ColorMode::NATIVE"); in decodeColorMode()
219 return std::string("ColorMode::BT601_625"); in decodeColorMode()
222 return std::string("ColorMode::BT601_625_UNADJUSTED"); in decodeColorMode()
225 return std::string("ColorMode::BT601_525"); in decodeColorMode()
228 return std::string("ColorMode::BT601_525_UNADJUSTED"); in decodeColorMode()
231 return std::string("ColorMode::BT709"); in decodeColorMode()
234 return std::string("ColorMode::DCI_P3"); in decodeColorMode()
237 return std::string("ColorMode::SRGB"); in decodeColorMode()
240 return std::string("ColorMode::ADOBE_RGB"); in decodeColorMode()
243 return std::string("ColorMode::DISPLAY_P3"); in decodeColorMode()
246 return std::string("ColorMode::BT2020"); in decodeColorMode()
249 return std::string("ColorMode::DISPLAY_BT2020"); in decodeColorMode()
252 return std::string("ColorMode::BT2100_PQ"); in decodeColorMode()
255 return std::string("ColorMode::BT2100_HLG"); in decodeColorMode()
261 std::string decodeColorTransform(android_color_transform colorTransform) { in decodeColorTransform()
264 return std::string("Identity"); in decodeColorTransform()
267 return std::string("Arbitrary matrix"); in decodeColorTransform()
270 return std::string("Inverse value"); in decodeColorTransform()
273 return std::string("Grayscale"); in decodeColorTransform()
276 return std::string("Correct protanopia"); in decodeColorTransform()
279 return std::string("Correct deuteranopia"); in decodeColorTransform()
282 return std::string("Correct tritanopia"); in decodeColorTransform()
290 std::string decodePixelFormat(android::PixelFormat format) { in decodePixelFormat()
293 return std::string("Unknown/None"); in decodePixelFormat()
295 return std::string("Custom"); in decodePixelFormat()
297 return std::string("Translucent"); in decodePixelFormat()
299 return std::string("Transparent"); in decodePixelFormat()
301 return std::string("Opaque"); in decodePixelFormat()
303 return std::string("RGBA_8888"); in decodePixelFormat()
305 return std::string("RGBx_8888"); in decodePixelFormat()
307 return std::string("RGBA_FP16"); in decodePixelFormat()
309 return std::string("RGBA_1010102"); in decodePixelFormat()
311 return std::string("RGB_888"); in decodePixelFormat()
313 return std::string("RGB_565"); in decodePixelFormat()
315 return std::string("BGRA_8888"); in decodePixelFormat()
317 return std::string("R_8"); in decodePixelFormat()
319 return std::string("R_16_UINT"); in decodePixelFormat()
321 return std::string("RG_1616_UINT"); in decodePixelFormat()
323 return std::string("RGBA_10101010"); in decodePixelFormat()
329 std::string decodeRenderIntent(RenderIntent renderIntent) { in decodeRenderIntent()
332 return std::string("RenderIntent::COLORIMETRIC"); in decodeRenderIntent()
334 return std::string("RenderIntent::ENHANCE"); in decodeRenderIntent()
336 return std::string("RenderIntent::TONE_MAP_COLORIMETRIC"); in decodeRenderIntent()
338 return std::string("RenderIntent::TONE_MAP_ENHANCE"); in decodeRenderIntent()
340 return std::string("Unknown RenderIntent"); in decodeRenderIntent()
343 std::string toString(const android::DeviceProductInfo::ManufactureOrModelDate& date) { in toString()
348 if (const auto* model = std::get_if<ModelYear>(&date)) { in toString()
350 } else if (const auto* manufacture = std::get_if<ManufactureYear>(&date)) { in toString()
352 } else if (const auto* manufacture = std::get_if<ManufactureWeekAndYear>(&date)) { in toString()
361 std::string toString(const android::DeviceProductInfo& info) { in toString()