diff options
author | wm4 <wm4@nowhere> | 2019-10-17 22:43:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-17 22:43:14 +0200 |
commit | 77fd4dd681be8eb95d8e7b79b66242822f95e4da (patch) | |
tree | 7d512a14700da3b16019bd9c3a946a19d2e3138d /video/hwdec.h | |
parent | a6000d3114214cf697d628ad09c8ca226c31340d (diff) | |
download | mpv-77fd4dd681be8eb95d8e7b79b66242822f95e4da.tar.bz2 mpv-77fd4dd681be8eb95d8e7b79b66242822f95e4da.tar.xz |
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.
Diffstat (limited to 'video/hwdec.h')
-rw-r--r-- | video/hwdec.h | 6 |
1 files changed, 0 insertions, 6 deletions
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. |