/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | gdkpixbufsink.c | 84 check_last_pixbuf (GstGdkPixbufSinkTestContext * ctx, gpointer pixbuf) in check_last_pixbuf() argument 91 ret = (last_pb == pixbuf); in check_last_pixbuf() 104 GdkPixbuf *pixbuf; in check_message_pixbuf() local 115 pixbuf = in check_message_pixbuf() 117 fail_unless (GDK_IS_PIXBUF (pixbuf)); in check_message_pixbuf() 118 fail_unless_equals_int (gdk_pixbuf_get_n_channels (pixbuf), channels); in check_message_pixbuf() 119 fail_unless_equals_int (gdk_pixbuf_get_has_alpha (pixbuf), has_alpha); in check_message_pixbuf() 120 fail_unless_equals_int (gdk_pixbuf_get_width (pixbuf), 319); in check_message_pixbuf() 121 fail_unless_equals_int (gdk_pixbuf_get_height (pixbuf), 241); in check_message_pixbuf() 123 return pixbuf; in check_message_pixbuf() [all …]
|
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/ |
D | gstgdkpixbufdec.c | 282 GdkPixbuf *pixbuf; in gst_gdk_pixbuf_dec_flush() local 293 pixbuf = gdk_pixbuf_loader_get_pixbuf (filter->pixbuf_loader); in gst_gdk_pixbuf_dec_flush() 294 if (pixbuf == NULL) in gst_gdk_pixbuf_dec_flush() 297 width = gdk_pixbuf_get_width (pixbuf); in gst_gdk_pixbuf_dec_flush() 298 height = gdk_pixbuf_get_height (pixbuf); in gst_gdk_pixbuf_dec_flush() 307 n_channels = gdk_pixbuf_get_n_channels (pixbuf); in gst_gdk_pixbuf_dec_flush() 346 in_pix = gdk_pixbuf_get_pixels (pixbuf); in gst_gdk_pixbuf_dec_flush() 347 in_rowstride = gdk_pixbuf_get_rowstride (pixbuf); in gst_gdk_pixbuf_dec_flush() 395 GstGdkPixbufDec *pixbuf; in gst_gdk_pixbuf_dec_sink_event() local 397 pixbuf = GST_GDK_PIXBUF_DEC (parent); in gst_gdk_pixbuf_dec_sink_event() [all …]
|
D | gstgdkpixbufoverlay.c | 77 GdkPixbuf * pixbuf); 316 overlay->pixbuf = NULL; in gst_gdk_pixbuf_overlay_init() 340 GdkPixbuf *pixbuf = g_value_get_object (value); in gst_gdk_pixbuf_overlay_set_property() local 342 if (overlay->pixbuf != NULL) in gst_gdk_pixbuf_overlay_set_property() 343 g_object_unref (overlay->pixbuf); in gst_gdk_pixbuf_overlay_set_property() 344 if (pixbuf) { in gst_gdk_pixbuf_overlay_set_property() 345 overlay->pixbuf = g_object_ref (pixbuf); in gst_gdk_pixbuf_overlay_set_property() 346 gst_gdk_pixbuf_overlay_set_pixbuf (overlay, g_object_ref (pixbuf)); in gst_gdk_pixbuf_overlay_set_property() 348 overlay->pixbuf = NULL; in gst_gdk_pixbuf_overlay_set_property() 414 g_value_set_object (value, overlay->pixbuf); in gst_gdk_pixbuf_overlay_get_property() [all …]
|
D | meson.build | 8 gdkpixbuf_dep = dependency('gdk-pixbuf-2.0', version : '>=2.8.0', required : get_option('gdk-pixbuf…
|
D | gstgdkpixbufsink.c | 320 GdkPixbuf *pixbuf; in gst_gdk_pixbuf_sink_handle_buffer() local 325 pixbuf = gst_gdk_pixbuf_sink_get_pixbuf_from_buffer (sink, buf); in gst_gdk_pixbuf_sink_handle_buffer() 334 sink->last_pixbuf = pixbuf; /* take ownership */ in gst_gdk_pixbuf_sink_handle_buffer() 338 if (G_UNLIKELY (pixbuf == NULL)) in gst_gdk_pixbuf_sink_handle_buffer() 359 "pixbuf", GDK_TYPE_PIXBUF, pixbuf, in gst_gdk_pixbuf_sink_handle_buffer()
|
D | gstgdkpixbufoverlay.h | 58 GdkPixbuf * pixbuf; member
|
/third_party/pixman/demos/ |
D | gtk-utils.c | 9 GdkPixbuf *pixbuf; in pixman_image_from_file() local 18 if (!(pixbuf = gdk_pixbuf_new_from_file (filename, NULL))) in pixman_image_from_file() 23 width = gdk_pixbuf_get_width (pixbuf); in pixman_image_from_file() 24 height = gdk_pixbuf_get_height (pixbuf); in pixman_image_from_file() 25 n_channels = gdk_pixbuf_get_n_channels (pixbuf); in pixman_image_from_file() 26 gdk_data = gdk_pixbuf_get_pixels (pixbuf); in pixman_image_from_file() 27 stride = gdk_pixbuf_get_rowstride (pixbuf); in pixman_image_from_file() 68 g_object_unref (pixbuf); in pixman_image_from_file() 78 GdkPixbuf *pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, in pixbuf_from_argb32() local 80 int p_stride = gdk_pixbuf_get_rowstride (pixbuf); in pixbuf_from_argb32() [all …]
|
D | composite-test.c | 138 GdkPixbuf *pixbuf; in main() local 152 pixbuf = pixbuf_from_argb32 (pixman_image_get_data (dest_img), in main() 154 image = gtk_image_new_from_pixbuf (pixbuf); in main() 162 g_object_unref (pixbuf); in main()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_videotoolbox.c | 109 CVPixelBufferRef pixbuf = (CVPixelBufferRef)hwmap->source->data[3]; in vt_unmap() local 111 CVPixelBufferUnlockBaseAddress(pixbuf, (uintptr_t)hwmap->priv); in vt_unmap() 117 CVPixelBufferRef pixbuf = (CVPixelBufferRef)src->data[3]; in vt_map_frame() local 118 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in vt_map_frame() 132 if (CVPixelBufferGetWidth(pixbuf) != ctx->width || in vt_map_frame() 133 CVPixelBufferGetHeight(pixbuf) != ctx->height) { in vt_map_frame() 141 err = CVPixelBufferLockBaseAddress(pixbuf, map_flags); in vt_map_frame() 147 if (CVPixelBufferIsPlanar(pixbuf)) { in vt_map_frame() 148 int planes = CVPixelBufferGetPlaneCount(pixbuf); in vt_map_frame() 150 dst->data[i] = CVPixelBufferGetBaseAddressOfPlane(pixbuf, i); in vt_map_frame() [all …]
|
/third_party/ffmpeg/fftools/ |
D | ffmpeg_videotoolbox.c | 40 CVPixelBufferRef pixbuf = (CVPixelBufferRef)frame->data[3]; in videotoolbox_retrieve_data() local 41 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in videotoolbox_retrieve_data() 74 err = CVPixelBufferLockBaseAddress(pixbuf, kCVPixelBufferLock_ReadOnly); in videotoolbox_retrieve_data() 80 if (CVPixelBufferIsPlanar(pixbuf)) { in videotoolbox_retrieve_data() 82 planes = CVPixelBufferGetPlaneCount(pixbuf); in videotoolbox_retrieve_data() 84 data[i] = CVPixelBufferGetBaseAddressOfPlane(pixbuf, i); in videotoolbox_retrieve_data() 85 linesize[i] = CVPixelBufferGetBytesPerRowOfPlane(pixbuf, i); in videotoolbox_retrieve_data() 88 data[0] = CVPixelBufferGetBaseAddress(pixbuf); in videotoolbox_retrieve_data() 89 linesize[0] = CVPixelBufferGetBytesPerRow(pixbuf); in videotoolbox_retrieve_data() 97 CVPixelBufferUnlockBaseAddress(pixbuf, kCVPixelBufferLock_ReadOnly); in videotoolbox_retrieve_data()
|
/third_party/flutter/skia/third_party/externals/wuffs/fuzz/c/std/ |
D | gif_fuzzer.c | 53 wuffs_base__slice_u8 pixbuf = ((wuffs_base__slice_u8){}); in fuzz() local 101 pixbuf = wuffs_base__malloc_slice_u8(malloc, n); in fuzz() 102 if (!pixbuf.ptr) { in fuzz() 109 status = wuffs_base__pixel_buffer__set_from_slice(&pb, &ic.pixcfg, pixbuf); in fuzz() 154 free(pixbuf.ptr); in fuzz()
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | corevideobuffer.c | 39 meta->pixbuf = (CVPixelBufferRef) cvbuf; in gst_core_video_meta_add() 47 meta->pixbuf = NULL; in gst_core_video_meta_init() 240 CVPixelBufferRef pixbuf = NULL; in gst_core_video_buffer_new() local 248 pixbuf = (CVPixelBufferRef) cvbuf; in gst_core_video_buffer_new() 256 meta->pixbuf = pixbuf; in gst_core_video_buffer_new() 258 gst_core_video_wrap_pixel_buffer (buf, vinfo, pixbuf, cache, NULL); in gst_core_video_buffer_new()
|
D | corevideobuffer.h | 41 CVPixelBufferRef pixbuf; member
|
D | corevideomemory.h | 86 gst_apple_core_video_pixel_buffer_new (CVPixelBufferRef pixbuf);
|
/third_party/flutter/skia/third_party/externals/wuffs/example/gifplayer/ |
D | gifplayer.c | 98 wuffs_base__slice_u8 pixbuf = {0}; variable 250 pixbuf = wuffs_base__malloc_slice_u8( in try_allocate() 252 if (!pixbuf.ptr) { in try_allocate() 282 free(pixbuf.ptr); in allocate() 283 pixbuf = wuffs_base__make_slice_u8(NULL, 0); in allocate() 338 status = wuffs_base__pixel_buffer__set_from_slice(&pb, &ic.pixcfg, pixbuf); in play() 342 memset(pixbuf.ptr, 0, pixbuf.len); in play()
|
/third_party/gstreamer/gstplugins_base/tests/examples/snapshot/ |
D | snapshot.c | 35 GdkPixbuf *pixbuf; in main() local 139 pixbuf = gdk_pixbuf_new_from_data (map.data, in main() 144 gdk_pixbuf_save (pixbuf, "snapshot.png", "png", &error, NULL); in main()
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | gdkpixbufoverlay-test.c | 97 GdkPixbuf *pixbuf; in create_overlay_pixbuf() local 131 pixbuf = in create_overlay_pixbuf() 135 g_assert (pixbuf != NULL); in create_overlay_pixbuf() 139 return pixbuf; in create_overlay_pixbuf()
|
D | gdkpixbufsink-test.c | 149 GdkPixbuf *pixbuf = NULL; in bus_message_cb() local 167 pixbuf = GDK_PIXBUF (g_value_dup_object (val)); in bus_message_cb() 168 gtk_image_set_from_pixbuf (GTK_IMAGE (info->img), pixbuf); in bus_message_cb() 169 g_object_unref (pixbuf); in bus_message_cb()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstgldifferencematte.c | 216 differencematte->pixbuf = NULL; in gst_gl_differencematte_gl_stop() 266 differencematte->pixbuf = NULL; in gst_gl_differencematte_init() 456 differencematte->pixbuf = NULL; in gst_gl_differencematte_filter_texture() 465 if (differencematte->pixbuf) { in gst_gl_differencematte_filter_texture() 466 free (differencematte->pixbuf); in gst_gl_differencematte_filter_texture() 467 differencematte->pixbuf = NULL; in gst_gl_differencematte_filter_texture() 562 differencematte->pixbuf = in gst_gl_differencematte_loader() 568 rows[y] = (guchar *) (differencematte->pixbuf + y * width * 4); in gst_gl_differencematte_loader()
|
D | gstgldifferencematte.h | 46 guchar *pixbuf; member
|
/third_party/ffmpeg/libavcodec/ |
D | videotoolbox.c | 51 CVPixelBufferRef pixbuf; member 59 CVPixelBufferRelease(ref->pixbuf); in videotoolbox_buffer_release() 88 if (!ref->pixbuf) { in videotoolbox_postproc_frame() 99 frame->data[3] = (uint8_t*)ref->pixbuf; in videotoolbox_postproc_frame() 436 CVPixelBufferRef pixbuf = (CVPixelBufferRef)vtctx->frame; in videotoolbox_buffer_create() local 437 OSType pixel_format = CVPixelBufferGetPixelFormatType(pixbuf); in videotoolbox_buffer_create() 439 int width = CVPixelBufferGetWidth(pixbuf); in videotoolbox_buffer_create() 440 int height = CVPixelBufferGetHeight(pixbuf); in videotoolbox_buffer_create() 453 if (ref->pixbuf) in videotoolbox_buffer_create() 454 CVPixelBufferRelease(ref->pixbuf); in videotoolbox_buffer_create() [all …]
|
/third_party/flutter/skia/third_party/externals/wuffs/test/data/artificial/ |
D | gif-frame-out-of-bounds.gif.make-artificial.txt | 44 # - gdk-pixbuf chooses policy 1: 45 # https://github.com/GNOME/gdk-pixbuf/blob/c1fd9f5d6592c0183c54efc806b3ca6871e1f496/gdk-pixbuf/i…
|
/third_party/flutter/skia/src/codec/ |
D | SkWuffsCodec.cpp | 135 wuffs_base__pixel_buffer pixbuf, 253 wuffs_base__pixel_buffer pixbuf, in SkWuffsCodec() argument 269 fPixelBuffer(pixbuf), in SkWuffsCodec() 844 wuffs_base__pixel_buffer pixbuf = wuffs_base__null_pixel_buffer(); in SkWuffsCodec_MakeFromStream() local 846 const char* status = pixbuf.set_from_slice( in SkWuffsCodec_MakeFromStream() 869 std::move(workbuf_ptr), workbuf_len, imgcfg, pixbuf, iobuf)); in SkWuffsCodec_MakeFromStream()
|
/third_party/pixman/pixman/ |
D | pixman-mips-dspr2.c | 306 PIXMAN_STD_FAST_PATH (SRC, pixbuf, pixbuf, a8r8g8b8, mips_composite_src_pixbuf_8888), 307 PIXMAN_STD_FAST_PATH (SRC, pixbuf, pixbuf, a8b8g8r8, mips_composite_src_rpixbuf_8888),
|
/third_party/gstreamer/gstplugins_base/ext/pango/ |
D | gsttextrender.c | 403 gst_text_renderer_image_to_ayuv (GstTextRender * render, guchar * pixbuf, in gst_text_renderer_image_to_ayuv() argument 416 p = pixbuf + (ypos + y) * stride + xpos * 4; in gst_text_renderer_image_to_ayuv() 440 gst_text_renderer_image_to_argb (GstTextRender * render, guchar * pixbuf, in gst_text_renderer_image_to_argb() argument 451 p = pixbuf + (ypos + i) * stride + xpos * 4; in gst_text_renderer_image_to_argb()
|