• Home
  • Raw
  • Download

Lines Matching refs:src_hwctx

617     AVQSVFramesContext *src_hwctx = src_ctx->hwctx;  in qsv_frames_derive_from()  local
625 dst_hwctx->surface_ids = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from()
629 for (i = 0; i < src_hwctx->nb_surfaces; i++) in qsv_frames_derive_from()
631 *(VASurfaceID*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from()
632 dst_hwctx->nb_surfaces = src_hwctx->nb_surfaces; in qsv_frames_derive_from()
640 dst_hwctx->surfaces = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from()
644 for (i = 0; i < src_hwctx->nb_surfaces; i++) in qsv_frames_derive_from()
646 (IDirect3DSurface9*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from()
647 dst_hwctx->nb_surfaces = src_hwctx->nb_surfaces; in qsv_frames_derive_from()
648 if (src_hwctx->frame_type == MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET) in qsv_frames_derive_from()
985 AVVAAPIFramesContext *src_hwctx = src_ctx->hwctx; in qsv_frames_derive_to() local
986 s->surfaces_internal = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_to()
990 for (i = 0; i < src_hwctx->nb_surfaces; i++) { in qsv_frames_derive_to()
992 s->surfaces_internal[i].Data.MemId = src_hwctx->surface_ids + i; in qsv_frames_derive_to()
994 dst_hwctx->nb_surfaces = src_hwctx->nb_surfaces; in qsv_frames_derive_to()
1002 AVDXVA2FramesContext *src_hwctx = src_ctx->hwctx; in qsv_frames_derive_to() local
1003 s->surfaces_internal = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_to()
1007 for (i = 0; i < src_hwctx->nb_surfaces; i++) { in qsv_frames_derive_to()
1009 s->surfaces_internal[i].Data.MemId = (mfxMemId)src_hwctx->surfaces[i]; in qsv_frames_derive_to()
1011 dst_hwctx->nb_surfaces = src_hwctx->nb_surfaces; in qsv_frames_derive_to()
1012 if (src_hwctx->surface_type == DXVA2_VideoProcessorRenderTarget) in qsv_frames_derive_to()