Searched refs:littleEndian (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | formats.c | 1512 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_format_matches_format_and_type() local 1541 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 1552 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 1566 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 1577 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 1591 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && littleEndian) in _mesa_format_matches_format_and_type() 1605 if (format == GL_BGRA && type == GL_UNSIGNED_BYTE && !littleEndian) in _mesa_format_matches_format_and_type() 1620 return format == GL_BGR && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 1623 return format == GL_RGB && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() 1658 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type() [all …]
|
D | texstore.c | 282 const GLboolean littleEndian = _mesa_little_endian(); in _mesa_texstore_ycbcr() local 307 !littleEndian) { in _mesa_texstore_ycbcr()
|
/external/dng_sdk/source/ |
D | dng_stream.h | 153 void SetLittleEndian (bool littleEndian = true) 155 SetBigEndian (!littleEndian); 617 bool littleEndian = true) 619 : TempBigEndian (stream, !littleEndian)
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 37 static uint32_t get_endian_int(const uint8_t* data, bool littleEndian) { in get_endian_int() argument 38 if (littleEndian) { in get_endian_int() 59 bool littleEndian; in is_orientation_marker() local 60 if (!is_valid_endian_marker(data + 6, &littleEndian)) { in is_orientation_marker() 66 uint32_t offset = get_endian_int(data + 10, littleEndian); in is_orientation_marker() 73 uint32_t numEntries = get_endian_short(data + offset, littleEndian); in is_orientation_marker() 85 uint16_t tag = get_endian_short(data, littleEndian); in is_orientation_marker() 86 uint16_t type = get_endian_short(data + 2, littleEndian); in is_orientation_marker() 87 uint32_t count = get_endian_int(data + 4, littleEndian); in is_orientation_marker() 89 uint16_t val = get_endian_short(data + 8, littleEndian); in is_orientation_marker()
|
D | SkCodecPriv.h | 229 static inline uint16_t get_endian_short(const uint8_t* data, bool littleEndian) { in get_endian_short() argument 230 if (littleEndian) { in get_endian_short()
|
D | SkRawCodec.cpp | 542 bool littleEndian; in IsTiffHeaderValid() local 543 if (!is_valid_endian_marker(header, &littleEndian)) { in IsTiffHeaderValid() 547 return 0x2A == get_endian_short(header + 2, littleEndian); in IsTiffHeaderValid()
|
/external/gptfdisk/ |
D | gpt.cc | 503 int littleEndian = 1; in RecomputeCRCs() local 512 if ((littleEndian = IsLittleEndian()) == 0) { in RecomputeCRCs() 522 if (littleEndian == 0) { in RecomputeCRCs() 532 if (littleEndian == 0) in RecomputeCRCs() 536 if (littleEndian == 0) in RecomputeCRCs() 540 if (littleEndian == 0) { in RecomputeCRCs() 1228 int littleEndian, allOK = 1; in SaveHeader() local 1230 littleEndian = IsLittleEndian(); in SaveHeader() 1231 if (!littleEndian) in SaveHeader() 1237 if (!littleEndian) in SaveHeader() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_texture.c | 225 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 243 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 245 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 248 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 250 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_texture.c | 225 const GLubyte littleEndian = *((const GLubyte *)&ui); in radeonChoose8888TexFormat() 243 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 245 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 248 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 250 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|