Searched refs:kmsmem (Results 1 – 4 of 4) sorted by relevance
171 GstKMSMemory * kmsmem, GstVideoInfo * vinfo) in gst_kms_allocator_memory_create() argument179 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 …]
90 GstMemory *kmsmem);98 GstMemory * kmsmem);
437 GstKMSMemory *kmsmem; in configure_mode_setting() local442 kmsmem = NULL; in configure_mode_setting()450 kmsmem = (GstKMSMemory *) gst_kms_allocator_bo_alloc (self->allocator, vinfo); in configure_mode_setting()451 if (!kmsmem) in configure_mode_setting()453 fb_id = kmsmem->fb_id; in configure_mode_setting()475 self->tmp_kmsmem = (GstMemory *) kmsmem; in configure_mode_setting()1343 GstKMSMemory *kmsmem; in gst_kms_sink_import_dmabuf() local1400 kmsmem = (GstKMSMemory *) gst_kms_allocator_get_cached (mems[0]); in gst_kms_sink_import_dmabuf()1401 if (kmsmem) { in gst_kms_sink_import_dmabuf()1403 kmsmem, mems[0], kmsmem->fb_id); in gst_kms_sink_import_dmabuf()[all …]
58087 kmssink: Track cached kmsmem and clear them on drain58088 In this patch we keep track of the cached kmsmem in a way58098 kmssink: Move kmsmem cache code higher61721 kmsmem = (GstKMSMemory *) get_cached_kmsmem (mems[0]);