summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-21 01:10:32 +0200
committerwm4 <wm4@nowhere>2012-10-21 21:01:54 +0200
commit933805daa16cfbc74610a2221b537c4ddb15d33e (patch)
tree0de79c241a5102e65ef9ef671d29eb5335caa96d /libmpcodecs/img_format.h
parent8bbce10c776f59aff6f21b80f5feee7d1a6d7ea7 (diff)
downloadmpv-933805daa16cfbc74610a2221b537c4ddb15d33e.tar.bz2
mpv-933805daa16cfbc74610a2221b537c4ddb15d33e.tar.xz
mp_image: add IMGFMT_BGR0/PIX_FMT_BGR0
Needed by ffv1.
Diffstat (limited to 'libmpcodecs/img_format.h')
-rw-r--r--libmpcodecs/img_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h
index 42e601a270..edd7040327 100644
--- a/libmpcodecs/img_format.h
+++ b/libmpcodecs/img_format.h
@@ -101,6 +101,8 @@
#define IMGFMT_RGB_DEPTH(fmt) ((fmt)&0x3F)
#define IMGFMT_BGR_DEPTH(fmt) ((fmt)&0x3F)
+// AV_PIX_FMT_BGR0
+#define IMGFMT_BGR0 0x1DC70000
/* Planar YUV Formats */