Searched refs:SHMInfo (Results 1 – 6 of 6) sorted by relevance
/third_party/gstreamer/gstplugins_base/sys/ximage/ |
D | ximagepool.c | 80 if (mem->SHMInfo.shmaddr != ((void *) -1)) { in gst_ximage_memory_free() 81 shmdt (mem->SHMInfo.shmaddr); in gst_ximage_memory_free() 91 if (mem->SHMInfo.shmaddr != ((void *) -1)) { in gst_ximage_memory_free() 93 mem->SHMInfo.shmid, mem->SHMInfo.shmseg); in gst_ximage_memory_free() 94 XShmDetach (ximagesink->xcontext->disp, &mem->SHMInfo); in gst_ximage_memory_free() 96 shmdt (mem->SHMInfo.shmaddr); in gst_ximage_memory_free() 97 mem->SHMInfo.shmaddr = (void *) -1; in gst_ximage_memory_free() 163 sub->SHMInfo = mem->SHMInfo; in ximage_memory_share() 228 mem->SHMInfo.shmaddr = ((void *) -1); in ximage_memory_alloc() 229 mem->SHMInfo.shmid = -1; in ximage_memory_alloc() [all …]
|
D | ximagepool.h | 69 XShmSegmentInfo SHMInfo; member
|
/third_party/gstreamer/gstplugins_good/sys/ximage/ |
D | ximageutil.c | 47 emeta->SHMInfo.shmaddr = ((void *) -1); in gst_meta_ximage_init() 48 emeta->SHMInfo.shmid = -1; in gst_meta_ximage_init() 49 emeta->SHMInfo.readOnly = TRUE; in gst_meta_ximage_init() 92 XShmSegmentInfo SHMInfo; in ximageutil_check_xshm_calls() local 104 SHMInfo.shmaddr = ((void *) -1); in ximageutil_check_xshm_calls() 105 SHMInfo.shmid = -1; in ximageutil_check_xshm_calls() 115 xcontext->depth, ZPixmap, NULL, &SHMInfo, 1, 1); in ximageutil_check_xshm_calls() 125 SHMInfo.shmid = shmget (IPC_PRIVATE, size, IPC_CREAT | 0777); in ximageutil_check_xshm_calls() 126 if (SHMInfo.shmid == -1) { in ximageutil_check_xshm_calls() 132 SHMInfo.shmaddr = shmat (SHMInfo.shmid, 0, 0); in ximageutil_check_xshm_calls() [all …]
|
D | ximageutil.h | 156 XShmSegmentInfo SHMInfo; member
|
/third_party/gstreamer/gstplugins_base/sys/xvimage/ |
D | xvimageallocator.c | 64 XShmSegmentInfo SHMInfo; member 164 if (mem->SHMInfo.shmaddr != ((void *) -1)) { in gst_xvimage_allocator_free() 166 mem->SHMInfo.shmid, mem->SHMInfo.shmseg); in gst_xvimage_allocator_free() 167 XShmDetach (context->disp, &mem->SHMInfo); in gst_xvimage_allocator_free() 169 shmdt (mem->SHMInfo.shmaddr); in gst_xvimage_allocator_free() 170 mem->SHMInfo.shmaddr = (void *) -1; in gst_xvimage_allocator_free() 238 sub->SHMInfo = mem->SHMInfo; in gst_xvimage_memory_share() 365 mem->SHMInfo.shmaddr = ((void *) -1); in gst_xvimage_allocator_alloc() 366 mem->SHMInfo.shmid = -1; in gst_xvimage_allocator_alloc() 384 &mem->SHMInfo); in gst_xvimage_allocator_alloc() [all …]
|
D | xvcontext.c | 466 XShmSegmentInfo SHMInfo; in gst_xvcontext_check_xshm_calls() local 478 SHMInfo.shmaddr = ((void *) -1); in gst_xvcontext_check_xshm_calls() 479 SHMInfo.shmid = -1; in gst_xvcontext_check_xshm_calls() 488 context->im_format, NULL, 1, 1, &SHMInfo); in gst_xvcontext_check_xshm_calls() 497 SHMInfo.shmid = shmget (IPC_PRIVATE, size, IPC_CREAT | 0777); in gst_xvcontext_check_xshm_calls() 498 if (SHMInfo.shmid == -1) { in gst_xvcontext_check_xshm_calls() 504 SHMInfo.shmaddr = shmat (SHMInfo.shmid, NULL, 0); in gst_xvcontext_check_xshm_calls() 505 if (SHMInfo.shmaddr == ((void *) -1)) { in gst_xvcontext_check_xshm_calls() 508 shmctl (SHMInfo.shmid, IPC_RMID, NULL); in gst_xvcontext_check_xshm_calls() 512 xvimage->data = SHMInfo.shmaddr; in gst_xvcontext_check_xshm_calls() [all …]
|