Home
last modified time | relevance | path

Searched refs:hwaccel_context (Results 1 - 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmediacodec.c56 avctx->hwaccel_context = ctx; in av_mediacodec_default_init()
69 AVMediaCodecContext *ctx = avctx->hwaccel_context; in av_mediacodec_default_free()
85 av_freep(&avctx->hwaccel_context); in av_mediacodec_default_free()
H A Dvdpau.c145 VDPAUHWContext *hwctx = avctx->hwaccel_context; in ff_vdpau_common_init()
318 VDPAUHWContext *hwctx = avctx->hwaccel_context; in ff_vdpau_common_reinit()
345 AVVDPAUContext *hwctx = avctx->hwaccel_context; in ff_vdpau_common_end_frame()
418 if (av_reallocp(&avctx->hwaccel_context, sizeof(*hwctx))) in av_vdpau_bind_context()
421 hwctx = avctx->hwaccel_context; in av_vdpau_bind_context()
H A Ddxva2_internal.h99 #define DXVA_CONTEXT(avctx) (AVDXVAContext *)((avctx)->hwaccel_context ? (avctx)->hwaccel_context : (&(DXVA_SHARED_CONTEXT(avctx)->ctx)))
H A Dvideotoolbox.c475 return avctx->hwaccel_context; in videotoolbox_get_context()
1185 if (avctx->hwaccel_context) in ff_videotoolbox_common_init()
1406 avctx->hwaccel_context = vtctx ?: av_videotoolbox_alloc_context_with_pix_fmt(pix_fmt, full_range); in av_videotoolbox_default_init2()
1407 if (!avctx->hwaccel_context) in av_videotoolbox_default_init2()
1416 av_freep(&avctx->hwaccel_context); in av_videotoolbox_default_free()
H A Dqsvenc.c1177 AVQSVContext *qsv = avctx->hwaccel_context; in qsv_init_opaque_alloc()
1216 if (avctx->hwaccel_context) { in qsvenc_init_session()
1217 AVQSVContext *qsv = avctx->hwaccel_context; in qsvenc_init_session()
1266 if (avctx->hwaccel_context) { in ff_qsv_enc_init()
1267 AVQSVContext *qsv = avctx->hwaccel_context; in ff_qsv_enc_init()
1313 if (avctx->hwaccel_context) { in ff_qsv_enc_init()
1314 AVQSVContext *qsv = avctx->hwaccel_context; in ff_qsv_enc_init()
1672 if (avctx->hwaccel_context) { in update_parameters()
1673 AVQSVContext *qsv = avctx->hwaccel_context; in update_parameters()
H A Dpthread_frame.c240 avctx->hwaccel_context = NULL; in frame_worker_thread()
466 FFSWAP(void*, p->avctx->hwaccel_context, fctx->stash_hwaccel_context); in submit_packet()
677 p->parent->stash_hwaccel_context = avctx->hwaccel_context; in ff_thread_finish_setup()
783 FFSWAP(void*, avctx->hwaccel_context, fctx->stash_hwaccel_context); in ff_frame_thread_free()
H A Davcodec.h1390 void *hwaccel_context; member
2182 * hwaccel_context are set and the hwaccel private data in AVCodecInternal
2191 * and hwaccel_context are already uninitialized.
H A Dqsvdec.c261 if (avctx->pix_fmt == AV_PIX_FMT_QSV && avctx->hwaccel_context) { in qsv_decode_preinit()
262 AVQSVContext *user_ctx = avctx->hwaccel_context; in qsv_decode_preinit()
H A Dmediacodecdec_common.c576 AVMediaCodecContext *user_ctx = avctx->hwaccel_context; in ff_mediacodec_dec_init()
H A Ddxva2.c664 if (avctx->hwaccel_context) in ff_dxva2_decode_init()

Completed in 26 milliseconds