1 /* 2 * Copyright 2018 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * @defgroup ADataSpace Data Space 19 * 20 * ADataSpace describes how to interpret colors. 21 * @{ 22 */ 23 24 /** 25 * @file data_space.h 26 */ 27 28 #ifndef ANDROID_DATA_SPACE_H 29 #define ANDROID_DATA_SPACE_H 30 31 #include <inttypes.h> 32 #include <stdint.h> 33 34 #include <sys/cdefs.h> 35 36 __BEGIN_DECLS 37 38 /** 39 * ADataSpace. 40 */ 41 enum ADataSpace : int32_t { 42 /** 43 * Default-assumption data space, when not explicitly specified. 44 * 45 * It is safest to assume the buffer is an image with sRGB primaries and 46 * encoding ranges, but the consumer and/or the producer of the data may 47 * simply be using defaults. No automatic gamma transform should be 48 * expected, except for a possible display gamma transform when drawn to a 49 * screen. 50 */ 51 ADATASPACE_UNKNOWN = 0, 52 53 /** 54 * Color-description aspects 55 * 56 * The following aspects define various characteristics of the color 57 * specification. These represent bitfields, so that a data space value 58 * can specify each of them independently. 59 */ 60 61 /** 62 * Standard aspect 63 * 64 * Defines the chromaticity coordinates of the source primaries in terms of 65 * the CIE 1931 definition of x and y specified in ISO 11664-1. 66 */ 67 ADATASPACE_STANDARD_MASK = 63 << 16, 68 69 /** 70 * Chromacity coordinates are unknown or are determined by the application. 71 * Implementations shall use the following suggested standards: 72 * 73 * All YCbCr formats: BT709 if size is 720p or larger (since most video 74 * content is letterboxed this corresponds to width is 75 * 1280 or greater, or height is 720 or greater). 76 * BT601_625 if size is smaller than 720p or is JPEG. 77 * All RGB formats: BT709. 78 * 79 * For all other formats standard is undefined, and implementations should use 80 * an appropriate standard for the data represented. 81 */ 82 ADATASPACE_STANDARD_UNSPECIFIED = 0 << 16, 83 84 /** 85 * <pre> 86 * Primaries: x y 87 * green 0.300 0.600 88 * blue 0.150 0.060 89 * red 0.640 0.330 90 * white (D65) 0.3127 0.3290</pre> 91 * 92 * Use the unadjusted KR = 0.2126, KB = 0.0722 luminance interpretation 93 * for RGB conversion. 94 */ 95 ADATASPACE_STANDARD_BT709 = 1 << 16, 96 97 /** 98 * <pre> 99 * Primaries: x y 100 * green 0.290 0.600 101 * blue 0.150 0.060 102 * red 0.640 0.330 103 * white (D65) 0.3127 0.3290</pre> 104 * 105 * KR = 0.299, KB = 0.114. This adjusts the luminance interpretation 106 * for RGB conversion from the one purely determined by the primaries 107 * to minimize the color shift into RGB space that uses BT.709 108 * primaries. 109 */ 110 ADATASPACE_STANDARD_BT601_625 = 2 << 16, 111 112 /** 113 * <pre> 114 * Primaries: x y 115 * green 0.290 0.600 116 * blue 0.150 0.060 117 * red 0.640 0.330 118 * white (D65) 0.3127 0.3290</pre> 119 * 120 * Use the unadjusted KR = 0.222, KB = 0.071 luminance interpretation 121 * for RGB conversion. 122 */ 123 ADATASPACE_STANDARD_BT601_625_UNADJUSTED = 3 << 16, 124 125 /** 126 * <pre> 127 * Primaries: x y 128 * green 0.310 0.595 129 * blue 0.155 0.070 130 * red 0.630 0.340 131 * white (D65) 0.3127 0.3290</pre> 132 * 133 * KR = 0.299, KB = 0.114. This adjusts the luminance interpretation 134 * for RGB conversion from the one purely determined by the primaries 135 * to minimize the color shift into RGB space that uses BT.709 136 * primaries. 137 */ 138 ADATASPACE_STANDARD_BT601_525 = 4 << 16, 139 140 /** 141 * <pre> 142 * Primaries: x y 143 * green 0.310 0.595 144 * blue 0.155 0.070 145 * red 0.630 0.340 146 * white (D65) 0.3127 0.3290</pre> 147 * 148 * Use the unadjusted KR = 0.212, KB = 0.087 luminance interpretation 149 * for RGB conversion (as in SMPTE 240M). 150 */ 151 ADATASPACE_STANDARD_BT601_525_UNADJUSTED = 5 << 16, 152 153 /** 154 * <pre> 155 * Primaries: x y 156 * green 0.170 0.797 157 * blue 0.131 0.046 158 * red 0.708 0.292 159 * white (D65) 0.3127 0.3290</pre> 160 * 161 * Use the unadjusted KR = 0.2627, KB = 0.0593 luminance interpretation 162 * for RGB conversion. 163 */ 164 ADATASPACE_STANDARD_BT2020 = 6 << 16, 165 166 /** 167 * <pre> 168 * Primaries: x y 169 * green 0.170 0.797 170 * blue 0.131 0.046 171 * red 0.708 0.292 172 * white (D65) 0.3127 0.3290</pre> 173 * 174 * Use the unadjusted KR = 0.2627, KB = 0.0593 luminance interpretation 175 * for RGB conversion using the linear domain. 176 */ 177 ADATASPACE_STANDARD_BT2020_CONSTANT_LUMINANCE = 7 << 16, 178 179 /** 180 * <pre> 181 * Primaries: x y 182 * green 0.21 0.71 183 * blue 0.14 0.08 184 * red 0.67 0.33 185 * white (C) 0.310 0.316</pre> 186 * 187 * Use the unadjusted KR = 0.30, KB = 0.11 luminance interpretation 188 * for RGB conversion. 189 */ 190 ADATASPACE_STANDARD_BT470M = 8 << 16, 191 192 /** 193 * <pre> 194 * Primaries: x y 195 * green 0.243 0.692 196 * blue 0.145 0.049 197 * red 0.681 0.319 198 * white (C) 0.310 0.316</pre> 199 * 200 * Use the unadjusted KR = 0.254, KB = 0.068 luminance interpretation 201 * for RGB conversion. 202 */ 203 ADATASPACE_STANDARD_FILM = 9 << 16, 204 205 /** 206 * SMPTE EG 432-1 and SMPTE RP 431-2. (DCI-P3) 207 * <pre> 208 * Primaries: x y 209 * green 0.265 0.690 210 * blue 0.150 0.060 211 * red 0.680 0.320 212 * white (D65) 0.3127 0.3290</pre> 213 */ 214 ADATASPACE_STANDARD_DCI_P3 = 10 << 16, 215 216 /** 217 * Adobe RGB 218 * <pre> 219 * Primaries: x y 220 * green 0.210 0.710 221 * blue 0.150 0.060 222 * red 0.640 0.330 223 * white (D65) 0.3127 0.3290</pre> 224 */ 225 ADATASPACE_STANDARD_ADOBE_RGB = 11 << 16, 226 227 /** 228 * Transfer aspect 229 * 230 * Transfer characteristics are the opto-electronic transfer characteristic 231 * at the source as a function of linear optical intensity (luminance). 232 * 233 * For digital signals, E corresponds to the recorded value. Normally, the 234 * transfer function is applied in RGB space to each of the R, G and B 235 * components independently. This may result in color shift that can be 236 * minized by applying the transfer function in Lab space only for the L 237 * component. Implementation may apply the transfer function in RGB space 238 * for all pixel formats if desired. 239 */ 240 ADATASPACE_TRANSFER_MASK = 31 << 22, 241 242 /** 243 * Transfer characteristics are unknown or are determined by the 244 * application. 245 * 246 * Implementations should use the following transfer functions: 247 * 248 * For YCbCr formats: use ADATASPACE_TRANSFER_SMPTE_170M 249 * For RGB formats: use ADATASPACE_TRANSFER_SRGB 250 * 251 * For all other formats transfer function is undefined, and implementations 252 * should use an appropriate standard for the data represented. 253 */ 254 ADATASPACE_TRANSFER_UNSPECIFIED = 0 << 22, 255 256 /** 257 * Linear transfer. 258 * <pre> 259 * Transfer characteristic curve: 260 * E = L 261 * L - luminance of image 0 <= L <= 1 for conventional colorimetry 262 * E - corresponding electrical signal</pre> 263 */ 264 ADATASPACE_TRANSFER_LINEAR = 1 << 22, 265 266 /** 267 * sRGB transfer. 268 * <pre> 269 * Transfer characteristic curve: 270 * E = 1.055 * L^(1/2.4) - 0.055 for 0.0031308 <= L <= 1 271 * = 12.92 * L for 0 <= L < 0.0031308 272 * L - luminance of image 0 <= L <= 1 for conventional colorimetry 273 * E - corresponding electrical signal</pre> 274 */ 275 ADATASPACE_TRANSFER_SRGB = 2 << 22, 276 277 /** 278 * SMPTE 170M transfer. 279 * <pre> 280 * Transfer characteristic curve: 281 * E = 1.099 * L ^ 0.45 - 0.099 for 0.018 <= L <= 1 282 * = 4.500 * L for 0 <= L < 0.018 283 * L - luminance of image 0 <= L <= 1 for conventional colorimetry 284 * E - corresponding electrical signal</pre> 285 */ 286 ADATASPACE_TRANSFER_SMPTE_170M = 3 << 22, 287 288 /** 289 * Display gamma 2.2. 290 * <pre> 291 * Transfer characteristic curve: 292 * E = L ^ (1/2.2) 293 * L - luminance of image 0 <= L <= 1 for conventional colorimetry 294 * E - corresponding electrical signal</pre> 295 */ 296 ADATASPACE_TRANSFER_GAMMA2_2 = 4 << 22, 297 298 /** 299 * Display gamma 2.6. 300 * <pre> 301 * Transfer characteristic curve: 302 * E = L ^ (1/2.6) 303 * L - luminance of image 0 <= L <= 1 for conventional colorimetry 304 * E - corresponding electrical signal</pre> 305 */ 306 ADATASPACE_TRANSFER_GAMMA2_6 = 5 << 22, 307 308 /** 309 * Display gamma 2.8. 310 * <pre> 311 * Transfer characteristic curve: 312 * E = L ^ (1/2.8) 313 * L - luminance of image 0 <= L <= 1 for conventional colorimetry 314 * E - corresponding electrical signal</pre> 315 */ 316 ADATASPACE_TRANSFER_GAMMA2_8 = 6 << 22, 317 318 /** 319 * SMPTE ST 2084 (Dolby Perceptual Quantizer). 320 * <pre> 321 * Transfer characteristic curve: 322 * E = ((c1 + c2 * L^n) / (1 + c3 * L^n)) ^ m 323 * c1 = c3 - c2 + 1 = 3424 / 4096 = 0.8359375 324 * c2 = 32 * 2413 / 4096 = 18.8515625 325 * c3 = 32 * 2392 / 4096 = 18.6875 326 * m = 128 * 2523 / 4096 = 78.84375 327 * n = 0.25 * 2610 / 4096 = 0.1593017578125 328 * L - luminance of image 0 <= L <= 1 for HDR colorimetry. 329 * L = 1 corresponds to 10000 cd/m2 330 * E - corresponding electrical signal</pre> 331 */ 332 ADATASPACE_TRANSFER_ST2084 = 7 << 22, 333 334 /** 335 * ARIB STD-B67 Hybrid Log Gamma. 336 * <pre> 337 * Transfer characteristic curve: 338 * E = r * L^0.5 for 0 <= L <= 1 339 * = a * ln(L - b) + c for 1 < L 340 * a = 0.17883277 341 * b = 0.28466892 342 * c = 0.55991073 343 * r = 0.5 344 * L - luminance of image 0 <= L for HDR colorimetry. L = 1 corresponds 345 * to reference white level of 100 cd/m2 346 * E - corresponding electrical signal</pre> 347 */ 348 ADATASPACE_TRANSFER_HLG = 8 << 22, 349 350 /** 351 * Range aspect 352 * 353 * Defines the range of values corresponding to the unit range of 0-1. 354 * This is defined for YCbCr only, but can be expanded to RGB space. 355 */ 356 ADATASPACE_RANGE_MASK = 7 << 27, 357 358 /** 359 * Range is unknown or are determined by the application. Implementations 360 * shall use the following suggested ranges: 361 * 362 * All YCbCr formats: limited range. 363 * All RGB or RGBA formats (including RAW and Bayer): full range. 364 * All Y formats: full range 365 * 366 * For all other formats range is undefined, and implementations should use 367 * an appropriate range for the data represented. 368 */ 369 ADATASPACE_RANGE_UNSPECIFIED = 0 << 27, 370 371 /** 372 * Full range uses all values for Y, Cb and Cr from 373 * 0 to 2^b-1, where b is the bit depth of the color format. 374 */ 375 ADATASPACE_RANGE_FULL = 1 << 27, 376 377 /** 378 * Limited range uses values 16/256*2^b to 235/256*2^b for Y, and 379 * 1/16*2^b to 15/16*2^b for Cb, Cr, R, G and B, where b is the bit depth of 380 * the color format. 381 * 382 * E.g. For 8-bit-depth formats: 383 * Luma (Y) samples should range from 16 to 235, inclusive 384 * Chroma (Cb, Cr) samples should range from 16 to 240, inclusive 385 * 386 * For 10-bit-depth formats: 387 * Luma (Y) samples should range from 64 to 940, inclusive 388 * Chroma (Cb, Cr) samples should range from 64 to 960, inclusive 389 */ 390 ADATASPACE_RANGE_LIMITED = 2 << 27, 391 392 /** 393 * Extended range is used for scRGB. Intended for use with 394 * floating point pixel formats. [0.0 - 1.0] is the standard 395 * sRGB space. Values outside the range 0.0 - 1.0 can encode 396 * color outside the sRGB gamut. 397 * Used to blend / merge multiple dataspaces on a single display. 398 */ 399 ADATASPACE_RANGE_EXTENDED = 3 << 27, 400 401 /** 402 * scRGB linear encoding 403 * 404 * The red, green, and blue components are stored in extended sRGB space, 405 * but are linear, not gamma-encoded. 406 * 407 * The values are floating point. 408 * A pixel value of 1.0, 1.0, 1.0 corresponds to sRGB white (D65) at 80 nits. 409 * Values beyond the range [0.0 - 1.0] would correspond to other colors 410 * spaces and/or HDR content. 411 * 412 * Uses extended range, linear transfer and BT.709 standard. 413 */ 414 ADATASPACE_SCRGB_LINEAR = 406913024, // ADATASPACE_STANDARD_BT709 | ADATASPACE_TRANSFER_LINEAR | 415 // ADATASPACE_RANGE_EXTENDED 416 417 /** 418 * sRGB gamma encoding 419 * 420 * The red, green and blue components are stored in sRGB space, and 421 * converted to linear space when read, using the SRGB transfer function 422 * for each of the R, G and B components. When written, the inverse 423 * transformation is performed. 424 * 425 * The alpha component, if present, is always stored in linear space and 426 * is left unmodified when read or written. 427 * 428 * Uses full range, sRGB transfer BT.709 standard. 429 */ 430 ADATASPACE_SRGB = 142671872, // ADATASPACE_STANDARD_BT709 | ADATASPACE_TRANSFER_SRGB | 431 // ADATASPACE_RANGE_FULL 432 433 /** 434 * scRGB 435 * 436 * The red, green, and blue components are stored in extended sRGB space, 437 * and gamma-encoded using the SRGB transfer function. 438 * 439 * The values are floating point. 440 * A pixel value of 1.0, 1.0, 1.0 corresponds to sRGB white (D65) at 80 nits. 441 * Values beyond the range [0.0 - 1.0] would correspond to other colors 442 * spaces and/or HDR content. 443 * 444 * Uses extended range, sRGB transfer and BT.709 standard. 445 */ 446 ADATASPACE_SCRGB = 411107328, // ADATASPACE_STANDARD_BT709 | ADATASPACE_TRANSFER_SRGB | 447 // ADATASPACE_RANGE_EXTENDED 448 449 /** 450 * Display P3 451 * 452 * Uses full range, sRGB transfer and D65 DCI-P3 standard. 453 */ 454 ADATASPACE_DISPLAY_P3 = 143261696, // ADATASPACE_STANDARD_DCI_P3 | ADATASPACE_TRANSFER_SRGB | 455 // ADATASPACE_RANGE_FULL 456 457 /** 458 * ITU-R Recommendation 2020 (BT.2020) 459 * 460 * Ultra High-definition television 461 * 462 * Uses full range, SMPTE 2084 (PQ) transfer and BT2020 standard. 463 */ 464 ADATASPACE_BT2020_PQ = 163971072, // ADATASPACE_STANDARD_BT2020 | ADATASPACE_TRANSFER_ST2084 | 465 // ADATASPACE_RANGE_FULL 466 467 /** 468 * ITU-R Recommendation 2020 (BT.2020) 469 * 470 * Ultra High-definition television 471 * 472 * Uses limited range, SMPTE 2084 (PQ) transfer and BT2020 standard. 473 */ 474 ADATASPACE_BT2020_ITU_PQ = 298188800, // ADATASPACE_STANDARD_BT2020 | ADATASPACE_TRANSFER_ST2084 475 // | ADATASPACE_RANGE_LIMITED 476 477 /** 478 * Adobe RGB 479 * 480 * Uses full range, gamma 2.2 transfer and Adobe RGB standard. 481 * 482 * Note: Application is responsible for gamma encoding the data as 483 * a 2.2 gamma encoding is not supported in HW. 484 */ 485 ADATASPACE_ADOBE_RGB = 151715840, // ADATASPACE_STANDARD_ADOBE_RGB | 486 // ADATASPACE_TRANSFER_GAMMA2_2 | ADATASPACE_RANGE_FULL 487 488 /** 489 * JPEG File Interchange Format (JFIF) 490 * 491 * Same model as BT.601-625, but all values (Y, Cb, Cr) range from 0 to 255. 492 * 493 * Uses full range, SMPTE 170M transfer and BT.601_625 standard. 494 */ 495 ADATASPACE_JFIF = 146931712, // ADATASPACE_STANDARD_BT601_625 | ADATASPACE_TRANSFER_SMPTE_170M | 496 // ADATASPACE_RANGE_FULL 497 498 /** 499 * ITU-R Recommendation 601 (BT.601) - 625-line 500 * 501 * Standard-definition television, 625 Lines (PAL) 502 * 503 * Uses limited range, SMPTE 170M transfer and BT.601_625 standard. 504 */ 505 ADATASPACE_BT601_625 = 281149440, // ADATASPACE_STANDARD_BT601_625 | 506 // ADATASPACE_TRANSFER_SMPTE_170M | ADATASPACE_RANGE_LIMITED 507 508 /** 509 * ITU-R Recommendation 601 (BT.601) - 525-line 510 * 511 * Standard-definition television, 525 Lines (NTSC) 512 * 513 * Uses limited range, SMPTE 170M transfer and BT.601_525 standard. 514 */ 515 ADATASPACE_BT601_525 = 281280512, // ADATASPACE_STANDARD_BT601_525 | 516 // ADATASPACE_TRANSFER_SMPTE_170M | ADATASPACE_RANGE_LIMITED 517 518 /** 519 * ITU-R Recommendation 2020 (BT.2020) 520 * 521 * Ultra High-definition television 522 * 523 * Uses full range, SMPTE 170M transfer and BT2020 standard. 524 */ 525 ADATASPACE_BT2020 = 147193856, // ADATASPACE_STANDARD_BT2020 | ADATASPACE_TRANSFER_SMPTE_170M | 526 // ADATASPACE_RANGE_FULL 527 528 /** 529 * ITU-R Recommendation 709 (BT.709) 530 * 531 * High-definition television 532 * 533 * Uses limited range, SMPTE 170M transfer and BT.709 standard. 534 */ 535 ADATASPACE_BT709 = 281083904, // ADATASPACE_STANDARD_BT709 | ADATASPACE_TRANSFER_SMPTE_170M | 536 // ADATASPACE_RANGE_LIMITED 537 538 /** 539 * SMPTE EG 432-1 and SMPTE RP 431-2 540 * 541 * Digital Cinema DCI-P3 542 * 543 * Uses full range, gamma 2.6 transfer and D65 DCI-P3 standard. 544 * 545 * Note: Application is responsible for gamma encoding the data as 546 * a 2.6 gamma encoding is not supported in HW. 547 */ 548 ADATASPACE_DCI_P3 = 155844608, // ADATASPACE_STANDARD_DCI_P3 | ADATASPACE_TRANSFER_GAMMA2_6 | 549 // ADATASPACE_RANGE_FULL 550 551 /** 552 * sRGB linear encoding 553 * 554 * The red, green, and blue components are stored in sRGB space, but 555 * are linear, not gamma-encoded. 556 * The RGB primaries and the white point are the same as BT.709. 557 * 558 * The values are encoded using the full range ([0,255] for 8-bit) for all 559 * components. 560 * 561 * Uses full range, linear transfer and BT.709 standard. 562 */ 563 ADATASPACE_SRGB_LINEAR = 138477568, // ADATASPACE_STANDARD_BT709 | ADATASPACE_TRANSFER_LINEAR | 564 // ADATASPACE_RANGE_FULL 565 566 /** 567 * Hybrid Log Gamma encoding 568 * 569 * Uses full range, hybrid log gamma transfer and BT2020 standard. 570 */ 571 ADATASPACE_BT2020_HLG = 168165376, // ADATASPACE_STANDARD_BT2020 | ADATASPACE_TRANSFER_HLG | 572 // ADATASPACE_RANGE_FULL 573 574 /** 575 * ITU Hybrid Log Gamma encoding 576 * 577 * Uses limited range, hybrid log gamma transfer and BT2020 standard. 578 */ 579 ADATASPACE_BT2020_ITU_HLG = 302383104, // ADATASPACE_STANDARD_BT2020 | ADATASPACE_TRANSFER_HLG | 580 // ADATASPACE_RANGE_LIMITED 581 582 /** 583 * Depth 584 * 585 * This value is valid with formats HAL_PIXEL_FORMAT_Y16 and HAL_PIXEL_FORMAT_BLOB. 586 */ 587 ADATASPACE_DEPTH = 4096, 588 589 /** 590 * ISO 16684-1:2011(E) Dynamic Depth 591 * 592 * Embedded depth metadata following the dynamic depth specification. 593 */ 594 ADATASPACE_DYNAMIC_DEPTH = 4098, 595 596 #ifndef ADATASPACE_SKIP_LEGACY_DEFINES 597 STANDARD_MASK = ADATASPACE_STANDARD_MASK, 598 STANDARD_UNSPECIFIED = ADATASPACE_STANDARD_UNSPECIFIED, 599 STANDARD_BT709 = ADATASPACE_STANDARD_BT709, 600 STANDARD_BT601_625 = ADATASPACE_STANDARD_BT601_625, 601 STANDARD_BT601_625_UNADJUSTED = ADATASPACE_STANDARD_BT601_625_UNADJUSTED, 602 STANDARD_BT601_525 = ADATASPACE_STANDARD_BT601_525, 603 STANDARD_BT601_525_UNADJUSTED = ADATASPACE_STANDARD_BT601_525_UNADJUSTED, 604 STANDARD_BT470M = ADATASPACE_STANDARD_BT470M, 605 STANDARD_BT2020 = ADATASPACE_STANDARD_BT2020, 606 STANDARD_FILM = ADATASPACE_STANDARD_FILM, 607 STANDARD_DCI_P3 = ADATASPACE_STANDARD_DCI_P3, 608 STANDARD_ADOBE_RGB = ADATASPACE_STANDARD_ADOBE_RGB, 609 TRANSFER_MASK = ADATASPACE_TRANSFER_MASK, 610 TRANSFER_UNSPECIFIED = ADATASPACE_TRANSFER_UNSPECIFIED, 611 TRANSFER_LINEAR = ADATASPACE_TRANSFER_LINEAR, 612 TRANSFER_SMPTE_170M = ADATASPACE_TRANSFER_SMPTE_170M, 613 TRANSFER_GAMMA2_2 = ADATASPACE_TRANSFER_GAMMA2_2, 614 TRANSFER_GAMMA2_6 = ADATASPACE_TRANSFER_GAMMA2_6, 615 TRANSFER_GAMMA2_8 = ADATASPACE_TRANSFER_GAMMA2_8, 616 TRANSFER_SRGB = ADATASPACE_TRANSFER_SRGB, 617 TRANSFER_ST2084 = ADATASPACE_TRANSFER_ST2084, 618 TRANSFER_HLG = ADATASPACE_TRANSFER_HLG, 619 RANGE_MASK = ADATASPACE_RANGE_MASK, 620 RANGE_UNSPECIFIED = ADATASPACE_RANGE_UNSPECIFIED, 621 RANGE_FULL = ADATASPACE_RANGE_FULL, 622 RANGE_LIMITED = ADATASPACE_RANGE_LIMITED, 623 RANGE_EXTENDED = ADATASPACE_RANGE_EXTENDED, 624 #endif 625 }; 626 627 __END_DECLS 628 629 #endif // ANDROID_DATA_SPACE_H 630 631 /** @} */ 632