Home
last modified time | relevance | path

Searched refs:hwframes (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_hwupload.c37 AVHWFramesContext *hwframes; member
135 ctx->hwframes = (AVHWFramesContext*)ctx->hwframes_ref->data; in hwupload_config_output()
140 ctx->hwframes->format = outlink->format; in hwupload_config_output()
144 ctx->hwframes->sw_format = in_hwframe_ctx->sw_format; in hwupload_config_output()
146 ctx->hwframes->sw_format = inlink->format; in hwupload_config_output()
148 ctx->hwframes->width = inlink->w; in hwupload_config_output()
149 ctx->hwframes->height = inlink->h; in hwupload_config_output()
152 ctx->hwframes->initial_pool_size = 2 + avctx->extra_hw_frames; in hwupload_config_output()
H A Dvf_hwdownload.c35 AVHWFramesContext *hwframes; member
68 ctx->hwframes = (AVHWFramesContext*)ctx->hwframes_ref->data; in hwdownload_config_input()
124 if ((void*)ctx->hwframes != input->hw_frames_ctx->data) { in hwdownload_filter_frame()
131 output = ff_get_video_buffer(outlink, ctx->hwframes->width, in hwdownload_filter_frame()
132 ctx->hwframes->height); in hwdownload_filter_frame()
/third_party/ffmpeg/libavcodec/
H A Drkmppdec.c344 AVHWFramesContext *hwframes; in rkmpp_retrieve_frame() local
366 hwframes = (AVHWFramesContext*)decoder->frames_ref->data; in rkmpp_retrieve_frame()
367 hwframes->format = AV_PIX_FMT_DRM_PRIME; in rkmpp_retrieve_frame()
368 hwframes->sw_format = drmformat == DRM_FORMAT_NV12 ? AV_PIX_FMT_NV12 : AV_PIX_FMT_NONE; in rkmpp_retrieve_frame()
369 hwframes->width = avctx->width; in rkmpp_retrieve_frame()
370 hwframes->height = avctx->height; in rkmpp_retrieve_frame()

Completed in 3 milliseconds