Lines Matching refs:d3d11_params
388 GstD3D11AllocationParams *d3d11_params; in gst_d3d11_screen_capture_src_decide_allocation() local
441 d3d11_params = gst_buffer_pool_config_get_d3d11_allocation_params (config); in gst_d3d11_screen_capture_src_decide_allocation()
442 if (!d3d11_params) { in gst_d3d11_screen_capture_src_decide_allocation()
443 d3d11_params = gst_d3d11_allocation_params_new (self->device, &vinfo, in gst_d3d11_screen_capture_src_decide_allocation()
447 d3d11_params->desc[0].BindFlags |= D3D11_BIND_RENDER_TARGET; in gst_d3d11_screen_capture_src_decide_allocation()
450 gst_buffer_pool_config_set_d3d11_allocation_params (config, d3d11_params); in gst_d3d11_screen_capture_src_decide_allocation()
451 gst_d3d11_allocation_params_free (d3d11_params); in gst_d3d11_screen_capture_src_decide_allocation()
475 d3d11_params = gst_buffer_pool_config_get_d3d11_allocation_params (config); in gst_d3d11_screen_capture_src_decide_allocation()
476 if (!d3d11_params) { in gst_d3d11_screen_capture_src_decide_allocation()
477 d3d11_params = gst_d3d11_allocation_params_new (self->device, &vinfo, in gst_d3d11_screen_capture_src_decide_allocation()
480 d3d11_params->desc[0].BindFlags |= D3D11_BIND_RENDER_TARGET; in gst_d3d11_screen_capture_src_decide_allocation()
483 gst_buffer_pool_config_set_d3d11_allocation_params (config, d3d11_params); in gst_d3d11_screen_capture_src_decide_allocation()
484 gst_d3d11_allocation_params_free (d3d11_params); in gst_d3d11_screen_capture_src_decide_allocation()