Home
last modified time | relevance | path

Searched refs:hres (Results 1 – 25 of 28) sorted by relevance

12

/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowutil.cpp35 HRESULT hres; in gst_dshow_get_pin_from_filter() local
37 hres = filter->EnumPins (&enumpins); in gst_dshow_get_pin_from_filter()
38 if (FAILED(hres)) { in gst_dshow_get_pin_from_filter()
45 hres = pin->QueryDirection (&pindirtmp); in gst_dshow_get_pin_from_filter()
46 if (hres == S_OK && pindir == pindirtmp) { in gst_dshow_get_pin_from_filter()
60 HRESULT hres; in gst_dshow_find_filter() local
79 hres = CoCreateInstance (CLSID_DMOWrapperFilter, NULL, in gst_dshow_find_filter()
82 if (SUCCEEDED(hres)) { in gst_dshow_find_filter()
83 hres = filter->QueryInterface (&wrapper); in gst_dshow_find_filter()
84 if (SUCCEEDED(hres)) { in gst_dshow_find_filter()
[all …]
Dgstdshowvideodec.cpp589 HRESULT hres; in gst_dshowvideodec_sink_setcaps() local
701 hres = vdec->fakesrc->QueryInterface(IID_IBaseFilter, in gst_dshowvideodec_sink_setcaps()
703 if (FAILED (hres)) { in gst_dshowvideodec_sink_setcaps()
705 ("Can't QT fakesrc to IBaseFilter: %x", hres), (NULL)); in gst_dshowvideodec_sink_setcaps()
722 hres = vdec->filtergraph->ConnectDirect (output_pin, input_pin, NULL); in gst_dshowvideodec_sink_setcaps()
723 if (hres != S_OK) { in gst_dshowvideodec_sink_setcaps()
725 ("Can't connect fakesrc with decoder (error=%x)", hres), (NULL)); in gst_dshowvideodec_sink_setcaps()
757 hres = vdec->fakesink->QueryInterface(IID_IBaseFilter, in gst_dshowvideodec_sink_setcaps()
759 if (FAILED (hres)) { in gst_dshowvideodec_sink_setcaps()
761 ("Can't QT fakesink to IBaseFilter: %x", hres), (NULL)); in gst_dshowvideodec_sink_setcaps()
[all …]
Dgstdshowaudiodec.cpp873 HRESULT hres; in gst_dshowaudiodec_setup_graph() local
904 hres = adec->filtergraph->ConnectDirect (output_pin, input_pin, in gst_dshowaudiodec_setup_graph()
906 if (hres != S_OK) { in gst_dshowaudiodec_setup_graph()
908 ("Can't connect fakesrc with decoder (error=%x)", hres), (NULL)); in gst_dshowaudiodec_setup_graph()
950 hres = adec->filtergraph->ConnectDirect(output_pin, input_pin, NULL); in gst_dshowaudiodec_setup_graph()
951 if (hres != S_OK) { in gst_dshowaudiodec_setup_graph()
953 ("Can't connect decoder with fakesink (error=%x)", hres), (NULL)); in gst_dshowaudiodec_setup_graph()
957 hres = adec->mediafilter->Run (-1); in gst_dshowaudiodec_setup_graph()
958 if (hres != S_OK) { in gst_dshowaudiodec_setup_graph()
960 ("Can't run the directshow graph (error=%x)", hres), (NULL)); in gst_dshowaudiodec_setup_graph()
[all …]
Dgstdshowfakesrc.cpp88 HRESULT hres = pAlloc->SetProperties(ppropInputRequest, &properties); in DecideBufferSize() local
112 HRESULT hres = GetDeliveryBuffer(&pSample, NULL, NULL, 0); in PushBuffer() local
113 if (hres == S_OK && pSample) in PushBuffer()
130 hres = Deliver(pSample); in PushBuffer()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshow.cpp94 HRESULT hres = enum_mediatypes->Next (1, &pin_mediatype->mediatype, NULL); in gst_dshow_new_pin_mediatype_from_enum_mediatypes() local
95 if (hres != S_OK || !pin_mediatype->mediatype) { in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
117 HRESULT hres = streamcaps->GetStreamCaps (id, &pin_mediatype->mediatype, in gst_dshow_new_pin_mediatype_from_streamcaps() local
119 if (FAILED (hres) || !pin_mediatype->mediatype) { in gst_dshow_new_pin_mediatype_from_streamcaps()
165 HRESULT hres; in gst_dshow_get_pin_from_filter() local
168 hres = filter->EnumPins (&enumpins); in gst_dshow_get_pin_from_filter()
169 if (FAILED (hres)) { in gst_dshow_get_pin_from_filter()
175 hres = pintmp->QueryDirection (&pindirtmp); in gst_dshow_get_pin_from_filter()
176 if (hres == S_OK && pindir == pindirtmp) { in gst_dshow_get_pin_from_filter()
194 HRESULT hres; in gst_dshow_find_filter() local
[all …]
Dgstdshowaudiosrc.cpp277 HRESULT hres = S_OK; in gst_dshowaudiosrc_get_caps() local
300 hres = CreateBindCtx (0, &lpbc); in gst_dshowaudiosrc_get_caps()
301 if (SUCCEEDED (hres)) { in gst_dshowaudiosrc_get_caps()
302 hres = in gst_dshowaudiosrc_get_caps()
304 if (SUCCEEDED (hres)) { in gst_dshowaudiosrc_get_caps()
305 hres = audiom->BindToObject (lpbc, NULL, IID_IBaseFilter, in gst_dshowaudiosrc_get_caps()
317 HRESULT hres; in gst_dshowaudiosrc_get_caps() local
319 hres = src->audio_cap_filter->EnumPins (&enumpins); in gst_dshowaudiosrc_get_caps()
320 if (SUCCEEDED (hres)) { in gst_dshowaudiosrc_get_caps()
324 hres = in gst_dshowaudiosrc_get_caps()
[all …]
Dgstdshowvideosrc.cpp370 HRESULT hres; in gst_dshowvideosrc_getcaps_from_capture_filter() local
378 hres = filter->EnumPins (&enumpins); in gst_dshowvideosrc_getcaps_from_capture_filter()
379 if (SUCCEEDED (hres)) { in gst_dshowvideosrc_getcaps_from_capture_filter()
382 hres = in gst_dshowvideosrc_getcaps_from_capture_filter()
384 if (SUCCEEDED (hres) && pKs) { in gst_dshowvideosrc_getcaps_from_capture_filter()
389 hres = in gst_dshowvideosrc_getcaps_from_capture_filter()
425 HRESULT hres = S_FALSE; in gst_dshowvideosrc_change_state() local
438 hres = src->media_filter->Run (0); in gst_dshowvideosrc_change_state()
440 if (hres != S_OK) { in gst_dshowvideosrc_change_state()
441 GST_ERROR ("Can't RUN the directshow capture graph (error=0x%x)", hres); in gst_dshowvideosrc_change_state()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideosink.cpp119 HRESULT hres; in gst_dshowvideosink_set_window_handle() local
134 hres = sink->filter_media_event->SetNotifyWindow ((OAHWND)sink->window_id, WM_GRAPH_NOTIFY, 0); in gst_dshowvideosink_set_window_handle()
135 GST_DEBUG_OBJECT (sink, "SetNotifyWindow(%p) returned %x", sink->window_id, hres); in gst_dshowvideosink_set_window_handle()
439 HRESULT hres; in dump_all_pin_media_types() local
441 hres = filter->EnumPins (&enumpins); in dump_all_pin_media_types()
442 if (FAILED(hres)) { in dump_all_pin_media_types()
452 hres = pin->QueryDirection (&pindir); in dump_all_pin_media_types()
457 hres = pin->QueryInterface ( in dump_all_pin_media_types()
459 if (hres == S_OK) { in dump_all_pin_media_types()
477 HRESULT hres; in gst_dshow_get_pin_from_filter() local
[all …]
Ddshowvideofakesrc.cpp30 VideoFakeSrcPin::VideoFakeSrcPin (CBaseFilter *pFilter, CCritSec *sec, HRESULT *hres): in VideoFakeSrcPin() argument
31 CDynamicOutputPin("VideoFakeSrcPin", pFilter, sec, hres, L"output") in VideoFakeSrcPin()
101 HRESULT hres = pAlloc->SetProperties(ppropInputRequest, &properties); in DecideBufferSize() local
256 HRESULT hres; in PushBuffer() local
267 hres = GetDeliveryBuffer(&pSample, NULL, NULL, 0); in PushBuffer()
268 if (SUCCEEDED (hres)) in PushBuffer()
274 if (FAILED (hres)) in PushBuffer()
277 GST_WARNING ("Could not get sample for delivery to sink: %x", hres); in PushBuffer()
307 hres = Deliver(pSample); in PushBuffer()
308 if (SUCCEEDED (hres)) in PushBuffer()
[all …]
Ddshowvideofakesrc.h34 VideoFakeSrcPin (CBaseFilter *pFilter, CCritSec *sec, HRESULT *hres);
/third_party/lzma/CPP/7zip/Archive/Common/
DHandlerOut.cpp85 …CCommonMethodProps::SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres) in SetCommonProperty() argument
87 hres = S_OK; in SetCommonProperty()
94 hres = ParseMtProp2(name.Ptr(2), value, _numThreads, _numThreads_WasForced); in SetCommonProperty()
104 hres = E_INVALIDARG; in SetCommonProperty()
205 HRESULT hres; in SetProperty() local
206 if (SetCommonProperty(name, value, hres)) in SetProperty()
207 return hres; in SetProperty()
260 HRESULT hres; in SetProperty() local
261 if (SetCommonProperty(name, value, hres)) in SetProperty()
DHandlerOut.h60 bool SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres);
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_query.c114 HRESULT hres = in dzn_query_pool_create() local
118 if (FAILED(hres)) { in dzn_query_pool_create()
150 hres = ID3D12Device1_CreateCommittedResource(device->dev, &hprops, in dzn_query_pool_create()
157 if (FAILED(hres)) { in dzn_query_pool_create()
165 hres = ID3D12Device1_CreateCommittedResource(device->dev, &hprops, in dzn_query_pool_create()
172 if (FAILED(hres)) { in dzn_query_pool_create()
177 hres = ID3D12Resource_Map(qpool->collect_buffer, 0, NULL, (void **)&qpool->collect_map); in dzn_query_pool_create()
178 if (FAILED(hres)) { in dzn_query_pool_create()
Ddzn_pipeline.c1617 HRESULT hres = 0; in dzn_graphics_pipeline_create() local
1745 hres = ID3D12Device2_CreatePipelineState(device->dev, stream_desc, in dzn_graphics_pipeline_create()
1748 if (FAILED(hres)) { in dzn_graphics_pipeline_create()
1862 ASSERTED HRESULT hres = ID3D12Device2_CreatePipelineState(device->dev, &stream_desc, in dzn_graphics_pipeline_get_state() local
1865 assert(!FAILED(hres)); in dzn_graphics_pipeline_get_state()
1944 HRESULT hres = in dzn_graphics_pipeline_get_indirect_cmd_sig() local
1949 if (FAILED(hres)) in dzn_graphics_pipeline_get_indirect_cmd_sig()
2232 HRESULT hres = in dzn_compute_pipeline_get_indirect_cmd_sig() local
2237 if (FAILED(hres)) in dzn_compute_pipeline_get_indirect_cmd_sig()
Ddzn_device.c617 ASSERTED HRESULT hres = in dzn_physical_device_get_format_support() local
620 assert(!FAILED(hres)); in dzn_physical_device_get_format_support()
633 hres = ID3D12Device1_CheckFeatureSupport(dev, D3D12_FEATURE_FORMAT_SUPPORT, in dzn_physical_device_get_format_support()
635 assert(!FAILED(hres)); in dzn_physical_device_get_format_support()
912 HRESULT hres = in dzn_physical_device_get_image_format_properties() local
915 if (!FAILED(hres) && ms_info.NumQualityLevels > 0) in dzn_physical_device_get_image_format_properties()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/frag/
Dmin-max-clamp.invalid.asm.frag44 half hres = min(in.h1, in.h1);
45 hres = max(in.h1, in.h1);
46 hres = clamp(in.h1, in.h1, in.h1);
47 hres = min(in.h1, in.h1);
48 hres = max(in.h1, in.h1);
49 hres = clamp(in.h1, in.h1, in.h1);
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/frag/
Dmin-max-clamp.invalid.asm.frag20 OpName %hres "hres"
184 %hres = OpVariable %_ptr_Function_half Function
188 OpStore %hres %128
192 OpStore %hres %131
197 OpStore %hres %135
201 OpStore %hres %138
205 OpStore %hres %141
210 OpStore %hres %145
/third_party/vulkan-loader/loader/
Dloader_windows.c410 HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory1, (void **)&dxgi_factory); in windows_get_registry_files() local
411 if (hres != S_OK) { in windows_get_registry_files()
475 … HRESULT hres = dxgi_factory->lpVtbl->EnumAdapters1(dxgi_factory, j, &adapter); in windows_get_registry_files() local
476 if (hres == DXGI_ERROR_NOT_FOUND) { in windows_get_registry_files()
478 } else if (hres != S_OK) { in windows_get_registry_files()
486 hres = adapter->lpVtbl->GetDesc1(adapter, &description); in windows_get_registry_files()
487 if (hres != S_OK) { in windows_get_registry_files()
794 HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory6, (void **)&dxgi_factory); in windows_read_sorted_physical_devices() local
795 if (hres != S_OK) { in windows_read_sorted_physical_devices()
809hres = dxgi_factory->lpVtbl->EnumAdapterByGpuPreference(dxgi_factory, i, DXGI_GPU_PREFERENCE_UNSPE… in windows_read_sorted_physical_devices()
[all …]
/third_party/lzma/CPP/7zip/Archive/
DXzHandler.cpp122 HRESULT hres = decoder.Decode(seqInStream, outStream, in Decode() local
139 return hres; in Decode()
1071 HRESULT hres = Decode(decoder, _seqStream, realOutStream, lpsRef); in Extract() local
1074 return hres == S_OK ? E_FAIL : hres; in Extract()
1078 && hres != S_OK) in Extract()
1366 HRESULT hres; in SetProperty() local
1367 if (SetCommonProperty(name, value, hres)) in SetProperty()
1368 return hres; in SetProperty()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Dgstdx9screencapsrc.c461 HRESULT hres; in gst_dx9screencapsrc_create() local
554 hres = in gst_dx9screencapsrc_create()
556 if (FAILED (hres)) { in gst_dx9screencapsrc_create()
592 hres = in gst_dx9screencapsrc_create()
595 if (FAILED (hres)) { in gst_dx9screencapsrc_create()
/third_party/lzma/CPP/7zip/Common/
DFileStreams.cpp287 const HRESULT hres = ConvertBoolToHRESULT(result); in Seek() local
300 return hres; in Seek()
307 const HRESULT hres = GetLastError_HRESULT(); in Seek() local
310 return hres; in Seek()
/third_party/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp655 const HRESULT hres = Callback->OpenFileError(path, error); in GetStream2() local
657 if (hres == S_OK || hres == S_FALSE) in GetStream2()
659 return hres; in GetStream2()
DArchiveExtractCallback.cpp1875 HRESULT hres = S_OK; in CloseFile() local
1885 if (hres == S_OK) in CloseFile()
1886 hres = hres2; in CloseFile()
1925 return hres; in CloseFile()
/third_party/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp759 HRESULT hres; in SetProperties() local
760 if (SetCommonProperty(name, value, hres)) in SetProperties()
762 RINOK(hres); in SetProperties()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_bufmgr.cpp143 HRESULT hres = dev->CreateCommittedResource(&heap_pris, in d3d12_bo_new() local
150 if (FAILED(hres)) in d3d12_bo_new()

12