Home
last modified time | relevance | path

Searched refs:frames_hwctx (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dqsv.c448 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_create_mids() local
449 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() local
488 int nb_surfaces = frames_hwctx->nb_surfaces; in qsv_setup_mids()
534 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_frame_alloc() local
536 mfxFrameInfo *i1 = &frames_hwctx->surfaces[0].Info; in qsv_frame_alloc()
560 AVQSVFramesContext *frames_hwctx; in qsv_frame_alloc() local
567 frames_hwctx = frames_ctx->hwctx; in qsv_frame_alloc()
575 frames_hwctx->frame_type = req->Type; in qsv_frame_alloc()
[all …]
Ddxva2.c356 AVDXVA2FramesContext *frames_hwctx = frames_ctx->hwctx; in dxva2_create_decoder() local
398 &desc, &config, frames_hwctx->surfaces, in dxva2_create_decoder()
399frames_hwctx->nb_surfaces, &sctx->dxva2_decoder); in dxva2_create_decoder()
475 AVD3D11VAFramesContext *frames_hwctx = frames_ctx->hwctx; in d3d11va_create_decoder() local
481 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() local
640 frames_hwctx->surface_type = DXVA2_VideoDecoderRenderTarget; in ff_dxva2_common_frame_params()
[all …]
Dqsvenc.c458 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in init_video_param_jpeg() local
459 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() local
580 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() local
1124 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()
Dqsvdec.c243 AVQSVFramesContext *frames_hwctx = frames_ctx->hwctx; in qsv_decode_preinit() local
246 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()
/third_party/ffmpeg/fftools/
Dffmpeg_qsv.c76 AVQSVFramesContext *frames_hwctx; in qsv_init() local
91 frames_hwctx = frames_ctx->hwctx; in qsv_init()
98 frames_hwctx->frame_type = MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET; in qsv_init()
/third_party/ffmpeg/libavutil/
Dhwcontext_dxva2.c94 AVDXVA2FramesContext *frames_hwctx = ctx->hwctx; in dxva2_frames_uninit() local
98 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() local
147 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()
Dhwcontext_qsv.c354 AVQSVFramesContext *frames_hwctx = ctx->hwctx; in qsv_init_pool() local
374 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() local
446 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() local
521 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 …]
Dhwcontext_d3d11va.c105 AVD3D11VAFramesContext *frames_hwctx = ctx->hwctx; in d3d11va_frames_uninit() local
108 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()
Dhwcontext_vulkan.c2022 AVVulkanFramesContext *frames_hwctx = hwfc->hwctx; in vulkan_map_from_drm_frame_desc() local
2080 .usage = frames_hwctx->usage, in vulkan_map_from_drm_frame_desc()
/third_party/ffmpeg/doc/examples/
Dqsvdec.c57 AVQSVFramesContext *frames_hwctx; in get_format() local
65 frames_hwctx = frames_ctx->hwctx; in get_format()
73 frames_hwctx->frame_type = MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET; in get_format()
/third_party/ffmpeg/libavfilter/
Dqsvvpp.c293 AVQSVFramesContext *frames_hwctx; in fill_frameinfo_by_link() local
301 frames_hwctx = frames_ctx->hwctx; in fill_frameinfo_by_link()
302 *frameinfo = frames_hwctx->surfaces[0].Info; in fill_frameinfo_by_link()