summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-17 22:49:26 +0200
committerwm4 <wm4@nowhere>2019-10-17 22:49:26 +0200
commit60ab82df322bd91fd1c999dfaa3dd1784617734b (patch)
tree6d485985218e2728dc09105e2d9aef391cca5a15 /video/mp_image.h
parentc75e0320f60f93f0db40c949320fd9cee27cb52e (diff)
downloadmpv-60ab82df322bd91fd1c999dfaa3dd1784617734b.tar.bz2
mpv-60ab82df322bd91fd1c999dfaa3dd1784617734b.tar.xz
video, demux: rip out unused spherical metadata code
This was preparation into something that never happened. Spherical video is a shit idea anyway.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index 1dda20849e..16bae6e7d9 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -38,20 +38,6 @@
#define MP_IMGFIELD_REPEAT_FIRST 0x04
#define MP_IMGFIELD_INTERLACED 0x20
-enum mp_spherical_type {
- MP_SPHERICAL_AUTO = 0,
- MP_SPHERICAL_NONE, // normal video
- MP_SPHERICAL_UNKNOWN, // unknown projection
- MP_SPHERICAL_EQUIRECTANGULAR, // (untiled)
-};
-
-extern const struct m_opt_choice_alternatives mp_spherical_names[];
-
-struct mp_spherical_params {
- enum mp_spherical_type type;
- float ref_angles[3]; // yaw/pitch/roll, refer to AVSphericalMapping
-};
-
// 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.
@@ -65,7 +51,6 @@ struct mp_image_params {
// The image should be rotated clockwise (0-359 degrees).
int rotate;
enum mp_stereo3d_mode stereo3d; // image is encoded with this mode
- struct mp_spherical_params spherical;
};
/* Memory management: