Lines Matching refs:hwctx
94 AVDXVA2DeviceContext *device_hwctx = ctx->device_ctx->hwctx;
95 AVDXVA2FramesContext *frames_hwctx = ctx->hwctx;
132 AVDXVA2FramesContext *hwctx = ctx->hwctx;
134 if (s->nb_surfaces_used < hwctx->nb_surfaces) {
137 sizeof(*hwctx->surfaces), dxva2_pool_release_dummy, 0, 0);
145 AVDXVA2FramesContext *frames_hwctx = ctx->hwctx;
146 AVDXVA2DeviceContext *device_hwctx = ctx->device_ctx->hwctx;
212 AVDXVA2FramesContext *hwctx = ctx->hwctx;
216 if (hwctx->surface_type != DXVA2_VideoDecoderRenderTarget &&
217 hwctx->surface_type != DXVA2_VideoProcessorRenderTarget) {
219 hwctx->surface_type);
412 AVDXVA2DeviceContext *hwctx = ctx->hwctx;
415 if (hwctx->devmgr && priv->device_handle != INVALID_HANDLE_VALUE)
416 IDirect3DDeviceManager9_CloseDeviceHandle(hwctx->devmgr, priv->device_handle);
418 if (hwctx->devmgr)
419 IDirect3DDeviceManager9_Release(hwctx->devmgr);
511 AVDXVA2DeviceContext *hwctx = ctx->hwctx;
556 hr = createDeviceManager(&resetToken, &hwctx->devmgr);
562 hr = IDirect3DDeviceManager9_ResetDevice(hwctx->devmgr, priv->d3d9device, resetToken);
568 hr = IDirect3DDeviceManager9_OpenDeviceHandle(hwctx->devmgr, &priv->device_handle);