summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-30 09:15:09 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-30 09:15:09 +0000
commit49a3af8585178fa4b790bedfb587a8c23ec9c99e (patch)
treed580a9eb8d4512209354a96bdd6e7ef1cea3f625 /libmpcodecs/img_format.c
parent6df2ca6ea6d6e8f9ceda72e00991a0331ccdbc5d (diff)
downloadmpv-49a3af8585178fa4b790bedfb587a8c23ec9c99e.tar.bz2
mpv-49a3af8585178fa4b790bedfb587a8c23ec9c99e.tar.xz
fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/img_format.c')
-rw-r--r--libmpcodecs/img_format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/img_format.c b/libmpcodecs/img_format.c
index 5dc0b719e9..df6325505e 100644
--- a/libmpcodecs/img_format.c
+++ b/libmpcodecs/img_format.c
@@ -6,6 +6,7 @@ char *vo_format_name(int format)
{
case IMGFMT_RGB1: return("RGB 1-bit");
case IMGFMT_RGB4: return("RGB 4-bit");
+ case IMGFMT_RG4B: return("RGB 4-bit per byte");
case IMGFMT_RGB8: return("RGB 8-bit");
case IMGFMT_RGB15: return("RGB 15-bit");
case IMGFMT_RGB16: return("RGB 16-bit");
@@ -13,6 +14,7 @@ char *vo_format_name(int format)
case IMGFMT_RGB32: return("RGB 32-bit");
case IMGFMT_BGR1: return("BGR 1-bit");
case IMGFMT_BGR4: return("BGR 4-bit");
+ case IMGFMT_BG4B: return("BGR 4-bit per byte");
case IMGFMT_BGR8: return("BGR 8-bit");
case IMGFMT_BGR15: return("BGR 15-bit");
case IMGFMT_BGR16: return("BGR 16-bit");