Searched refs:texture_desc (Results 1 – 5 of 5) sorted by relevance
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/ |
D | d3d11device.cpp | 105 D3D11_TEXTURE2D_DESC texture_desc = { 0, }; in prepare_shared_texture() local 109 texture_desc.Width = width; in prepare_shared_texture() 110 texture_desc.Height = height; in prepare_shared_texture() 111 texture_desc.MipLevels = 1; in prepare_shared_texture() 112 texture_desc.Format = format; in prepare_shared_texture() 113 texture_desc.SampleDesc.Count = 1; in prepare_shared_texture() 114 texture_desc.ArraySize = 1; in prepare_shared_texture() 115 texture_desc.Usage = D3D11_USAGE_DEFAULT; in prepare_shared_texture() 116 texture_desc.BindFlags = in prepare_shared_texture() 118 texture_desc.MiscFlags = misc_flags; in prepare_shared_texture() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11overlaycompositor.cpp | 116 D3D11_TEXTURE2D_DESC texture_desc; in gst_d3d11_composition_overlay_new() local 142 memset (&texture_desc, 0, sizeof (texture_desc)); in gst_d3d11_composition_overlay_new() 179 texture_desc.Width = width; in gst_d3d11_composition_overlay_new() 180 texture_desc.Height = height; in gst_d3d11_composition_overlay_new() 181 texture_desc.MipLevels = 1; in gst_d3d11_composition_overlay_new() 182 texture_desc.ArraySize = 1; in gst_d3d11_composition_overlay_new() 184 texture_desc.Format = DXGI_FORMAT_B8G8R8A8_UNORM; in gst_d3d11_composition_overlay_new() 185 texture_desc.SampleDesc.Count = 1; in gst_d3d11_composition_overlay_new() 186 texture_desc.SampleDesc.Quality = 0; in gst_d3d11_composition_overlay_new() 187 texture_desc.Usage = D3D11_USAGE_IMMUTABLE; in gst_d3d11_composition_overlay_new() [all …]
|
D | gstd3d11convert.cpp | 1394 D3D11_TEXTURE2D_DESC texture_desc; in create_shader_input_resource() local 1405 memset (&texture_desc, 0, sizeof (texture_desc)); in create_shader_input_resource() 1410 texture_desc.MipLevels = 1; in create_shader_input_resource() 1411 texture_desc.ArraySize = 1; in create_shader_input_resource() 1412 texture_desc.SampleDesc.Count = 1; in create_shader_input_resource() 1413 texture_desc.SampleDesc.Quality = 0; in create_shader_input_resource() 1414 texture_desc.Usage = D3D11_USAGE_DEFAULT; in create_shader_input_resource() 1415 texture_desc.BindFlags = D3D11_BIND_SHADER_RESOURCE; in create_shader_input_resource() 1422 texture_desc.Width = GST_VIDEO_INFO_COMP_WIDTH (info, i); in create_shader_input_resource() 1423 texture_desc.Height = GST_VIDEO_INFO_COMP_HEIGHT (info, i); in create_shader_input_resource() [all …]
|
D | gstd3d11screencapture.cpp | 259 D3D11_TEXTURE2D_DESC texture_desc = { 0, }; in Init() local 272 texture_desc.Width = output_desc_.ModeDesc.Width; in Init() 273 texture_desc.Height = output_desc_.ModeDesc.Height; in Init() 274 texture_desc.MipLevels = 1; in Init() 275 texture_desc.ArraySize = 1; in Init() 277 texture_desc.Format = DXGI_FORMAT_B8G8R8A8_UNORM; in Init() 278 texture_desc.SampleDesc.Count = 1; in Init() 279 texture_desc.Usage = D3D11_USAGE_DEFAULT; in Init() 280 texture_desc.BindFlags = in Init() 282 texture_desc.CPUAccessFlags = 0; in Init() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | cuda-converter.c | 991 CUDA_TEXTURE_DESC texture_desc; in convert_create_texture_unchecked() local 996 memset (&texture_desc, 0, sizeof (CUDA_TEXTURE_DESC)); in convert_create_texture_unchecked() 1007 texture_desc.filterMode = mode; in convert_create_texture_unchecked() 1008 texture_desc.flags = CU_TRSF_READ_AS_INTEGER; in convert_create_texture_unchecked() 1011 cuda_ret = CuTexObjectCreate (&texture, &resource_desc, &texture_desc, NULL); in convert_create_texture_unchecked()
|