/external/image_io/includes/image_io/base/ |
D | data_range.h | 14 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 {
|
D | data_context.h | 24 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_;
|
D | data_segment.h | 12 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_;
|
D | data_line_map.h | 16 DataLine(size_t a_number, const DataRange& a_range) in DataLine() 19 DataRange range; 39 void FindDataLines(const DataRange& range, const DataSegment& segment);
|
D | data_range_tracking_destination.h | 32 const DataRange& GetTrackedDataRange() const { return tracked_data_range_; } in GetTrackedDataRange() 43 TransferStatus Transfer(const DataRange& transfer_range, 49 DataRange tracked_data_range_;
|
D | data_scanner.h | 109 const DataRange& GetTokenRange() const { return token_range_; } in GetTokenRange() 173 DataRange token_range_;
|
D | data_destination.h | 52 virtual TransferStatus Transfer(const DataRange& transfer_range,
|
D | data_source.h | 97 const DataRange& data_range, size_t best_size,
|
/external/image_io/includes/image_io/jpeg/ |
D | jpeg_info.h | 22 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 …]
|
D | jpeg_apple_depth_builder.h | 72 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_;
|
D | jpeg_xmp_info_builder.h | 24 const std::vector<DataRange>& GetPropertySegmentRanges() const { in GetPropertySegmentRanges() 33 std::vector<DataRange> property_segment_ranges_; 36 DataRange property_end_segment_range_;
|
D | jpeg_segment_info.h | 25 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_;
|
D | jpeg_xmp_info.h | 69 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_;
|
D | jpeg_segment.h | 41 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/ |
D | data_context.cc | 67 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()
|
D | data_line_map.cc | 14 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()
|
D | data_range_tracking_destination.cc | 7 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()
|
D | data_segment_data_source.cc | 14 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()
|
D | istream_ref_data_source.cc | 25 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/ |
D | gcontainer.cc | 20 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/ |
D | jpeg_apple_depth_builder.cc | 121 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()
|
D | jpeg_image_extractor.cc | 40 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()
|
D | jpeg_xmp_data_extractor.cc | 25 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer() 72 DataRange xmp_data_range(xmp_data_begin, xmp_data_end); in Transfer()
|
D | jpeg_segment.cc | 99 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/ |
D | base64_decoder_data_destination.cc | 63 const DataRange& transfer_range, const DataSegment& data_segment) { in Transfer() 176 DataRange decoded_range(decoded_location, next_decoded_location_); in Transfer()
|