Home
last modified time | relevance | path

Searched refs:xcontext (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/ximage/
Dximageutil.c89 ximageutil_check_xshm_calls (GstXContext * xcontext) in ximageutil_check_xshm_calls() argument
98 g_return_val_if_fail (xcontext != NULL, FALSE); in ximageutil_check_xshm_calls()
101 XSync (xcontext->disp, FALSE); in ximageutil_check_xshm_calls()
114 ximage = XShmCreateImage (xcontext->disp, xcontext->visual, in ximageutil_check_xshm_calls()
115 xcontext->depth, ZPixmap, NULL, &SHMInfo, 1, 1); in ximageutil_check_xshm_calls()
118 XSync (xcontext->disp, FALSE); in ximageutil_check_xshm_calls()
145 if (XShmAttach (xcontext->disp, &SHMInfo) == 0) { in ximageutil_check_xshm_calls()
151 XSync (xcontext->disp, FALSE); in ximageutil_check_xshm_calls()
160 XSync (xcontext->disp, FALSE); in ximageutil_check_xshm_calls()
165 XShmDetach (xcontext->disp, &SHMInfo); in ximageutil_check_xshm_calls()
[all …]
Dgstximagesrc.c100 gst_ximageutil_ximage_destroy (ximagesrc->xcontext, ximage); in gst_ximage_src_return_buf()
126 status = XFetchName (src->xcontext->disp, root, &tmpname); in gst_ximage_src_find_window()
131 XQueryTree (src->xcontext->disp, root, &root_return, &parent_return, in gst_ximage_src_find_window()
151 if (s->xcontext != NULL) in gst_ximage_src_open_display()
155 s->xcontext = ximageutil_xcontext_get (GST_ELEMENT (s), name); in gst_ximage_src_open_display()
156 if (s->xcontext == NULL) { in gst_ximage_src_open_display()
163 s->width = s->xcontext->width; in gst_ximage_src_open_display()
164 s->height = s->xcontext->height; in gst_ximage_src_open_display()
166 s->xwindow = s->xcontext->root; in gst_ximage_src_open_display()
176 status = XGetWindowAttributes (s->xcontext->disp, s->xid, &attrs); in gst_ximage_src_open_display()
[all …]
Dximageutil.h125 gboolean ximageutil_check_xshm_calls (GstXContext * xcontext);
129 void ximageutil_xcontext_clear (GstXContext *xcontext);
130 void ximageutil_calculate_pixel_aspect_ratio (GstXContext * xcontext);
170 GstBuffer *gst_ximageutil_ximage_new (GstXContext *xcontext,
173 void gst_ximageutil_ximage_destroy (GstXContext *xcontext,
Dgstximagesrc.h51 GstXContext *xcontext; member
/third_party/gstreamer/gstplugins_base/sys/ximage/
Dximagesink.c207 XSetForeground (ximagesink->xcontext->disp, xwindow->gc, in gst_x_image_sink_xwindow_draw_borders()
208 ximagesink->xcontext->black); in gst_x_image_sink_xwindow_draw_borders()
212 XFillRectangle (ximagesink->xcontext->disp, xwindow->win, xwindow->gc, in gst_x_image_sink_xwindow_draw_borders()
218 XFillRectangle (ximagesink->xcontext->disp, xwindow->win, xwindow->gc, in gst_x_image_sink_xwindow_draw_borders()
224 XFillRectangle (ximagesink->xcontext->disp, xwindow->win, xwindow->gc, in gst_x_image_sink_xwindow_draw_borders()
230 XFillRectangle (ximagesink->xcontext->disp, xwindow->win, xwindow->gc, in gst_x_image_sink_xwindow_draw_borders()
311 if (ximagesink->xcontext->use_xshm) { in gst_x_image_sink_ximage_put()
316 XShmPutImage (ximagesink->xcontext->disp, ximagesink->xwindow->win, in gst_x_image_sink_ximage_put()
326 XPutImage (ximagesink->xcontext->disp, ximagesink->xwindow->win, in gst_x_image_sink_ximage_put()
331 XSync (ximagesink->xcontext->disp, FALSE); in gst_x_image_sink_ximage_put()
[all …]
Dximagepool.c75 if (ximagesink->xcontext == NULL) { in gst_ximage_memory_free()
90 if (ximagesink->xcontext->use_xshm) { in gst_ximage_memory_free()
94 XShmDetach (ximagesink->xcontext->disp, &mem->SHMInfo); in gst_ximage_memory_free()
95 XSync (ximagesink->xcontext->disp, FALSE); in gst_ximage_memory_free()
109 XSync (ximagesink->xcontext->disp, FALSE); in gst_ximage_memory_free()
215 GstXContext *xcontext; in ximage_memory_alloc() local
220 xcontext = ximagesink->xcontext; in ximage_memory_alloc()
247 if (xcontext->use_xshm) { in ximage_memory_alloc()
248 mem->ximage = XShmCreateImage (xcontext->disp, in ximage_memory_alloc()
249 xcontext->visual, in ximage_memory_alloc()
[all …]
Dximagepool.h109 GstXContext * xcontext);
Dximagesink.h173 GstXContext *xcontext; member
/third_party/typescript/src/testRunner/parallel/
Dshared.ts82 … global.describe.skip = global.xdescribe = global.xcontext = ts.noop as Mocha.PendingSuiteFunction;
Dworker.ts106 …context.describe.skip = context.xdescribe = context.xcontext = (title: string) => addSuite(title, …
/third_party/selinux/libsepol/src/
Dservices.c289 context_struct_t *xcontext) in get_class_info() argument
316 if (xcontext == NULL) in get_class_info()
386 context_struct_t *xcontext, in constraint_expr_eval_reason() argument
432 class_buf = get_class_info(tclass, constraint, xcontext); in constraint_expr_eval_reason()
649 c = xcontext; in constraint_expr_eval_reason()
777 xcontext ? "Validatetrans" : "Constraint", in constraint_expr_eval_reason()
/third_party/gstreamer/gstplugins_base/docs/random/
DChangeLog-0.8180 (gst_xvimagesink_expose): Check for xcontext before trying to link.
3782 (gst_xvimagesink_xcontext_clear): Free the xcontext.
13646 (gst_ximagesink_change_state), (gst_ximagesink_dispose): Move xcontext
13654 (gst_xvimagesink_init): Same xcontext cleaning than ximagesink in state
13657 set some values to the colorbalance levels before the xcontext is
13663 colorbalance levels have been set before xcontext is grabbed.
14094 when xcontext is initialized.
14304 xcontext yet, i ll do that tomorrow).
/third_party/gstreamer/gstplugins_bad/docs/random/
DChangeLog-0.82351 (gst_xvimagesink_expose): Check for xcontext before trying to link.
5953 (gst_xvimagesink_xcontext_clear): Free the xcontext.
15817 (gst_ximagesink_change_state), (gst_ximagesink_dispose): Move xcontext
15825 (gst_xvimagesink_init): Same xcontext cleaning than ximagesink in state
15828 set some values to the colorbalance levels before the xcontext is
15834 colorbalance levels have been set before xcontext is grabbed.
16265 when xcontext is initialized.
16475 xcontext yet, i ll do that tomorrow).
/third_party/gstreamer/gstplugins_base/
DChangeLog125999 xvimagesink: use xcontext->depth instead of bits in attr.max_value for colorkey
126001 format the colorkey depending on xcontext->depth. This is what they will use to
140333 …sys/xvimage/xvimagesink.c: xcontext->im_format is only for testing XShm support (as the header fil…
140337 xcontext->im_format is only for testing XShm support (as the header
140449 fiddling with the xcontext.
142890 Free the correct xcontext pointer in ximagesink's xcontext_clear.
148308 against the xcontext disappearing while returning a buffer from the
154574 NULL, adding a safety check on xcontext.
/third_party/gstreamer/gstplugins_good/
DChangeLog140388 sys/ximage/gstximagesrc.c: Error out correctly when getting xcontext fails.
140392 Error out correctly when getting xcontext fails.