Searched refs:frames_hwctx (Results 1 – 11 of 11) sorted by relevance
448 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_create_mids() local449 int nb_surfaces = frames_hwctx->nb_surfaces; in qsv_create_mids()475 mid->handle = frames_hwctx->surfaces[i].Data.MemId; in qsv_create_mids()486 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_setup_mids() local488 int nb_surfaces = frames_hwctx->nb_surfaces; in qsv_setup_mids()534 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_frame_alloc() local536 mfxFrameInfo *i1 = &frames_hwctx->surfaces[0].Info; in qsv_frame_alloc()560 AVQSVFramesContext *frames_hwctx; in qsv_frame_alloc() local567 frames_hwctx = frames_ctx->hwctx; in qsv_frame_alloc()575 frames_hwctx->frame_type = req->Type; in qsv_frame_alloc()[all …]
356 AVDXVA2FramesContext *frames_hwctx = frames_ctx->hwctx; in dxva2_create_decoder() local398 &desc, &config, frames_hwctx->surfaces, in dxva2_create_decoder()399 … frames_hwctx->nb_surfaces, &sctx->dxva2_decoder); in dxva2_create_decoder()475 AVD3D11VAFramesContext *frames_hwctx = frames_ctx->hwctx; in d3d11va_create_decoder() local481 if (!frames_hwctx->texture) { in d3d11va_create_decoder()485 ID3D11Texture2D_GetDesc(frames_hwctx->texture, &texdesc); in d3d11va_create_decoder()532 (ID3D11Resource*) frames_hwctx->texture, in d3d11va_create_decoder()549 sctx->d3d11_texture = frames_hwctx->texture; in d3d11va_create_decoder()638 AVDXVA2FramesContext *frames_hwctx = frames_ctx->hwctx; in ff_dxva2_common_frame_params() local640 frames_hwctx->surface_type = DXVA2_VideoDecoderRenderTarget; in ff_dxva2_common_frame_params()[all …]
458 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in init_video_param_jpeg() local459 q->param.mfx.FrameInfo.Width = frames_hwctx->surfaces[0].Info.Width; in init_video_param_jpeg()460 q->param.mfx.FrameInfo.Height = frames_hwctx->surfaces[0].Info.Height; in init_video_param_jpeg()579 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in init_video_param() local580 q->param.mfx.FrameInfo.Width = frames_hwctx->surfaces[0].Info.Width; in init_video_param()581 q->param.mfx.FrameInfo.Height = frames_hwctx->surfaces[0].Info.Height; in init_video_param()1121 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in ff_qsv_enc_init() local1124 if (frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME) in ff_qsv_enc_init()1126 else if (frames_hwctx->frame_type & in ff_qsv_enc_init()
243 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_decode_preinit() local246 if (frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME) in qsv_decode_preinit()248 else if (frames_hwctx->frame_type & MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET) in qsv_decode_preinit()
76 AVQSVFramesContext *frames_hwctx; in qsv_init() local91 frames_hwctx = frames_ctx->hwctx; in qsv_init()98 frames_hwctx->frame_type = MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET; in qsv_init()
94 AVDXVA2FramesContext *frames_hwctx = ctx->hwctx; in dxva2_frames_uninit() local98 if (frames_hwctx->decoder_to_release) in dxva2_frames_uninit()99 IDirectXVideoDecoder_Release(frames_hwctx->decoder_to_release); in dxva2_frames_uninit()102 for (i = 0; i < frames_hwctx->nb_surfaces; i++) { in dxva2_frames_uninit()144 AVDXVA2FramesContext *frames_hwctx = ctx->hwctx; in dxva2_init_pool() local147 int decode = (frames_hwctx->surface_type == DXVA2_VideoDecoderRenderTarget); in dxva2_init_pool()191 frames_hwctx->surface_type, in dxva2_init_pool()203 frames_hwctx->surfaces = s->surfaces_internal; in dxva2_init_pool()204 frames_hwctx->nb_surfaces = ctx->initial_pool_size; in dxva2_init_pool()
354 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_init_pool() local374 if (!(frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME)) { in qsv_init_pool()385 frames_hwctx->surfaces = s->surfaces_internal; in qsv_init_pool()386 frames_hwctx->nb_surfaces = ctx->initial_pool_size; in qsv_init_pool()444 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_init_internal_session() local446 int opaque = !!(frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME); in qsv_init_internal_session()495 par.vpp.In = frames_hwctx->surfaces[0].Info; in qsv_init_internal_session()519 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_frames_init() local521 int opaque = !!(frames_hwctx->frame_type & MFX_MEMTYPE_OPAQUE_FRAME); in qsv_frames_init()541 s->surface_ptrs = av_mallocz_array(frames_hwctx->nb_surfaces, in qsv_frames_init()[all …]
105 AVD3D11VAFramesContext *frames_hwctx = ctx->hwctx; in d3d11va_frames_uninit() local108 if (frames_hwctx->texture) in d3d11va_frames_uninit()109 ID3D11Texture2D_Release(frames_hwctx->texture); in d3d11va_frames_uninit()110 frames_hwctx->texture = NULL; in d3d11va_frames_uninit()
2022 AVVulkanFramesContext *frames_hwctx = hwfc->hwctx; in vulkan_map_from_drm_frame_desc() local2080 .usage = frames_hwctx->usage, in vulkan_map_from_drm_frame_desc()
57 AVQSVFramesContext *frames_hwctx; in get_format() local65 frames_hwctx = frames_ctx->hwctx; in get_format()73 frames_hwctx->frame_type = MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET; in get_format()
293 AVQSVFramesContext *frames_hwctx; in fill_frameinfo_by_link() local301 frames_hwctx = frames_ctx->hwctx; in fill_frameinfo_by_link()302 *frameinfo = frames_hwctx->surfaces[0].Info; in fill_frameinfo_by_link()