[MPlayer-cvslog] r23078 - trunk/vidix

ben subversion at mplayerhq.hu
Sun Apr 22 17:44:42 CEST 2007


Author: ben
Date: Sun Apr 22 17:44:42 2007
New Revision: 23078

Log:
simplified depth definition

Modified:
   trunk/vidix/mach64_vid.c
   trunk/vidix/nvidia_vid.c
   trunk/vidix/pm2_vid.c
   trunk/vidix/pm3_vid.c
   trunk/vidix/radeon_vid.c
   trunk/vidix/savage_vid.c
   trunk/vidix/unichrome_vid.c

Modified: trunk/vidix/mach64_vid.c
==============================================================================
--- trunk/vidix/mach64_vid.c	(original)
+++ trunk/vidix/mach64_vid.c	Sun Apr 22 17:44:42 2007
@@ -881,11 +881,7 @@ static int mach64_query_fourcc(vidix_fou
 {
     if(is_supported_fourcc(to->fourcc))
     {
-	to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-		    VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-		    VID_DEPTH_12BPP| VID_DEPTH_15BPP|
-		    VID_DEPTH_16BPP| VID_DEPTH_24BPP|
-		    VID_DEPTH_32BPP;
+	to->depth = VID_DEPTH_ALL;
 	to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
 	return 0;
     }

Modified: trunk/vidix/nvidia_vid.c
==============================================================================
--- trunk/vidix/nvidia_vid.c	(original)
+++ trunk/vidix/nvidia_vid.c	Sun Apr 22 17:44:42 2007
@@ -985,11 +985,7 @@ inline static int is_supported_fourcc(ui
 
 static int nv_query_fourcc(vidix_fourcc_t *to){
     if(is_supported_fourcc(to->fourcc)){
-	to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-		    VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-		    VID_DEPTH_12BPP| VID_DEPTH_15BPP|
-		    VID_DEPTH_16BPP| VID_DEPTH_24BPP|
-		    VID_DEPTH_32BPP;
+	to->depth = VID_DEPTH_ALL;
 	to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
 	return 0;
     }

Modified: trunk/vidix/pm2_vid.c
==============================================================================
--- trunk/vidix/pm2_vid.c	(original)
+++ trunk/vidix/pm2_vid.c	Sun Apr 22 17:44:42 2007
@@ -171,11 +171,7 @@ static int pm2_query_fourcc(vidix_fourcc
 {
     if(is_supported_fourcc(to->fourcc))
     {
-	to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-		    VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-		    VID_DEPTH_12BPP| VID_DEPTH_15BPP|
-		    VID_DEPTH_16BPP| VID_DEPTH_24BPP|
-		    VID_DEPTH_32BPP;
+	to->depth = VID_DEPTH_ALL;
 	to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
 	return 0;
     }

Modified: trunk/vidix/pm3_vid.c
==============================================================================
--- trunk/vidix/pm3_vid.c	(original)
+++ trunk/vidix/pm3_vid.c	Sun Apr 22 17:44:42 2007
@@ -164,11 +164,7 @@ static int pm3_query_fourcc(vidix_fourcc
 {
     if(is_supported_fourcc(to->fourcc))
     {
-	to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-		    VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-		    VID_DEPTH_12BPP| VID_DEPTH_15BPP|
-		    VID_DEPTH_16BPP| VID_DEPTH_24BPP|
-		    VID_DEPTH_32BPP;
+	to->depth = VID_DEPTH_ALL;
 	to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
 	return 0;
     }

Modified: trunk/vidix/radeon_vid.c
==============================================================================
--- trunk/vidix/radeon_vid.c	(original)
+++ trunk/vidix/radeon_vid.c	Sun Apr 22 17:44:42 2007
@@ -1474,11 +1474,7 @@ static int radeon_query_fourcc(vidix_fou
 {
     if(is_supported_fourcc(to->fourcc))
     {
-	to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-		    VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-		    VID_DEPTH_12BPP| VID_DEPTH_15BPP|
-		    VID_DEPTH_16BPP| VID_DEPTH_24BPP|
-		    VID_DEPTH_32BPP;
+	to->depth = VID_DEPTH_ALL;
 	to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY |
 		    VID_CAP_BLEND;
 	return 0;

Modified: trunk/vidix/savage_vid.c
==============================================================================
--- trunk/vidix/savage_vid.c	(original)
+++ trunk/vidix/savage_vid.c	Sun Apr 22 17:44:42 2007
@@ -1066,10 +1066,7 @@ savage_query_fourcc (vidix_fourcc_t * to
 {
   if (is_supported_fourcc (to->fourcc))
     {
-      to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-	VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-	VID_DEPTH_12BPP | VID_DEPTH_15BPP |
-	VID_DEPTH_16BPP | VID_DEPTH_24BPP | VID_DEPTH_32BPP;
+      to->depth = VID_DEPTH_ALL;
       to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
       return 0;
     }

Modified: trunk/vidix/unichrome_vid.c
==============================================================================
--- trunk/vidix/unichrome_vid.c	(original)
+++ trunk/vidix/unichrome_vid.c	Sun Apr 22 17:44:42 2007
@@ -637,10 +637,7 @@ unichrome_query_fourcc (vidix_fourcc_t *
 {
   if (is_supported_fourcc (to->fourcc))
     {
-      to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-	VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-	VID_DEPTH_12BPP | VID_DEPTH_15BPP |
-	VID_DEPTH_16BPP | VID_DEPTH_24BPP | VID_DEPTH_32BPP;
+      to->depth = VID_DEPTH_ALL;
       to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
       return 0;
     }



More information about the MPlayer-cvslog mailing list