Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmediacodec.c57 avctx->hwaccel_context = ctx; in av_mediacodec_default_init()
70 AVMediaCodecContext *ctx = avctx->hwaccel_context; in av_mediacodec_default_free()
86 av_freep(&avctx->hwaccel_context); in av_mediacodec_default_free()
Dvdpau.c140 VDPAUHWContext *hwctx = avctx->hwaccel_context; in ff_vdpau_common_init()
313 VDPAUHWContext *hwctx = avctx->hwaccel_context; in ff_vdpau_common_reinit()
340 AVVDPAUContext *hwctx = avctx->hwaccel_context; in ff_vdpau_common_end_frame()
462 if (av_reallocp(&avctx->hwaccel_context, sizeof(*hwctx))) in av_vdpau_bind_context()
465 hwctx = avctx->hwaccel_context; in av_vdpau_bind_context()
Ddxva2_internal.h99 #define DXVA_CONTEXT(avctx) (AVDXVAContext *)((avctx)->hwaccel_context ? (avctx)->hwaccel_context :…
Dvideotoolbox.c430 return avctx->hwaccel_context; in videotoolbox_get_context()
1044 if (avctx->hwaccel_context) in videotoolbox_common_init()
1250 … avctx->hwaccel_context = vtctx ?: av_videotoolbox_alloc_context_with_pix_fmt(pix_fmt, full_range); in av_videotoolbox_default_init2()
1251 if (!avctx->hwaccel_context) in av_videotoolbox_default_init2()
1260 av_freep(&avctx->hwaccel_context); in av_videotoolbox_default_free()
Dqsvenc.c1013 AVQSVContext *qsv = avctx->hwaccel_context; in qsv_init_opaque_alloc()
1052 if (avctx->hwaccel_context) { in qsvenc_init_session()
1053 AVQSVContext *qsv = avctx->hwaccel_context; in qsvenc_init_session()
1112 if (avctx->hwaccel_context) { in ff_qsv_enc_init()
1113 AVQSVContext *qsv = avctx->hwaccel_context; in ff_qsv_enc_init()
1159 if (avctx->hwaccel_context) { in ff_qsv_enc_init()
1160 AVQSVContext *qsv = avctx->hwaccel_context; in ff_qsv_enc_init()
Dpthread_frame.c242 avctx->hwaccel_context = NULL; in frame_worker_thread()
461 … FFSWAP(void*, p->avctx->hwaccel_context, fctx->stash_hwaccel_context); in submit_packet()
673 p->parent->stash_hwaccel_context = avctx->hwaccel_context; in ff_thread_finish_setup()
827 FFSWAP(void*, avctx->hwaccel_context, fctx->stash_hwaccel_context); in ff_frame_thread_free()
Dvaapi_decode.c644 if (avctx->hwaccel_context) { in ff_vaapi_decode_init()
649 ctx->old_context = avctx->hwaccel_context; in ff_vaapi_decode_init()
Dqsvdec.c233 if (avctx->pix_fmt == AV_PIX_FMT_QSV && avctx->hwaccel_context) { in qsv_decode_preinit()
234 AVQSVContext *user_ctx = avctx->hwaccel_context; in qsv_decode_preinit()
Dmediacodecdec_common.c586 AVMediaCodecContext *user_ctx = avctx->hwaccel_context; in ff_mediacodec_dec_init()
Davcodec.h1692 void *hwaccel_context; member
Ddxva2.c664 if (avctx->hwaccel_context) in ff_dxva2_decode_init()