Home
last modified time | relevance | path

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

/external/image_io/src/jpeg/
Djpeg_segment_builder.cc37 if (byte_datum.GetType() == ByteData::kAscii0) { in GetByteDataValues()
48 hex_string += ByteData::Byte2Hex((size >> 8) & 0xFF); in AddMarkerAndSize()
49 hex_string += ByteData::Byte2Hex(size & 0xFF); in AddMarkerAndSize()
51 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSize()
60 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSizePlaceholder()
68 const ByteData& byte_datum = byte_data_[index]; in ReplaceSizePlaceholder()
69 if (byte_datum.GetType() != ByteData::kHex) { in ReplaceSizePlaceholder()
77 if (!ByteData::Hex2Byte(value[0], value[1], &flag) || in ReplaceSizePlaceholder()
78 !ByteData::Hex2Byte(value[2], value[3], &type)) { in ReplaceSizePlaceholder()
86 value.replace(2, 2, ByteData::Byte2Hex((size >> 8) & 0xFF)); in ReplaceSizePlaceholder()
[all …]
Djpeg_apple_depth_builder.cc212 vector<ByteData> mpf_bytes; in TransferNewMpfSegment()
214 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex0); in TransferNewMpfSegment()
215 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
216 ByteData::Size2BigEndianHex(primary_image_length)); in TransferNewMpfSegment()
217 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex1); in TransferNewMpfSegment()
218 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
219 ByteData::Size2BigEndianHex(depth_image_length)); in TransferNewMpfSegment()
220 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
221 ByteData::Size2BigEndianHex(depth_image_offset)); in TransferNewMpfSegment()
222 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex2); in TransferNewMpfSegment()
/external/image_io/src/base/
Dbyte_buffer.cc14 static size_t WriteBytes(const ByteData& byte_data, Byte* pos) { in WriteBytes()
19 if (byte_data.GetType() == ByteData::kHex) { in WriteBytes()
22 if (!ByteData::Hex2Byte(value[2 * index], value[2 * index + 1], pos++)) { in WriteBytes()
42 ByteBuffer::ByteBuffer(const std::vector<ByteData>& byte_data_vector) { in ByteBuffer()
Ddata_context.cc154 ss << "\\x" << ByteData::Byte2Hex(cbyte); in GetLineString()
/external/image_io/includes/image_io/jpeg/
Djpeg_segment_builder.h27 const std::vector<ByteData>& GetByteData() const { return byte_data_; } in GetByteData()
37 void AddByteData(const ByteData& byte_data) { in AddByteData()
134 std::vector<ByteData> byte_data_;
/external/image_io/includes/image_io/base/
Dbyte_data.h14 class ByteData {
32 ByteData(Type type, const std::string& value) : type_(type), value_(value) {} in ByteData() function
Dbyte_buffer.h29 explicit ByteBuffer(const std::vector<ByteData>& byte_data_vector);
/external/flatbuffers/dart/lib/
Dflat_buffers.dart29 final ByteData _buffer;
33 ByteData buf = new ByteData.view(uint8List.buffer, uint8List.offsetInBytes);
116 ByteData _buf;
442 _buf = new ByteData(initialSize);
719 ByteData newBuf = new ByteData(newCapacity);
735 static void _setFloat64AtTail(ByteData _buf, int tail, double x) {
739 static void _setFloat32AtTail(ByteData _buf, int tail, double x) {
743 static void _setUint64AtTail(ByteData _buf, int tail, int x) {
747 static void _setInt64AtTail(ByteData _buf, int tail, int x) {
751 static void _setInt32AtTail(ByteData _buf, int tail, int x) {
[all …]
/external/ImageMagick/MagickCore/
Dmime-private.h29 ByteData, enumerator
Dmime.c275 case ByteData: in GetMimeInfo()
Doption.c1317 { "Byte", ByteData, UndefinedOptionFlag, MagickFalse },
/external/flatbuffers/dart/test/
Dflat_buffers_test.dart160 // Convert byteList to a ByteData so that we can read data from it.
161 ByteData byteData = byteList.buffer.asByteData(byteList.offsetInBytes);
229 // Convert byteList to a ByteData so that we can read data from it.
230 ByteData byteData = byteList.buffer.asByteData(byteList.offsetInBytes);