Home
last modified time | relevance | path

Searched refs:hwframe (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_hwupload_cuda.c34 AVBufferRef *hwframe; member
51 av_buffer_unref(&s->hwframe); in cudaupload_uninit()
96 av_buffer_unref(&s->hwframe); in cudaupload_config_output()
97 s->hwframe = av_hwframe_ctx_alloc(s->hwdevice); in cudaupload_config_output()
98 if (!s->hwframe) in cudaupload_config_output()
101 hwframe_ctx = (AVHWFramesContext*)s->hwframe->data; in cudaupload_config_output()
112 ret = av_hwframe_ctx_init(s->hwframe); in cudaupload_config_output()
116 outlink->hw_frames_ctx = av_buffer_ref(s->hwframe); in cudaupload_config_output()
/third_party/ffmpeg/libavcodec/
H A Dcuviddec.c83 AVBufferRef *hwframe; member
122 AVHWFramesContext *hwframe_ctx = (AVHWFramesContext*)ctx->hwframe->data; in cuvid_handle_video_sequence()
209 // Update our hwframe ctx, as the get_format callback might have refreshed it! in cuvid_handle_video_sequence()
211 av_buffer_unref(&ctx->hwframe); in cuvid_handle_video_sequence()
213 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx); in cuvid_handle_video_sequence()
214 if (!ctx->hwframe) { in cuvid_handle_video_sequence()
219 hwframe_ctx = (AVHWFramesContext*)ctx->hwframe->data; in cuvid_handle_video_sequence()
331 if ((ctx->internal_error = av_hwframe_ctx_init(ctx->hwframe)) < 0) { in cuvid_handle_video_sequence()
512 ret = av_hwframe_get_buffer(ctx->hwframe, frame, 0); in cuvid_output_frame()
562 tmp_frame->hw_frames_ctx = av_buffer_ref(ctx->hwframe); in cuvid_output_frame()
[all...]

Completed in 3 milliseconds