Home
last modified time | relevance | path

Searched refs:decoder_ref (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dnvdec.c181 AVBufferRef *decoder_ref; in nvdec_decoder_create() local
191 decoder_ref = av_buffer_create((uint8_t*)decoder, sizeof(*decoder), in nvdec_decoder_create()
193 if (!decoder_ref) { in nvdec_decoder_create()
231 *out = decoder_ref; in nvdec_decoder_create()
235 av_buffer_unref(&decoder_ref); in nvdec_decoder_create()
268 av_buffer_unref(&ctx->decoder_ref); in ff_nvdec_decode_uninit()
399 ret = nvdec_decoder_create(&ctx->decoder_ref, frames_ctx->device_ref, &params, avctx); in ff_nvdec_decode_init()
411 decoder = (NVDECDecoder*)ctx->decoder_ref->data; in ff_nvdec_decode_init()
443 av_buffer_unref(&cf->decoder_ref); in nvdec_fdd_priv_free()
451 NVDECDecoder *decoder = (NVDECDecoder*)unmap_data->decoder_ref->data; in nvdec_unmap_mapped_frame()
[all …]
Drkmppdec.c59 AVBufferRef *decoder_ref; member
64 AVBufferRef *decoder_ref; member
92 RKMPPDecoder *decoder = (RKMPPDecoder *)rk_context->decoder_ref->data; in rkmpp_write_data()
127 av_buffer_unref(&rk_context->decoder_ref); in rkmpp_close_decoder()
170 …rk_context->decoder_ref = av_buffer_create((uint8_t *)decoder, sizeof(*decoder), rkmpp_release_dec… in rkmpp_init_decoder()
172 if (!rk_context->decoder_ref) { in rkmpp_init_decoder()
272 RKMPPDecoder *decoder = (RKMPPDecoder *)rk_context->decoder_ref->data; in rkmpp_send_packet()
314 av_buffer_unref(&framecontext->decoder_ref); in rkmpp_release_frame()
323 RKMPPDecoder *decoder = (RKMPPDecoder *)rk_context->decoder_ref->data; in rkmpp_retrieve_frame()
449 framecontext->decoder_ref = av_buffer_ref(rk_context->decoder_ref); in rkmpp_retrieve_frame()
[all …]
Dnvdec.h47 AVBufferRef *decoder_ref; member
55 AVBufferRef *decoder_ref; member
Ddxva2.c401 sctx->decoder_ref = bufref_wrap_interface((IUnknown *)sctx->dxva2_decoder); in dxva2_create_decoder()
402 if (!sctx->decoder_ref) in dxva2_create_decoder()
545 sctx->decoder_ref = bufref_wrap_interface((IUnknown *)sctx->d3d11_decoder); in d3d11va_create_decoder()
546 if (!sctx->decoder_ref) in d3d11va_create_decoder()
729 av_buffer_unref(&sctx->decoder_ref); in ff_dxva2_decode_uninit()
901 if (sctx->decoder_ref) { in ff_dxva2_common_end_frame()
902 result = frame_add_buf(frame, sctx->decoder_ref); in ff_dxva2_common_end_frame()
Ddxva2_internal.h68 AVBufferRef *decoder_ref; member