Home | History | Annotate | Download | only in patchoat

Lines Matching full:input_image

193     std::unique_ptr<File> input_image(OS::OpenFileForReading(input_image_filename.c_str()));
194 if (input_image.get() == nullptr) {
199 int64_t image_len = input_image->GetLength();
205 if (sizeof(image_header) != input_image->Read(reinterpret_cast<char*>(&image_header),
207 LOG(ERROR) << "Unable to read image header from image file " << input_image->GetPath();
210 /*bool is_image_pic = */IsImagePic(image_header, input_image->GetPath());
219 input_image->Fd(),
222 input_image->GetPath().c_str(),
225 LOG(ERROR) << "Unable to map image file " << input_image->GetPath() << " : " << error_msg;
228 space_to_file_map.emplace(space, std::move(input_image));