Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11device.cpp33 prepare_d3d11_device (ID3D11Device ** d3d11_device, in prepare_d3d11_device() argument
89 if (d3d11_device) in prepare_d3d11_device()
90 *d3d11_device = device.Detach(); in prepare_d3d11_device()
100 prepare_shared_texture (ID3D11Device * d3d11_device, guint width, in prepare_shared_texture() argument
121 hr = d3d11_device->CreateTexture2D (&texture_desc, nullptr, &shared_texture); in prepare_shared_texture()
134 hr = d3d11_device->CreateShaderResourceView (shared_texture.Get(), &srv_desc, in prepare_shared_texture()
220 prepare_shader (ID3D11Device * d3d11_device, ID3D11DeviceContext * context, in prepare_shader() argument
275 HRESULT hr = d3d11_device->CreateSamplerState (&sampler_desc, &sampler_state); in prepare_shader()
287 hr = d3d11_device->CreatePixelShader (code->GetBufferPointer(), in prepare_shader()
299 hr = d3d11_device->CreateVertexShader (code->GetBufferPointer(), in prepare_shader()
[all …]
Dd3d11device.h40 prepare_d3d11_device (ID3D11Device ** d3d11_device,
45 prepare_shared_texture (ID3D11Device * d3d11_device,
56 prepare_shader (ID3D11Device * d3d11_device,
/third_party/cef/libcef/browser/gpu/
Dexternal_texture_manager.cc45 Microsoft::WRL::ComPtr<ID3D11Device> d3d11_device = in Initialize() local
47 if (!d3d11_device) { in Initialize()
52 HRESULT hr = d3d11_device.As(&d3d11_device1); in Initialize()
106 Microsoft::WRL::ComPtr<ID3D11Device> d3d11_device; in Unlock() local
107 staging_texture_->GetDevice(&d3d11_device); in Unlock()
108 if (d3d11_device.Get()) { in Unlock()
110 d3d11_device->GetImmediateContext(&d3d11_ctx); in Unlock()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp112 gst_clear_object (&self->d3d11_device); in gst_mf_video_enc_dispose()
160 self->d3d11_device = in gst_mf_video_enc_open()
163 if (!self->d3d11_device) { in gst_mf_video_enc_open()
169 device = self->d3d11_device; in gst_mf_video_enc_open()
175 gst_clear_object (&self->d3d11_device); in gst_mf_video_enc_open()
187 gst_clear_object (&self->d3d11_device); in gst_mf_video_enc_open()
197 gst_clear_object (&self->d3d11_device); in gst_mf_video_enc_open()
267 gst_clear_object (&self->d3d11_device); in gst_mf_video_enc_close()
1463 GstObject * d3d11_device, GstMFVideoEncDeviceCaps * device_caps, in gst_mf_video_enc_enum_internal() argument
1693 if (d3d11_device && (have_NV12 || have_P010)) { in gst_mf_video_enc_enum_internal()
[all …]
Dgstmfvideoenc.h113 GstD3D11Device *d3d11_device; member
145 GList * d3d11_device);
Dgstmfvp9enc.h29 GList * d3d11_device);
Dgstmfh264enc.h30 GList * d3d11_device);
Dgstmfh265enc.h30 GList * d3d11_device);
Dgstmfvp9enc.cpp572 GList * d3d11_device) in gst_mf_vp9_enc_plugin_init() argument
589 gst_mf_video_enc_register (plugin, rank, &subtype, &type_info, d3d11_device); in gst_mf_vp9_enc_plugin_init()
Dgstmfh265enc.cpp807 GList * d3d11_device) in gst_mf_h265_enc_plugin_init() argument
824 gst_mf_video_enc_register (plugin, rank, &subtype, &type_info, d3d11_device); in gst_mf_h265_enc_plugin_init()
Dgstmfh264enc.cpp1062 GList * d3d11_device) in gst_mf_h264_enc_plugin_init() argument
1079 gst_mf_video_enc_register (plugin, rank, &subtype, &type_info, d3d11_device); in gst_mf_h264_enc_plugin_init()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c61 ID3D11Device *d3d11_device; member
233 (IUnknown *) (self->d3d11_device), &self->dxgi_dupl); in initialize_output_duplication()
294 D3D11_SDK_VERSION, &self->d3d11_device, &feature_level, in dxgicap_new()
327 PTR_RELEASE (self->d3d11_device); in dxgicap_new()
385 hr = ID3D11Device_CreateVertexShader (self->d3d11_device, in dxgicap_new()
391 hr = ID3D11Device_CreateInputLayout (self->d3d11_device, vertex_layout, in dxgicap_new()
402 hr = ID3D11Device_CreatePixelShader (self->d3d11_device, in dxgicap_new()
418 hr = ID3D11Device_CreateSamplerState (self->d3d11_device, &sampler_desc, in dxgicap_new()
445 PTR_RELEASE (self->d3d11_device); in dxgicap_destory()
770 hr = ID3D11Device_CreateTexture2D (self->d3d11_device, &new_desc, NULL, in _create_texture()
[all …]
/third_party/ffmpeg/libavcodec/
Dnvenc.c310 if (ctx->d3d11_device) in nvenc_push_context()
322 if (ctx->d3d11_device) in nvenc_pop_context()
337 if (ctx->d3d11_device) { in nvenc_open_session()
338 params.device = ctx->d3d11_device; in nvenc_open_session()
659 ctx->d3d11_device = d3d11_device_hwctx->device; in nvenc_setup_device()
660 ID3D11Device_AddRef(ctx->d3d11_device); in nvenc_setup_device()
1617 if (ctx->d3d11_device) { in ff_nvenc_encode_close()
1618 ID3D11Device_Release(ctx->d3d11_device); in ff_nvenc_encode_close()
1619 ctx->d3d11_device = NULL; in ff_nvenc_encode_close()
2180 if ((!ctx->cu_context && !ctx->d3d11_device) || !ctx->nvencoder) in nvenc_send_frame()
[all …]
Dnvenc.h157 ID3D11Device *d3d11_device; member
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11screencapture.cpp692 ComPtr<ID3D11Device> d3d11_device; in InitDupl() local
697 d3d11_device = gst_d3d11_device_get_device_handle (device); in InitDupl()
724 hr = output1->DuplicateOutput(d3d11_device.Get(), &dupl_); in InitDupl()
742 return gst_d3d11_screen_capture_return_from_hr (d3d11_device.Get(), hr, in InitDupl()