From 77fd4dd681be8eb95d8e7b79b66242822f95e4da Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 17 Oct 2019 22:43:14 +0200 Subject: video: remove mp_image_params.hw_flags field This was speculatively added 2 years ago in preparation for something that apparently never happened. The D3D code was added as an "example", but this too was never used/finished. No reason to keep this. --- video/hwdec.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'video/hwdec.h') diff --git a/video/hwdec.h b/video/hwdec.h index d951a1cd8c..0aa33a05ba 100644 --- a/video/hwdec.h +++ b/video/hwdec.h @@ -75,12 +75,6 @@ struct hwcontext_create_dev_params { // All entries are strictly optional. struct hwcontext_fns { int av_hwdevice_type; - // Set any mp_image fields that require hwcontext specific code, such as - // fields or flags not present in AVFrame or AVHWFramesContext in a - // portable way. This is called directly after img is converted from an - // AVFrame, with all other fields already set. img.hwctx will be set, and - // use the correct AV_HWDEVICE_TYPE_. - void (*complete_image_params)(struct mp_image *img); // Fill in special format-specific requirements. void (*refine_hwframes)(struct AVBufferRef *hw_frames_ctx); // Returns a AVHWDeviceContext*. Used for copy hwdecs. -- cgit v1.2.3