Home
last modified time | relevance | path

Searched refs:segment_info (Results 1 – 14 of 14) sorted by relevance

/external/ImageMagick/coders/
Dplasma.c137 segment_info; in ReadPlasmaImage() local
173 segment_info.x1=0; in ReadPlasmaImage()
174 segment_info.y1=0; in ReadPlasmaImage()
175 segment_info.x2=(double) image->columns-1; in ReadPlasmaImage()
176 segment_info.y2=(double) image->rows-1; in ReadPlasmaImage()
187 status=PlasmaPixel(image,random_info,segment_info.x1,segment_info.y1, in ReadPlasmaImage()
189 status&=PlasmaPixel(image,random_info,segment_info.x1,(segment_info.y1+ in ReadPlasmaImage()
190 segment_info.y2)/2,exception); in ReadPlasmaImage()
191 status&=PlasmaPixel(image,random_info,segment_info.x1,segment_info.y2, in ReadPlasmaImage()
193 status&=PlasmaPixel(image,random_info,(segment_info.x1+segment_info.x2)/2, in ReadPlasmaImage()
[all …]
/external/image_io/includes/image_io/jpeg/
Djpeg_info.h34 for (const auto& segment_info : GetSegmentInfos()) { in GetSegmentInfo() local
35 if (segment_info.GetImageIndex() == image_index && in GetSegmentInfo()
36 segment_info.GetType() == type) { in GetSegmentInfo()
37 return segment_info; in GetSegmentInfo()
104 void AddSegmentInfo(const JpegSegmentInfo& segment_info) { in AddSegmentInfo() argument
105 segment_infos_.push_back(segment_info); in AddSegmentInfo()
/external/image_io/src/jpeg/
Djpeg_info_builder.cc72 JpegSegmentInfo segment_info(image_count_ - 1, data_range, kJfif); in Process() local
73 MaybeCaptureSegmentBytes(kJfif, segment, segment_info.GetMutableBytes()); in Process()
74 jpeg_info_.AddSegmentInfo(segment_info); in Process()
83 JpegSegmentInfo segment_info(image_count_ - 1, data_range, kMpf); in Process() local
84 MaybeCaptureSegmentBytes(kMpf, segment, segment_info.GetMutableBytes()); in Process()
85 jpeg_info_.AddSegmentInfo(segment_info); in Process()
117 JpegSegmentInfo segment_info(image_count_ - 1, data_range, kExif); in Process() local
118 MaybeCaptureSegmentBytes(kExif, segment, segment_info.GetMutableBytes()); in Process()
119 jpeg_info_.AddSegmentInfo(segment_info); in Process()
/external/crosvm/gpu_display/src/
Dgpu_display_x.rs186 segment_info: Box<xlib::XShmSegmentInfo>, field
194 xlib::XShmDetach(self.display.as_ptr(), self.segment_info.as_mut()); in drop()
196 shmdt(self.segment_info.shmaddr as *const _); in drop()
197 shmctl(self.segment_info.shmid, IPC_RMID, null_mut()); in drop()
204 unsafe { VolatileSlice::from_raw_parts(self.segment_info.shmaddr as *mut _, self.size) } in as_volatile_slice()
396 if buffer.segment_info.shmseg == shmseg { in handle_event()
454 let mut segment_info: Box<xlib::XShmSegmentInfo> = Box::new(zeroed()); in lazily_allocate_buffer() localVariable
461 segment_info.as_mut(), in lazily_allocate_buffer()
472 segment_info.shmid = shmget(IPC_PRIVATE, size as usize, IPC_CREAT | 0o777); in lazily_allocate_buffer()
473 if segment_info.shmid == -1 { in lazily_allocate_buffer()
[all …]
/external/ImageMagick/MagickCore/
Dmemory.c935 *segment_info; in ExpandHeap() local
960 segment_info=(DataSegmentInfo *) free_segments; in ExpandHeap()
961 free_segments=segment_info->next; in ExpandHeap()
962 segment_info->mapped=mapped; in ExpandHeap()
963 segment_info->length=blocksize; in ExpandHeap()
964 segment_info->allocation=segment; in ExpandHeap()
965 segment_info->bound=(char *) segment+blocksize; in ExpandHeap()
969 memory_pool.segments[i+1]=segment_info; in ExpandHeap()
972 block=(char *) segment_info->allocation+4*sizeof(size_t); in ExpandHeap()
977 assert(block < segment_info->bound); in ExpandHeap()
Dxwindow.c346 if (magick_windows[i]->segment_info != (void *) NULL) in DestroyXResources()
350 *segment_info; in DestroyXResources() local
352 segment_info=(XShmSegmentInfo *) magick_windows[i]->segment_info; in DestroyXResources()
353 if (segment_info != (XShmSegmentInfo *) NULL) in DestroyXResources()
354 if (segment_info[0].shmid >= 0) in DestroyXResources()
356 if (segment_info[0].shmaddr != NULL) in DestroyXResources()
357 (void) shmdt(segment_info[0].shmaddr); in DestroyXResources()
358 (void) shmctl(segment_info[0].shmid,IPC_RMID,0); in DestroyXResources()
359 segment_info[0].shmaddr=NULL; in DestroyXResources()
360 segment_info[0].shmid=(-1); in DestroyXResources()
[all …]
Dpaint.c147 *segment_info; in FloodfillPaintImage() local
197 segment_info=AcquireVirtualMemory(MaxStacksize,sizeof(*segment_stack)); in FloodfillPaintImage()
198 if (segment_info == (MemoryInfo *) NULL) in FloodfillPaintImage()
204 segment_stack=(SegmentInfo *) GetVirtualMemoryBlob(segment_info); in FloodfillPaintImage()
360 segment_info=RelinquishVirtualMemory(segment_info); in FloodfillPaintImage()
Ddisplay.c2884 segment_info; in XChopImage() local
2902 (void) memset(&segment_info,0,sizeof(segment_info)); in XChopImage()
2980 segment_info.x1=(short int) event.xbutton.x; in XChopImage()
2981 segment_info.x2=(short int) event.xbutton.x; in XChopImage()
2982 segment_info.y1=(short int) event.xbutton.y; in XChopImage()
2983 segment_info.y2=(short int) event.xbutton.y; in XChopImage()
3087 windows->image.highlight_context,&segment_info); in XChopImage()
3098 windows->image.highlight_context,&segment_info); in XChopImage()
3103 segment_info.x2=(short int) event.xmotion.x; in XChopImage()
3104 segment_info.y2=(short int) event.xmotion.y; in XChopImage()
[all …]
Dxwindow-private.h423 *segment_info; member
/external/libwebm/
Dwebm_info.cc276 const mkvparser::SegmentInfo* const segment_info = segment.GetInfo(); in OutputSegmentInfo() local
277 if (!segment_info) { in OutputSegmentInfo()
282 const int64_t timecode_scale = segment_info->GetTimeCodeScale(); in OutputSegmentInfo()
283 const int64_t duration_ns = segment_info->GetDuration(); in OutputSegmentInfo()
284 const wstring title = UTF8ToWideString(segment_info->GetTitleAsUTF8()); in OutputSegmentInfo()
286 UTF8ToWideString(segment_info->GetMuxingAppAsUTF8()); in OutputSegmentInfo()
288 UTF8ToWideString(segment_info->GetWritingAppAsUTF8()); in OutputSegmentInfo()
292 fprintf(o, " @: %lld", segment_info->m_element_start); in OutputSegmentInfo()
294 fprintf(o, " size: %lld", segment_info->m_element_size); in OutputSegmentInfo()
Dmkvmuxer_sample.cc355 const mkvparser::SegmentInfo* const segment_info = parser_segment->GetInfo(); in main() local
356 if (segment_info == NULL) { in main()
360 const long long timeCodeScale = segment_info->GetTimeCodeScale(); in main()
769 static_cast<double>(segment_info->GetDuration()) / timeCodeScale; in main()
/external/libwebm/mkvmuxer/
Dmkvmuxer.h1699 const SegmentInfo* segment_info() const { return &segment_info_; } in segment_info() function
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h1699 const SegmentInfo* segment_info() const { return &segment_info_; } in segment_info() function
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h1699 const SegmentInfo* segment_info() const { return &segment_info_; } in segment_info() function