Home
last modified time | relevance | path

Searched refs:pixbuf (Results 1 – 25 of 38) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dgdkpixbufsink.c84 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/
Dgstgdkpixbufdec.c286 GdkPixbuf *pixbuf; in gst_gdk_pixbuf_dec_flush() local
297 pixbuf = gdk_pixbuf_loader_get_pixbuf (filter->pixbuf_loader); in gst_gdk_pixbuf_dec_flush()
298 if (pixbuf == NULL) in gst_gdk_pixbuf_dec_flush()
301 width = gdk_pixbuf_get_width (pixbuf); in gst_gdk_pixbuf_dec_flush()
302 height = gdk_pixbuf_get_height (pixbuf); in gst_gdk_pixbuf_dec_flush()
311 n_channels = gdk_pixbuf_get_n_channels (pixbuf); in gst_gdk_pixbuf_dec_flush()
350 in_pix = gdk_pixbuf_get_pixels (pixbuf); in gst_gdk_pixbuf_dec_flush()
351 in_rowstride = gdk_pixbuf_get_rowstride (pixbuf); in gst_gdk_pixbuf_dec_flush()
400 GstGdkPixbufDec *pixbuf; in gst_gdk_pixbuf_dec_sink_event() local
402 pixbuf = GST_GDK_PIXBUF_DEC (parent); in gst_gdk_pixbuf_dec_sink_event()
[all …]
Dgstgdkpixbufoverlay.c78 GdkPixbuf * pixbuf);
317 overlay->pixbuf = NULL; in gst_gdk_pixbuf_overlay_init()
341 GdkPixbuf *pixbuf = g_value_get_object (value); in gst_gdk_pixbuf_overlay_set_property() local
343 if (overlay->pixbuf != NULL) in gst_gdk_pixbuf_overlay_set_property()
344 g_object_unref (overlay->pixbuf); in gst_gdk_pixbuf_overlay_set_property()
345 if (pixbuf) { in gst_gdk_pixbuf_overlay_set_property()
346 overlay->pixbuf = g_object_ref (pixbuf); in gst_gdk_pixbuf_overlay_set_property()
347 gst_gdk_pixbuf_overlay_set_pixbuf (overlay, g_object_ref (pixbuf)); in gst_gdk_pixbuf_overlay_set_property()
349 overlay->pixbuf = NULL; in gst_gdk_pixbuf_overlay_set_property()
415 g_value_set_object (value, overlay->pixbuf); in gst_gdk_pixbuf_overlay_get_property()
[all …]
Dgstgdkanimation.c102 if (ani->pixbuf) { in gst_gdk_animation_finalize()
103 g_object_unref (ani->pixbuf); in gst_gdk_animation_finalize()
104 ani->pixbuf = NULL; in gst_gdk_animation_finalize()
234 if (iter->pixbuf) in gst_gdk_animation_iter_finalize()
235 g_object_unref (iter->pixbuf); in gst_gdk_animation_iter_finalize()
397 if (iter->pixbuf) { in gst_gdk_animation_iter_create_pixbuf()
398 GST_LOG_OBJECT (iter, "unreffing pixbuf %p", iter->pixbuf); in gst_gdk_animation_iter_create_pixbuf()
399 g_object_unref (iter->pixbuf); in gst_gdk_animation_iter_create_pixbuf()
431 iter->pixbuf = gdk_pixbuf_new_from_data (GST_BUFFER_DATA (buf), in gst_gdk_animation_iter_create_pixbuf()
435 iter->pixbuf, buf, GST_DATA_REFCOUNT_VALUE (buf)); in gst_gdk_animation_iter_create_pixbuf()
[all …]
Dgstgdkpixbufsink.c311 GdkPixbuf *pixbuf; in gst_gdk_pixbuf_sink_handle_buffer() local
316 pixbuf = gst_gdk_pixbuf_sink_get_pixbuf_from_buffer (sink, buf); in gst_gdk_pixbuf_sink_handle_buffer()
325 sink->last_pixbuf = pixbuf; /* take ownership */ in gst_gdk_pixbuf_sink_handle_buffer()
329 if (G_UNLIKELY (pixbuf == NULL)) in gst_gdk_pixbuf_sink_handle_buffer()
350 "pixbuf", GDK_TYPE_PIXBUF, pixbuf, in gst_gdk_pixbuf_sink_handle_buffer()
Dmeson.build9 gdkpixbuf_dep = dependency('gdk-pixbuf-2.0', version : '>=2.8.0', required : get_option('gdk-pixbuf
Dgstgdkanimation.h63 GdkPixbuf * pixbuf; member
105 GdkPixbuf * pixbuf; member
Dgstgdkpixbufoverlay.h53 GdkPixbuf * pixbuf; member
/third_party/ffmpeg/libavutil/
Dhwcontext_videotoolbox.c109 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/
Dffmpeg_videotoolbox.c40 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/
Dgif_fuzzer.c53 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/
Dcorevideobuffer.c46 meta->pixbuf = (CVPixelBufferRef) cvbuf; in gst_core_video_meta_add()
54 meta->pixbuf = NULL; in gst_core_video_meta_init()
264 CVPixelBufferRef pixbuf = NULL; in gst_core_video_buffer_new() local
272 pixbuf = (CVPixelBufferRef) cvbuf; in gst_core_video_buffer_new()
280 meta->pixbuf = pixbuf; in gst_core_video_buffer_new()
282 gst_core_video_wrap_pixel_buffer (buf, vinfo, pixbuf, cache, NULL); in gst_core_video_buffer_new()
Dcorevideobuffer.h41 CVPixelBufferRef pixbuf; member
Dcorevideomemory.h86 gst_apple_core_video_pixel_buffer_new (CVPixelBufferRef pixbuf);
Dvideotexturecache-vulkan.mm236 CVPixelBufferRef pixbuf; field
243 CFRelease (wrapper->pixbuf);
300 texture_data->pixbuf = (CVPixelBufferRef) vk_mem->user_data;
/third_party/flutter/skia/third_party/externals/wuffs/example/gifplayer/
Dgifplayer.c98 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/
Dsnapshot.c35 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_base/ext/gl/
Dgstgldifferencematte.c219 differencematte->pixbuf = NULL; in gst_gl_differencematte_gl_stop()
269 differencematte->pixbuf = NULL; in gst_gl_differencematte_init()
459 differencematte->pixbuf = NULL; in gst_gl_differencematte_filter_texture()
468 if (differencematte->pixbuf) { in gst_gl_differencematte_filter_texture()
469 free (differencematte->pixbuf); in gst_gl_differencematte_filter_texture()
470 differencematte->pixbuf = NULL; in gst_gl_differencematte_filter_texture()
565 differencematte->pixbuf = in gst_gl_differencematte_loader()
571 rows[y] = (guchar *) (differencematte->pixbuf + y * width * 4); in gst_gl_differencematte_loader()
Dgstgldifferencematte.h46 guchar *pixbuf; member
/third_party/gstreamer/gstplugins_good/tests/icles/
Dgdkpixbufoverlay-test.c97 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()
Dgdkpixbufsink-test.c149 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/ffmpeg/libavcodec/
Dvideotoolbox.c51 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/
Dgif-frame-out-of-bounds.gif.make-artificial.txt44 # - gdk-pixbuf chooses policy 1:
45 # https://github.com/GNOME/gdk-pixbuf/blob/c1fd9f5d6592c0183c54efc806b3ca6871e1f496/gdk-pixbuf/i…
/third_party/flutter/skia/src/codec/
DSkWuffsCodec.cpp135 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/gstreamer/gstreamer/docs/random/old/
DChangeLog.gst-plugins3 * configure.ac: disable pixbuf loader by default as requested
7 * configure.ac: make pixbuf loader configurable

12