[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.64,1.65

Michael Niedermayer CVS michael at mplayerhq.hu
Sat Jun 14 03:26:31 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv30617

Modified Files:
	ve_lavc.c 
Log Message:
YUV 444 411 410 support


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- ve_lavc.c	13 Jun 2003 21:35:02 -0000	1.64
+++ ve_lavc.c	14 Jun 2003 01:26:06 -0000	1.65
@@ -420,6 +420,12 @@
         lavc_venc_context->pix_fmt= PIX_FMT_YUV420P;
     else if(!strcasecmp(lavc_param_format, "422P"))
         lavc_venc_context->pix_fmt= PIX_FMT_YUV422P;
+    else if(!strcasecmp(lavc_param_format, "444P"))
+        lavc_venc_context->pix_fmt= PIX_FMT_YUV444P;
+    else if(!strcasecmp(lavc_param_format, "411P"))
+        lavc_venc_context->pix_fmt= PIX_FMT_YUV411P;
+    else if(!strcasecmp(lavc_param_format, "YVU9"))
+        lavc_venc_context->pix_fmt= PIX_FMT_YUV410P;
     else{
         mp_msg(MSGT_MENCODER,MSGL_ERR,"%s is not a supported format\n", lavc_param_format);
         return 0;
@@ -504,8 +510,20 @@
         if(!strcasecmp(lavc_param_format, "YV12"))
             return VFCAP_CSP_SUPPORTED | VFCAP_ACCEPT_STRIDE;
         break;
+    case IMGFMT_411P:
+        if(!strcasecmp(lavc_param_format, "411P"))
+            return VFCAP_CSP_SUPPORTED | VFCAP_ACCEPT_STRIDE;
+        break;
     case IMGFMT_422P:
         if(!strcasecmp(lavc_param_format, "422P"))
+            return VFCAP_CSP_SUPPORTED | VFCAP_ACCEPT_STRIDE;
+        break;
+    case IMGFMT_444P:
+        if(!strcasecmp(lavc_param_format, "444P"))
+            return VFCAP_CSP_SUPPORTED | VFCAP_ACCEPT_STRIDE;
+        break;
+    case IMGFMT_YVU9:
+        if(!strcasecmp(lavc_param_format, "YVU9"))
             return VFCAP_CSP_SUPPORTED | VFCAP_ACCEPT_STRIDE;
         break;
     }



More information about the MPlayer-cvslog mailing list