Lines Matching defs:texture
109 if (frames_hwctx->texture)
110 ID3D11Texture2D_Release(frames_hwctx->texture);
111 frames_hwctx->texture = NULL;
180 frames_hwctx->texture_infos[s->nb_surfaces_used].texture = tex;
184 desc->texture = tex;
218 av_log(ctx, AV_LOG_ERROR, "Could not create the texture (%lx)\n", (long)hr);
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);
280 if (hwctx->texture) {
282 ID3D11Texture2D_GetDesc(hwctx->texture, &texDesc2);
287 av_log(ctx, AV_LOG_ERROR, "User-provided texture has mismatching parameters\n");
291 hr = ID3D11Device_CreateTexture2D(device_hwctx->device, &texDesc, NULL, &hwctx->texture);
293 av_log(ctx, AV_LOG_ERROR, "Could not create the texture (%lx)\n", (long)hr);
321 frame->data[0] = (uint8_t *)desc->texture;
371 av_log(ctx, AV_LOG_ERROR, "Could not create the staging texture (%lx)\n", (long)hr);
401 ID3D11Resource *texture = (ID3D11Resource *)(ID3D11Texture2D *)frame->data[0];
418 ID3D11Texture2D_GetDesc((ID3D11Texture2D *)texture, &desc);
431 texture, index, NULL);
458 texture, index, 0, 0, 0,