diff options
Diffstat (limited to 'video/csputils.h')
-rw-r--r-- | video/csputils.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/video/csputils.h b/video/csputils.h index 757ac72cdc..1a559ebfd2 100644 --- a/video/csputils.h +++ b/video/csputils.h @@ -79,6 +79,17 @@ enum mp_render_intent { MP_INTENT_ABSOLUTE_COLORIMETRIC = 3 }; +enum mp_stereo3d_mode { + MP_STEREO3D_INVALID = -1, + MP_STEREO3D_MONO = 0, + MP_STEREO3D_COUNT = 13, // 12 is last valid mode +}; + +extern const char *const mp_stereo3d_names[MP_STEREO3D_COUNT]; + +#define MP_STEREO3D_NAME(x) \ + ((x) >= 0 && (x) < MP_STEREO3D_COUNT ? (char *)mp_stereo3d_names[(x)] : NULL) + struct mp_csp_details { enum mp_csp format; enum mp_csp_levels levels_in; // encoded video |