Lines Matching refs:hwctx
106 AVD3D11VAFramesContext *frames_hwctx = ctx->hwctx;
124 AVD3D11VADeviceContext *device_hwctx = ctx->hwctx;
163 AVD3D11VAFramesContext *frames_hwctx = ctx->hwctx;
200 AVD3D11VAFramesContext *hwctx = ctx->hwctx;
201 AVD3D11VADeviceContext *device_hwctx = ctx->device_ctx->hwctx;
212 .BindFlags = hwctx->BindFlags,
213 .MiscFlags = hwctx->MiscFlags,
229 AVD3D11VAFramesContext *hwctx = ctx->hwctx;
232 if (!hwctx->texture)
235 ID3D11Texture2D_GetDesc(hwctx->texture, &texDesc);
242 ID3D11Texture2D_AddRef(hwctx->texture);
243 return wrap_texture_buf(ctx, hwctx->texture, s->nb_surfaces_used);
248 AVD3D11VAFramesContext *hwctx = ctx->hwctx;
249 AVD3D11VADeviceContext *device_hwctx = ctx->device_ctx->hwctx;
276 .BindFlags = hwctx->BindFlags,
277 .MiscFlags = hwctx->MiscFlags,
280 if (hwctx->texture) {
282 ID3D11Texture2D_GetDesc(hwctx->texture, &texDesc2);
291 hr = ID3D11Device_CreateTexture2D(device_hwctx->device, &texDesc, NULL, &hwctx->texture);
298 hwctx->texture_infos = av_realloc_f(NULL, ctx->initial_pool_size, sizeof(*hwctx->texture_infos));
299 if (!hwctx->texture_infos)
355 AVD3D11VADeviceContext *device_hwctx = ctx->device_ctx->hwctx;
395 AVD3D11VADeviceContext *device_hwctx = ctx->device_ctx->hwctx;
473 AVD3D11VADeviceContext *device_hwctx = hwdev->hwctx;
511 AVD3D11VADeviceContext *device_hwctx = hwdev->hwctx;
543 AVD3D11VADeviceContext *device_hwctx = ctx->hwctx;