Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsallocator.c171 GstKMSMemory * kmsmem, GstVideoInfo * vinfo) in gst_kms_allocator_memory_create() argument
179 if (kmsmem->bo) in gst_kms_allocator_memory_create()
185 kmsmem->bo = g_malloc0 (sizeof (*kmsmem->bo)); in gst_kms_allocator_memory_create()
186 if (!kmsmem->bo) in gst_kms_allocator_memory_create()
228 kmsmem->bo->handle = arg.handle; in gst_kms_allocator_memory_create()
230 kmsmem->bo->size = arg.size; in gst_kms_allocator_memory_create()
233 if (kmsmem->bo->size < GST_VIDEO_INFO_SIZE (vinfo)) { in gst_kms_allocator_memory_create()
237 kmsmem->bo->size, GST_VIDEO_INFO_SIZE (vinfo)); in gst_kms_allocator_memory_create()
248 g_free (kmsmem->bo); in gst_kms_allocator_memory_create()
249 kmsmem->bo = NULL; in gst_kms_allocator_memory_create()
[all …]
H A Dgstkmsallocator.h90 GstMemory *kmsmem);
98 GstMemory * kmsmem);
H A Dximagesink.c698 GstKMSMemory *kmsmem; in gst_kms_sink_import_dmabuf() local
753 kmsmem = (GstKMSMemory *) gst_kms_allocator_get_cached (mems[0]); in gst_kms_sink_import_dmabuf()
754 if (kmsmem) { in gst_kms_sink_import_dmabuf()
756 kmsmem, mems[0], kmsmem->fb_id); in gst_kms_sink_import_dmabuf()
766 kmsmem = gst_kms_allocator_dmabuf_import (self->allocator, in gst_kms_sink_import_dmabuf()
768 if (!kmsmem) in gst_kms_sink_import_dmabuf()
772 kmsmem, mems[0], kmsmem->fb_id); in gst_kms_sink_import_dmabuf()
773 gst_kms_allocator_cache (self->allocator, mems[0], GST_MEMORY_CAST (kmsmem)); in gst_kms_sink_import_dmabuf()
779 gst_buffer_append_memory (*outbuf, gst_memory_ref (GST_MEMORY_CAST (kmsmem))); in gst_kms_sink_import_dmabuf()
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/
H A D0039-kmssink-Support-scaling-in-modesetting.patch44 - kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
45 - if (!kmsmem)
47 - fb_id = kmsmem->fb_id;
70 + kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
71 + if (!kmsmem)
73 + fb_id = kmsmem->fb_id;
H A D0025-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch33 gst_kms_allocator_add_fb (GstKMSAllocator * alloc, GstKMSMemory * kmsmem,
41 @@ -442,8 +443,50 @@ gst_kms_allocator_add_fb (GstKMSAllocator * alloc, GstKMSMemory * kmsmem,
46 - offsets, &kmsmem->fb_id, 0);
77 + _pitches, _offsets, _modifiers, &kmsmem->fb_id,
83 + pitches, offsets, modifiers, &kmsmem->fb_id, DRM_MODE_FB_MODIFIERS);
86 + offsets, &kmsmem->fb_id, 0);
89 + pitches, offsets, &kmsmem->fb_id, 0);
H A D0029-kmssink-Avoid-double-closing-shared-gem-handle.patch18 GstKMSMemory *kmsmem;
26 struct drm_gem_close arg = { kmsmem->gem_handle[i], };
H A D0004-kmssink-Support-render-rectangle-for-plane.patch23 self->tmp_kmsmem = (GstMemory *) kmsmem;
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/
H A D0038-kmssink-Support-scaling-in-modesetting.patch44 - kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
45 - if (!kmsmem)
47 - fb_id = kmsmem->fb_id;
70 + kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
71 + if (!kmsmem)
73 + fb_id = kmsmem->fb_id;
H A D0024-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch41 gst_kms_allocator_add_fb (GstKMSAllocator * alloc, GstKMSMemory * kmsmem,
49 @@ -469,8 +471,50 @@ gst_kms_allocator_add_fb (GstKMSAllocator * alloc, GstKMSMemory * kmsmem,
54 - offsets, &kmsmem->fb_id, 0);
85 + _pitches, _offsets, _modifiers, &kmsmem->fb_id,
91 + pitches, offsets, modifiers, &kmsmem->fb_id, DRM_MODE_FB_MODIFIERS);
94 + offsets, &kmsmem->fb_id, 0);
97 + pitches, offsets, &kmsmem->fb_id, 0);
H A D0028-kmssink-Avoid-double-closing-shared-gem-handle.patch18 GstKMSMemory *kmsmem;
26 struct drm_gem_close arg = { kmsmem->gem_handle[i], };
H A D0004-kmssink-Support-render-rectangle-for-plane.patch23 self->tmp_kmsmem = (GstMemory *) kmsmem;
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/
H A D0039-kmssink-Support-scaling-in-modesetting.patch44 - kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
45 - if (!kmsmem)
47 - fb_id = kmsmem->fb_id;
70 + kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo);
71 + if (!kmsmem)
73 + fb_id = kmsmem->fb_id;
H A D0025-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch33 gst_kms_allocator_add_fb (GstKMSAllocator * alloc, GstKMSMemory * kmsmem,
41 @@ -442,8 +443,50 @@ gst_kms_allocator_add_fb (GstKMSAllocator * alloc, GstKMSMemory * kmsmem,
46 - offsets, &kmsmem->fb_id, 0);
77 + _pitches, _offsets, _modifiers, &kmsmem->fb_id,
83 + pitches, offsets, modifiers, &kmsmem->fb_id, DRM_MODE_FB_MODIFIERS);
86 + offsets, &kmsmem->fb_id, 0);
89 + pitches, offsets, &kmsmem->fb_id, 0);
H A D0029-kmssink-Avoid-double-closing-shared-gem-handle.patch18 GstKMSMemory *kmsmem;
26 struct drm_gem_close arg = { kmsmem->gem_handle[i], };
H A D0004-kmssink-Support-render-rectangle-for-plane.patch23 self->tmp_kmsmem = (GstMemory *) kmsmem;