summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-29 21:30:10 +0200
committerwm4 <wm4@nowhere>2017-06-29 21:30:10 +0200
commit300f6a334498059f28ec63406112348c7e00fa64 (patch)
tree955e8139ad77c0423c4db6780f35524c961664c9 /video/img_format.h
parentaf5a71f52ec9191aa20b602e3764d225b5d5029d (diff)
downloadmpv-300f6a334498059f28ec63406112348c7e00fa64.tar.bz2
mpv-300f6a334498059f28ec63406112348c7e00fa64.tar.xz
video: drop some more IMGFMT aliases
For vo_opengl and vo_direct3d, these are supported in a generic way. For vf_vapoursynth, we could probably map its VSFormat struct in a generic way, but for now do some bullshit. vf_eq.c actually loses support for these formats. We could add generic support too (anything that has 8 bit planes will work), but why bother. The filter is deprecated anyway.
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/video/img_format.h b/video/img_format.h
index e036d65adc..4aecdbe174 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -142,26 +142,7 @@ enum mp_imgfmt {
// Planar YUV formats
IMGFMT_444P, // 1x1
- IMGFMT_422P, // 2x1
- IMGFMT_440P, // 1x2
IMGFMT_420P, // 2x2
- IMGFMT_411P, // 4x1
- IMGFMT_410P, // 4x4
-
- // YUV formats with 2 bytes per plane-pixel. Formats with 9-15 bits pad the
- // most significant bits with 0 (use shifts to expand them to 16 bits).
-
- IMGFMT_444P16,
- IMGFMT_444P10,
- IMGFMT_444P9,
-
- IMGFMT_422P16,
- IMGFMT_422P10,
- IMGFMT_422P9,
-
- IMGFMT_420P16,
- IMGFMT_420P10,
- IMGFMT_420P9,
// Gray
IMGFMT_Y8,
@@ -179,8 +160,6 @@ enum mp_imgfmt {
// Like IMGFMT_NV12, but with 10 bits per component (and 6 bits of padding)
IMGFMT_P010,
- // Like IMGFMT_NV12, but with 16 bits per component
- IMGFMT_P016,
// RGB/BGR Formats