Lines Matching defs:hwframe
83 AVBufferRef *hwframe;
122 AVHWFramesContext *hwframe_ctx = (AVHWFramesContext*)ctx->hwframe->data;
209 // Update our hwframe ctx, as the get_format callback might have refreshed it!
211 av_buffer_unref(&ctx->hwframe);
213 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx);
214 if (!ctx->hwframe) {
219 hwframe_ctx = (AVHWFramesContext*)ctx->hwframe->data;
331 if ((ctx->internal_error = av_hwframe_ctx_init(ctx->hwframe)) < 0) {
512 ret = av_hwframe_get_buffer(ctx->hwframe, frame, 0);
562 tmp_frame->hw_frames_ctx = av_buffer_ref(ctx->hwframe);
678 av_buffer_unref(&ctx->hwframe);
848 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx);
849 if (!ctx->hwframe) {
854 hwframe_ctx = (AVHWFramesContext*)ctx->hwframe->data;
874 ctx->hwframe = av_hwframe_ctx_alloc(ctx->hwdevice);
875 if (!ctx->hwframe) {
881 hwframe_ctx = (AVHWFramesContext*)ctx->hwframe->data;