summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-17 22:43:14 +0200
committerwm4 <wm4@nowhere>2019-10-17 22:43:14 +0200
commit77fd4dd681be8eb95d8e7b79b66242822f95e4da (patch)
tree7d512a14700da3b16019bd9c3a946a19d2e3138d /video/mp_image.h
parenta6000d3114214cf697d628ad09c8ca226c31340d (diff)
downloadmpv-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/mp_image.h')
-rw-r--r--video/mp_image.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index 0eed3eb43c..1dda20849e 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -52,18 +52,12 @@ struct mp_spherical_params {
float ref_angles[3]; // yaw/pitch/roll, refer to AVSphericalMapping
};
-enum mp_image_hw_flags {
- MP_IMAGE_HW_FLAG_OPAQUE = 1, // an opaque hw format is used - the exact
- // format is subject to hwctx internals
-};
-
// Describes image parameters that usually stay constant.
// New fields can be added in the future. Code changing the parameters should
// usually copy the whole struct, so that fields added later will be preserved.
struct mp_image_params {
enum mp_imgfmt imgfmt; // pixel format
enum mp_imgfmt hw_subfmt; // underlying format for some hwaccel pixfmts
- unsigned hw_flags; // bit mask of mp_image_hw_flags
int w, h; // image dimensions
int p_w, p_h; // define pixel aspect ratio (undefined: 0/0)
struct mp_colorspace color;