summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-29 22:38:54 +0200
committerwm4 <wm4@nowhere>2016-04-29 22:38:54 +0200
commitbda111018c2440e0af70b462d24c757beb37b11f (patch)
treedbe1ecbeec1cbc5acf69dedbbf498e48fd636899 /video/img_format.h
parent0ed206abd94641ab44f4693169fbbbd8a33fa121 (diff)
downloadmpv-bda111018c2440e0af70b462d24c757beb37b11f.tar.bz2
mpv-bda111018c2440e0af70b462d24c757beb37b11f.tar.xz
video: add IMGFMT_P010 alias
Gets rid of some silliness, and might be useful in the future.
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h
index 605dc920bd..73c06787b1 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -157,6 +157,9 @@ enum mp_imgfmt {
IMGFMT_NV12,
IMGFMT_NV21,
+ // Like IMGFMT_NV12, but with 16 bits per component
+ IMGFMT_P010,
+
// RGB/BGR Formats
// Byte accessed (low address to high address)