Home
last modified time | relevance | path

Searched refs:DataRange (Results 1 – 25 of 38) sorted by relevance

12

/external/image_io/includes/image_io/base/
Ddata_range.h14 class DataRange {
19 DataRange(size_t begin, size_t end) : begin_(begin), end_(end) {} in DataRange() function
23 DataRange() : begin_(0), end_(0) {} in DataRange() function
25 DataRange(const DataRange& data_range) = default;
26 DataRange& operator=(const DataRange& data_range) = default;
50 bool Contains(const DataRange& data_range) const { in Contains()
61 DataRange GetIntersection(const DataRange& data_range) const { in GetIntersection()
62 return DataRange(std::max(data_range.begin_, begin_), in GetIntersection()
68 bool operator==(const DataRange& rhs) const {
74 bool operator!=(const DataRange& rhs) const {
Ddata_context.h24 DataContext(size_t location, const DataRange& range, in DataContext()
45 const DataRange& GetRange() const { return range_; } in GetRange()
48 void SetRange(const DataRange& range) { range_ = range; } in SetRange()
123 DataRange* clipped_range,
124 DataRange* line_range) const;
128 std::string GetLineString(const DataRange& clipped_range,
129 const DataRange& line_range,
134 DataRange range_;
Ddata_segment.h12 class DataRange; variable
39 const DataRange& data_range, const Byte* buffer,
49 static std::shared_ptr<DataSegment> Create(const DataRange& data_range, in Create()
55 const DataRange& GetDataRange() const { return data_range_; } in GetDataRange()
152 DataSegment(const DataRange& data_range, const Byte* buffer, in DataSegment()
171 DataRange data_range_;
Ddata_line_map.h16 DataLine(size_t a_number, const DataRange& a_range) in DataLine()
19 DataRange range;
39 void FindDataLines(const DataRange& range, const DataSegment& segment);
Ddata_range_tracking_destination.h32 const DataRange& GetTrackedDataRange() const { return tracked_data_range_; } in GetTrackedDataRange()
43 TransferStatus Transfer(const DataRange& transfer_range,
49 DataRange tracked_data_range_;
Ddata_scanner.h109 const DataRange& GetTokenRange() const { return token_range_; } in GetTokenRange()
173 DataRange token_range_;
Ddata_destination.h52 virtual TransferStatus Transfer(const DataRange& transfer_range,
Ddata_source.h97 const DataRange& data_range, size_t best_size,
/external/image_io/includes/image_io/jpeg/
Djpeg_info.h22 const std::vector<DataRange>& GetImageRanges() const { return image_ranges_; } in GetImageRanges()
40 return JpegSegmentInfo(0, DataRange(), ""); in GetSegmentInfo()
74 const DataRange& GetAppleDepthImageRange() const { in GetAppleDepthImageRange()
79 const DataRange& GetAppleMatteImageRange() const { in GetAppleMatteImageRange()
91 const std::vector<DataRange>& GetSegmentDataRanges( in GetSegmentDataRanges()
98 void AddImageRange(const DataRange& image_range) { in AddImageRange()
109 void SetAppleDepthImageRange(const DataRange& data_range) { in SetAppleDepthImageRange()
114 void SetAppleMatteImageRange(const DataRange& data_range) { in SetAppleMatteImageRange()
127 const std::vector<DataRange>& segment_data_ranges) { in SetSegmentDataRanges()
133 std::vector<DataRange> image_ranges_;
[all …]
Djpeg_apple_depth_builder.h72 bool TransferData(DataSource *data_source, const DataRange& data_range);
87 DataRange primary_image_range_;
91 DataRange primary_image_jfif_segment_range_;
98 DataRange primary_image_mpf_segment_range_;
101 DataRange depth_image_range_;
Djpeg_xmp_info_builder.h24 const std::vector<DataRange>& GetPropertySegmentRanges() const { in GetPropertySegmentRanges()
33 std::vector<DataRange> property_segment_ranges_;
36 DataRange property_end_segment_range_;
Djpeg_segment_info.h25 JpegSegmentInfo(size_t image_index, const DataRange& data_range, in JpegSegmentInfo()
55 const DataRange& GetDataRange() const { return data_range_; } in GetDataRange()
73 DataRange data_range_;
Djpeg_xmp_info.h69 const std::vector<DataRange>& GetSegmentDataRanges() const { in GetSegmentDataRanges()
74 void SetSegmentDataRanges(const std::vector<DataRange>& segment_data_ranges) { in SetSegmentDataRanges()
86 std::vector<DataRange> segment_data_ranges_;
Djpeg_segment.h41 const DataRange& GetDataRange() const { return data_range_; } in GetDataRange()
137 std::string ExtractString(const DataRange& data_range) const;
164 DataRange data_range_;
/external/image_io/src/base/
Ddata_context.cc67 DataRange clipped_range, line_range; in GetErrorText()
111 DataRange* clipped_range, in GetClippedAndLineRange()
112 DataRange* line_range) const { in GetClippedAndLineRange()
128 *clipped_range = DataRange(line_begin, line_end); in GetClippedAndLineRange()
130 *line_range = DataRange(line_begin, line_end); in GetClippedAndLineRange()
133 std::string DataContext::GetLineString(const DataRange& clipped_range, in GetLineString()
134 const DataRange& line_range, in GetLineString()
Ddata_line_map.cc14 DataLine key(0, DataRange(location, location)); in GetDataLine()
34 void DataLineMap::FindDataLines(const DataRange& range, in FindDataLines()
44 data_lines_.back().range = DataRange(line_begin, line_end); in FindDataLines()
50 data_lines_.emplace_back(next_number++, DataRange(line_begin, line_end)); in FindDataLines()
Ddata_range_tracking_destination.cc7 tracked_data_range_ = DataRange(); in StartTransfer()
16 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer()
32 DataRange(tracked_data_range_.GetBegin(), transfer_range.GetEnd()); in Transfer()
Ddata_segment_data_source.cc14 DataRange range(begin, begin + min_size); in GetDataSegment()
23 const DataRange& data_range, size_t /*best_size*/, in TransferData()
27 DataRange transfer_range = in TransferData()
Distream_ref_data_source.cc25 const DataRange &data_range, size_t best_size, in TransferData()
75 DataSegment::Create(DataRange(begin, begin + bytes_read), buffer); in Read()
/external/image_io/src/gcontainer/
Dgcontainer.cc20 using photos_editing_formats::image_io::DataRange;
43 DataRange* first_image_range) { in ExtractFirstImageInJpeg()
94 DataRange image_range; in WriteImageAndFiles()
119 DataRange tack_on_range = tack_on_data_segment->GetDataRange(); in WriteImageAndFiles()
153 DataRange image_range; in ParseFileAfterImageFromStream()
169 const DataRange file_range(file_start_in_image, file_end_in_image); in ParseFileAfterImageFromStream()
/external/image_io/src/jpeg/
Djpeg_apple_depth_builder.cc121 primary_image_mpf_segment_range_ = DataRange(exif_end, exif_end); in GetPrimaryImageData()
143 DataRange first_range(0, first_end); in TransferPrimaryImage()
164 DataRange second_range(second_begin, in TransferPrimaryImage()
178 DataRange mpf_eoi_range(primary_image_mpf_segment_range_.GetEnd(), in TransferPrimaryImage()
199 DataRange jfif_range(0, jfif_size); in TransferNewJfifSegment()
228 DataRange mpf_range(0, mpf_segment_size); in TransferNewMpfSegment()
239 const DataRange& data_range) { in TransferData()
Djpeg_image_extractor.cc40 bool JpegImageExtractor::ExtractImage(const DataRange& image_range, in ExtractImage()
79 const vector<DataRange>& data_ranges = in ExtractImage()
87 const DataRange& data_range = data_ranges[index]; in ExtractImage()
Djpeg_xmp_data_extractor.cc25 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer()
72 DataRange xmp_data_range(xmp_data_begin, xmp_data_end); in Transfer()
Djpeg_segment.cc99 DataRange data_range(begin_value_location, end_value_location); in ExtractXmpPropertyValue()
127 std::string JpegSegment::ExtractString(const DataRange& data_range) const { in ExtractString()
/external/image_io/src/extras/
Dbase64_decoder_data_destination.cc63 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer()
176 DataRange decoded_range(decoded_location, next_decoded_location_); in Transfer()

12