Home
last modified time | relevance | path

Searched refs:data_range (Results 1 – 18 of 18) sorted by relevance

/external/image_io/includes/image_io/base/
Ddata_range.h25 DataRange(const DataRange& data_range) = default;
26 DataRange& operator=(const DataRange& data_range) = default;
50 bool Contains(const DataRange& data_range) const { in Contains() argument
51 return IsValid() && data_range.IsValid() && data_range.begin_ >= begin_ && in Contains()
52 data_range.end_ <= end_; in Contains()
61 DataRange GetIntersection(const DataRange& data_range) const { in GetIntersection() argument
62 return DataRange(std::max(data_range.begin_, begin_), in GetIntersection()
63 std::min(data_range.end_, end_)); in GetIntersection()
Ddata_segment.h39 const DataRange& data_range, const Byte* buffer,
49 static std::shared_ptr<DataSegment> Create(const DataRange& data_range, in Create() argument
51 return Create(data_range, buffer, BufferDispositionPolicy::kDelete); in Create()
152 DataSegment(const DataRange& data_range, const Byte* buffer, in DataSegment() argument
154 : data_range_(data_range), in DataSegment()
Ddata_source.h97 const DataRange& data_range, size_t best_size,
Ddata_segment_data_source.h20 TransferDataResult TransferData(const DataRange& data_range, size_t best_size,
Distream_ref_data_source.h24 TransferDataResult TransferData(const DataRange& data_range, size_t best_size,
/external/image_io/src/base/
Distream_ref_data_source.cc25 const DataRange &data_range, size_t best_size, in TransferData() argument
29 if (data_destination && data_range.IsValid()) { in TransferData()
30 size_t min_size = std::min(data_range.GetLength(), best_size); in TransferData()
33 current_data_segment_->GetDataRange().Contains(data_range)) { in TransferData()
34 status = data_destination->Transfer(data_range, *current_data_segment_); in TransferData()
39 for (size_t begin = data_range.GetBegin(); begin < data_range.GetEnd(); in TransferData()
42 size_t end = std::min(data_range.GetEnd(), begin + chunk_size); in TransferData()
Ddata_segment_data_source.cc23 const DataRange& data_range, size_t /*best_size*/, in TransferData() argument
28 shared_data_segment_->GetDataRange().GetIntersection(data_range); in TransferData()
Ddata_segment.cc12 const DataRange& data_range, const Byte* buffer, in Create() argument
15 new DataSegment(data_range, buffer, buffer_policy), in Create()
/external/image_io/src/jpeg/
Djpeg_segment.cc99 DataRange data_range(begin_value_location, end_value_location); in ExtractXmpPropertyValue() local
100 return ExtractString(data_range); in ExtractXmpPropertyValue()
127 std::string JpegSegment::ExtractString(const DataRange& data_range) const { in ExtractString()
129 if (Contains(data_range.GetBegin()) && data_range.GetEnd() <= GetEnd()) { in ExtractString()
130 size_t start_location = data_range.GetBegin(); in ExtractString()
131 size_t length = data_range.GetLength(); in ExtractString()
Djpeg_image_extractor.cc87 const DataRange& data_range = data_ranges[index]; in ExtractImage() local
91 sstream << "Segment " << index << " from " << data_range.GetBegin() in ExtractImage()
92 << " to " << data_range.GetEnd(); in ExtractImage()
96 data_range, kBestDataSize, &xmp_data_extractor); in ExtractImage()
Djpeg_info_builder.cc71 const auto& data_range = segment.GetDataRange(); in Process() local
72 JpegSegmentInfo segment_info(image_count_ - 1, data_range, kJfif); in Process()
82 const auto& data_range = segment.GetDataRange(); in Process() local
83 JpegSegmentInfo segment_info(image_count_ - 1, data_range, kMpf); in Process()
116 const auto& data_range = segment.GetDataRange(); in Process() local
117 JpegSegmentInfo segment_info(image_count_ - 1, data_range, kExif); in Process()
Djpeg_apple_depth_builder.cc239 const DataRange& data_range) { in TransferData() argument
242 data_source->TransferData(data_range, kBestDataSize, data_destination_); in TransferData()
246 if (bytes_transferred != data_range.GetLength()) { in TransferData()
252 << data_range.GetLength(); in TransferData()
/external/image_io/includes/image_io/jpeg/
Djpeg_info.h109 void SetAppleDepthImageRange(const DataRange& data_range) { in SetAppleDepthImageRange() argument
110 apple_depth_image_range_ = data_range; in SetAppleDepthImageRange()
114 void SetAppleMatteImageRange(const DataRange& data_range) { in SetAppleMatteImageRange() argument
115 apple_matte_image_range_ = data_range; in SetAppleMatteImageRange()
Djpeg_segment_info.h25 JpegSegmentInfo(size_t image_index, const DataRange& data_range, in JpegSegmentInfo() argument
27 : image_index_(image_index), data_range_(data_range), type_(type) {} in JpegSegmentInfo()
Djpeg_apple_depth_builder.h72 bool TransferData(DataSource *data_source, const DataRange& data_range);
Djpeg_segment.h137 std::string ExtractString(const DataRange& data_range) const;
/external/rust/crates/plotters/src/data/
Dmod.rs6 mod data_range; module
7 pub use data_range::fitting_range;
/external/libabigail/tests/data/test-read-dwarf/
DPR22122-libftdc.so.abi659 …ed-name='_ZN5mongo14ConstDataRangeC2EPKcS2_l' filepath='src/mongo/base/data_range.h' line='52' col…
668 …gled-name='_ZN5mongo14ConstDataRangeC2EPKcml' filepath='src/mongo/base/data_range.h' line='57' col…
3250 …' mangled-name='_ZN5mongo9DataRangeC2EPcS1_l' filepath='src/mongo/base/data_range.h' line='115' co…
5256 …idatedINS_7BSONObjEEEEENS_10StatusWithIT_EEm' filepath='src/mongo/base/data_range.h' line='83' col…