Home
last modified time | relevance | path

Searched refs:alloc_params (Results 1 – 24 of 24) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbufferpool.c95 GstAllocationParams alloc_params; in gst_gl_buffer_pool_set_config() local
114 if (!gst_buffer_pool_config_get_allocator (config, &allocator, &alloc_params)) in gst_gl_buffer_pool_set_config()
146 &alloc_params, &info, -1, NULL, 0, 0); in gst_gl_buffer_pool_set_config()
148 max_align = alloc_params.align; in gst_gl_buffer_pool_set_config()
169 if (alloc_params.align < max_align) { in gst_gl_buffer_pool_set_config()
172 (guint) alloc_params.align, max_align); in gst_gl_buffer_pool_set_config()
174 alloc_params.align = max_align; in gst_gl_buffer_pool_set_config()
175 gst_buffer_pool_config_set_allocator (config, allocator, &alloc_params); in gst_gl_buffer_pool_set_config()
176 if (priv->gl_params->parent.alloc_params) in gst_gl_buffer_pool_set_config()
177 gst_allocation_params_free (priv->gl_params->parent.alloc_params); in gst_gl_buffer_pool_set_config()
[all …]
Dgstglrenderbuffer.c202 params->parent.alloc_params, params->width, params->height, in _default_gl_rbo_alloc()
382 const GstAllocationParams * alloc_params, guint width, guint height, in _gst_gl_renderbuffer_allocation_params_init_full() argument
394 struct_size, alloc_flags, copy, free, context, 0, alloc_params, in _gst_gl_renderbuffer_allocation_params_init_full()
419 const GstAllocationParams * alloc_params, GstGLFormat renderbuffer_format, in gst_gl_renderbuffer_allocation_params_new() argument
431 context, alloc_params, width, height, renderbuffer_format, NULL, 0, in gst_gl_renderbuffer_allocation_params_new()
458 const GstAllocationParams * alloc_params, GstGLFormat renderbuffer_format, in gst_gl_renderbuffer_allocation_params_new_wrapped() argument
471 context, alloc_params, width, height, renderbuffer_format, NULL, in gst_gl_renderbuffer_allocation_params_new_wrapped()
Dgstglmemory.h148 … const GstAllocationParams * alloc_params,
160 … const GstAllocationParams * alloc_params,
168 … const GstAllocationParams * alloc_params,
180 … const GstAllocationParams * alloc_params,
192 … const GstAllocationParams * alloc_params,
Dgstglbasememory.c635 gsize alloc_size, const GstAllocationParams * alloc_params, in gst_gl_allocation_params_init() argument
652 if (alloc_params) in gst_gl_allocation_params_init()
653 params->alloc_params = gst_allocation_params_copy (alloc_params); in gst_gl_allocation_params_init()
717 if (params->alloc_params) in gst_gl_allocation_params_free_data()
718 gst_allocation_params_free (params->alloc_params); in gst_gl_allocation_params_free_data()
739 if (src->alloc_params) in gst_gl_allocation_params_copy_data()
740 dest->alloc_params = gst_allocation_params_copy (src->alloc_params); in gst_gl_allocation_params_copy_data()
Dgstglmemorypbo.c196 GstAllocationParams alloc_params = in _gl_mem_create() local
207 GST_MEMORY_CAST (gl_mem)->size, &alloc_params, GL_PIXEL_UNPACK_BUFFER, in _gl_mem_create()
655 GstAllocationParams alloc_params = { 0, }; in _gl_mem_pbo_alloc() local
659 if (params->parent.alloc_params) in _gl_mem_pbo_alloc()
660 alloc_params = *params->parent.alloc_params; in _gl_mem_pbo_alloc()
670 alloc_params.flags |= GST_GL_BASE_MEMORY_TRANSFER_NEED_DOWNLOAD; in _gl_mem_pbo_alloc()
673 alloc_params.flags |= GST_GL_BASE_MEMORY_TRANSFER_NEED_UPLOAD; in _gl_mem_pbo_alloc()
679 &alloc_params, params->v_info, params->plane, params->valign, in _gl_mem_pbo_alloc()
Dgstglrenderbuffer.h131 … const GstAllocationParams * alloc_params,
138 … const GstAllocationParams * alloc_params,
Dgstglmemory.c940 params->parent.alloc_params, params->v_info, params->plane, in _default_gl_tex_alloc()
1196 const GstAllocationParams * alloc_params, const GstVideoInfo * v_info, in gst_gl_video_allocation_params_init_full() argument
1212 struct_size, alloc_flags, copy, free, context, 0, alloc_params, in gst_gl_video_allocation_params_init_full()
1246 const GstAllocationParams * alloc_params, const GstVideoInfo * v_info, in gst_gl_video_allocation_params_new() argument
1259 gst_gl_video_allocation_params_free_data, context, alloc_params, in gst_gl_video_allocation_params_new()
1287 const GstAllocationParams * alloc_params, const GstVideoInfo * v_info, in gst_gl_video_allocation_params_new_wrapped_data() argument
1301 gst_gl_video_allocation_params_free_data, context, alloc_params, in gst_gl_video_allocation_params_new_wrapped_data()
1334 const GstAllocationParams * alloc_params, const GstVideoInfo * v_info, in gst_gl_video_allocation_params_new_wrapped_gl_handle() argument
1348 gst_gl_video_allocation_params_free_data, context, alloc_params, in gst_gl_video_allocation_params_new_wrapped_gl_handle()
1377 const GstAllocationParams * alloc_params, const GstVideoInfo * v_info, in gst_gl_video_allocation_params_new_wrapped_texture() argument
[all …]
Dgstglbasememory.h208 GstAllocationParams *alloc_params; member
230 … const GstAllocationParams * alloc_params,
Dgstglbuffer.c464 const GstAllocationParams * alloc_params, guint gl_target, guint gl_usage) in gst_gl_buffer_allocation_params_new() argument
480 alloc_params, NULL, 0, NULL, NULL)) { in gst_gl_buffer_allocation_params_new()
504 params->parent.alloc_params, params->parent.alloc_size); in _gl_buffer_alloc_mem()
Dgstglbuffer.h90 … const GstAllocationParams * alloc_params,
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudamemory.c139 mem->alloc_params = *params; in gst_cuda_allocator_alloc()
184 GstVideoInfo *info = &mem->alloc_params.info; in gst_cuda_memory_upload_transfer()
223 GstVideoInfo *info = &mem->alloc_params.info; in gst_cuda_memory_download_transfer()
421 &src_mem->alloc_params); in cuda_mem_copy()
425 info = &src_mem->alloc_params.info; in cuda_mem_copy()
Dgstcudamemory.h114 GstCudaAllocationParams alloc_params; member
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvapool.h45 GstAllocationParams * alloc_params);
Dgstvapool.c368 GstAllocationParams * alloc_params) in gst_va_pool_new_with_config() argument
379 gst_buffer_pool_config_set_allocator (config, allocator, alloc_params); in gst_va_pool_new_with_config()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11decoder.cpp445 GstD3D11AllocationParams *alloc_params = NULL; in gst_d3d11_decoder_prepare_output_view_pool() local
468 alloc_params = gst_d3d11_allocation_params_new (self->device, info, in gst_d3d11_decoder_prepare_output_view_pool()
471 if (!alloc_params) { in gst_d3d11_decoder_prepare_output_view_pool()
483 alloc_params->desc[0].ArraySize = pool_size; in gst_d3d11_decoder_prepare_output_view_pool()
497 if (!gst_d3d11_allocation_params_alignment (alloc_params, &align)) { in gst_d3d11_decoder_prepare_output_view_pool()
509 caps, alloc_params, 0, pool_size); in gst_d3d11_decoder_prepare_output_view_pool()
511 g_clear_pointer (&alloc_params, gst_d3d11_allocation_params_free); in gst_d3d11_decoder_prepare_output_view_pool()
530 if (alloc_params) in gst_d3d11_decoder_prepare_output_view_pool()
531 gst_d3d11_allocation_params_free (alloc_params); in gst_d3d11_decoder_prepare_output_view_pool()
Dgstd3d11pluginutils.h108 GstD3D11AllocationParams * alloc_params,
Dgstd3d11pluginutils.cpp1001 GstCaps * caps, GstD3D11AllocationParams * alloc_params, in gst_d3d11_buffer_pool_new_with_options() argument
1010 g_return_val_if_fail (alloc_params != NULL, NULL); in gst_d3d11_buffer_pool_new_with_options()
1022 gst_buffer_pool_config_set_d3d11_allocation_params (config, alloc_params); in gst_d3d11_buffer_pool_new_with_options()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstglmemoryegl.c165 params->parent.alloc_params, params->v_info, params->plane, in _gl_mem_egl_alloc()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgldownloadelement.c531 GstAllocationParams alloc_params; in gst_gl_buffer_pool_nvmm_set_config() local
535 if (!gst_buffer_pool_config_get_allocator (config, NULL, &alloc_params)) in gst_gl_buffer_pool_nvmm_set_config()
563 (parent_gl_params->parent.context, parent_gl_params->parent.alloc_params, in gst_gl_buffer_pool_nvmm_set_config()
/third_party/gstreamer/gstplugins_bad/gst/frei0r/
Dgstfrei0rmixer.c520 GstAllocationParams alloc_params = { 0, 31, 0, 0 }; in gst_frei0r_mixer_collected() local
540 outbuf = gst_buffer_new_allocate (NULL, self->info.size, &alloc_params); in gst_frei0r_mixer_collected()
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawvideoparse.c921 GstAllocationParams alloc_params = { 0, 31, 0, 0 }; in gst_raw_video_parse_process() local
937 GST_VIDEO_INFO_SIZE (video_info), &alloc_params); in gst_raw_video_parse_process()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstvalue.c844 GstAllocationParams alloc_params = { 0 }; in GST_START_TEST() local
1054 g_value_set_boxed (&value1, &alloc_params); in GST_START_TEST()
1056 alloc_params.align = 1; in GST_START_TEST()
1057 g_value_set_boxed (&value2, &alloc_params); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/
DChangeLog27426 makes the alloc_params selections fit on a single line.
/third_party/gstreamer/gstplugins_bad/
DChangeLog81129 makes the alloc_params selections fit on a single line.