Lines Matching refs:camera

50     if (FAILED(hr = IDirect3DRMFrame_GetScene(viewport->camera, &root_frame)))  in d3drm_update_background_material()
72 IDirect3DRMFrame_Release(viewport->camera); in d3drm_viewport_destroy()
304 IDirect3DRMFrame3 *camera, DWORD x, DWORD y, DWORD width, DWORD height) in d3drm_viewport2_Init() argument
317 iface, device, camera, x, y, width, height); in d3drm_viewport2_Init()
319 if (!device_obj || !camera in d3drm_viewport2_Init()
359 …f (FAILED(hr = IDirect3DRMFrame3_QueryInterface(camera, &IID_IDirect3DRMFrame, (void **)&viewport-… in d3drm_viewport2_Init()
388 if (viewport->camera) in d3drm_viewport2_Init()
389 IDirect3DRMFrame_Release(viewport->camera); in d3drm_viewport2_Init()
403 IDirect3DRMFrame *camera, DWORD x, DWORD y, DWORD width, DWORD height) in d3drm_viewport1_Init() argument
406 struct d3drm_frame *frame = unsafe_impl_from_IDirect3DRMFrame(camera); in d3drm_viewport1_Init()
411 iface, device, camera, x, y, width, height); in d3drm_viewport1_Init()
582 …ic HRESULT WINAPI d3drm_viewport2_SetCamera(IDirect3DRMViewport2 *iface, IDirect3DRMFrame3 *camera) in d3drm_viewport2_SetCamera() argument
585 struct d3drm_frame *frame = unsafe_impl_from_IDirect3DRMFrame3(camera); in d3drm_viewport2_SetCamera()
587 TRACE("iface %p, camera %p.\n", iface, camera); in d3drm_viewport2_SetCamera()
589 if (!camera || !viewport->camera) in d3drm_viewport2_SetCamera()
593 IDirect3DRMFrame_Release(viewport->camera); in d3drm_viewport2_SetCamera()
594 viewport->camera = &frame->IDirect3DRMFrame_iface; in d3drm_viewport2_SetCamera()
599 …atic HRESULT WINAPI d3drm_viewport1_SetCamera(IDirect3DRMViewport *iface, IDirect3DRMFrame *camera) in d3drm_viewport1_SetCamera() argument
602 struct d3drm_frame *frame = unsafe_impl_from_IDirect3DRMFrame(camera); in d3drm_viewport1_SetCamera()
604 TRACE("iface %p, camera %p.\n", iface, camera); in d3drm_viewport1_SetCamera()
720 …c HRESULT WINAPI d3drm_viewport2_GetCamera(IDirect3DRMViewport2 *iface, IDirect3DRMFrame3 **camera) in d3drm_viewport2_GetCamera() argument
724 TRACE("iface %p, camera %p.\n", iface, camera); in d3drm_viewport2_GetCamera()
726 if (!camera) in d3drm_viewport2_GetCamera()
729 if (!viewport->camera) in d3drm_viewport2_GetCamera()
732 … return IDirect3DRMFrame_QueryInterface(viewport->camera, &IID_IDirect3DRMFrame3, (void **)camera); in d3drm_viewport2_GetCamera()
735 …tic HRESULT WINAPI d3drm_viewport1_GetCamera(IDirect3DRMViewport *iface, IDirect3DRMFrame **camera) in d3drm_viewport1_GetCamera() argument
742 TRACE("iface %p, camera %p.\n", iface, camera); in d3drm_viewport1_GetCamera()
744 if (!camera) in d3drm_viewport1_GetCamera()
751 *camera = &camera_impl->IDirect3DRMFrame_iface; in d3drm_viewport1_GetCamera()