[MPlayer-cvslog] r32577 - trunk/libmpcodecs/ve_raw.c

reimar subversion at mplayerhq.hu
Wed Nov 3 17:44:13 CET 2010


Author: reimar
Date: Wed Nov  3 17:44:13 2010
New Revision: 32577

Log:
Support NV12/NV21/HM12 in ve_raw.

Modified:
   trunk/libmpcodecs/ve_raw.c

Modified: trunk/libmpcodecs/ve_raw.c
==============================================================================
--- trunk/libmpcodecs/ve_raw.c	Wed Nov  3 17:42:24 2010	(r32576)
+++ trunk/libmpcodecs/ve_raw.c	Wed Nov  3 17:44:13 2010	(r32577)
@@ -64,6 +64,12 @@ static int set_format(struct vf_instance
 	return 1;
     }
     switch (fmt) {
+    case IMGFMT_NV12:
+    case IMGFMT_NV21:
+    case IMGFMT_HM12:
+	mux_v->bih->biPlanes = 2;
+	mux_v->bih->biBitCount = 12;
+	break;
     case IMGFMT_I420:
     case IMGFMT_IYUV:
     case IMGFMT_YV12:


More information about the MPlayer-cvslog mailing list