Home
last modified time | relevance | path

Searched refs:raw_image (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/qcow_utils/src/
Dqcow_utils.rs57 let raw_image = match OpenOptions::new().read(true).write(true).open(file_path) { in expand_disk_image() localVariable
63 if let Err(_) = flock(&raw_image, FlockOperation::LockExclusive, true) { in expand_disk_image()
67 let image_type = match disk::detect_image_type(&raw_image) { in expand_disk_image()
73 ImageType::Raw => Box::new(raw_image), in expand_disk_image()
74 ImageType::Qcow2 => match QcowFile::from(raw_image) { in expand_disk_image()
/external/e2fsprogs/tests/i_qcow/
Di_qcow.crc3 raw_image 467277198
8 raw_image 3688408350
13 raw_image 4159471388
Dscript31 echo "raw_image $($CRCSUM $RAW_IMG)" >> $CRC_TMP
/external/ImageMagick/coders/
Ddng.c386 *raw_image; in ReadDNGImage() local
459 raw_image=libraw_dcraw_make_mem_image(raw_info,&errcode); in ReadDNGImage()
461 (raw_image == (libraw_processed_image_t *) NULL) || in ReadDNGImage()
462 (raw_image->type != LIBRAW_IMAGE_BITMAP) || (raw_image->bits != 16) || in ReadDNGImage()
463 (raw_image->colors < 3) || (raw_image->colors > 4)) in ReadDNGImage()
465 if (raw_image != (libraw_processed_image_t *) NULL) in ReadDNGImage()
466 libraw_dcraw_clear_mem(raw_image); in ReadDNGImage()
472 image->columns=raw_image->width; in ReadDNGImage()
473 image->rows=raw_image->height; in ReadDNGImage()
474 image->depth=raw_image->bits; in ReadDNGImage()
[all …]
/external/crosvm/disk/src/
Ddisk.rs309 pub fn async_ok(raw_image: &File) -> Result<bool> { in async_ok()
310 let image_type = detect_image_type(raw_image)?; in async_ok()
318 pub fn create_async_disk_file(raw_image: File) -> Result<Box<dyn ToAsyncDisk>> { in create_async_disk_file()
319 let image_type = detect_image_type(&raw_image)?; in create_async_disk_file()
321 ImageType::Raw => Box::new(raw_image) as Box<dyn ToAsyncDisk>, in create_async_disk_file()
329 pub fn create_disk_file(raw_image: File) -> Result<Box<dyn DiskFile>> { in create_disk_file()
330 let image_type = detect_image_type(&raw_image)?; in create_disk_file()
332 ImageType::Raw => Box::new(raw_image) as Box<dyn DiskFile>, in create_disk_file()
334 Box::new(QcowFile::from(raw_image).map_err(Error::QcowError)?) as Box<dyn DiskFile> in create_disk_file()
339 Box::new(CompositeDiskFile::from_file(raw_image).map_err(Error::CreateCompositeDisk)?) in create_disk_file()
[all …]
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc1018 explicit CleanUpOnExit(vpx_image_t& raw_image) : raw_image_(raw_image) {} in Encode()
/external/crosvm/src/
Dlinux.rs495 let raw_image: File = if disk.path.parent() == Some(Path::new("/proc/self/fd")) { in create_block_device() localVariable
511 flock(&raw_image, lock_op, true).map_err(Error::DiskImageLock)?; in create_block_device()
513 let dev = if disk::async_ok(&raw_image).map_err(Error::CreateDiskError)? { in create_block_device()
514 let async_file = disk::create_async_disk_file(raw_image).map_err(Error::CreateDiskError)?; in create_block_device()
528 let disk_file = disk::create_disk_file(raw_image).map_err(Error::CreateDiskError)?; in create_block_device()