diff options
-rw-r--r-- | vidix/mach64_vid.c | 6 | ||||
-rw-r--r-- | vidix/nvidia_vid.c | 6 | ||||
-rw-r--r-- | vidix/pm2_vid.c | 6 | ||||
-rw-r--r-- | vidix/pm3_vid.c | 6 | ||||
-rw-r--r-- | vidix/radeon_vid.c | 6 | ||||
-rw-r--r-- | vidix/savage_vid.c | 5 | ||||
-rw-r--r-- | vidix/unichrome_vid.c | 5 |
7 files changed, 7 insertions, 33 deletions
diff --git a/vidix/mach64_vid.c b/vidix/mach64_vid.c index 649c1e89fe..93f85b83f4 100644 --- a/vidix/mach64_vid.c +++ b/vidix/mach64_vid.c @@ -881,11 +881,7 @@ static int mach64_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; } diff --git a/vidix/nvidia_vid.c b/vidix/nvidia_vid.c index e68707b3d5..9f9fe3de20 100644 --- a/vidix/nvidia_vid.c +++ b/vidix/nvidia_vid.c @@ -985,11 +985,7 @@ inline static int is_supported_fourcc(uint32_t fourcc) 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; } diff --git a/vidix/pm2_vid.c b/vidix/pm2_vid.c index dc78c1c29f..262685fe88 100644 --- a/vidix/pm2_vid.c +++ b/vidix/pm2_vid.c @@ -171,11 +171,7 @@ static int pm2_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; } diff --git a/vidix/pm3_vid.c b/vidix/pm3_vid.c index 8dbf0cd2b2..d9b463e040 100644 --- a/vidix/pm3_vid.c +++ b/vidix/pm3_vid.c @@ -164,11 +164,7 @@ static int pm3_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; } diff --git a/vidix/radeon_vid.c b/vidix/radeon_vid.c index 36a55f96e6..c76bbea98a 100644 --- a/vidix/radeon_vid.c +++ b/vidix/radeon_vid.c @@ -1474,11 +1474,7 @@ static int radeon_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 | VID_CAP_BLEND; return 0; diff --git a/vidix/savage_vid.c b/vidix/savage_vid.c index 599852f68f..d352614df0 100644 --- a/vidix/savage_vid.c +++ b/vidix/savage_vid.c @@ -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; } diff --git a/vidix/unichrome_vid.c b/vidix/unichrome_vid.c index 9c5cfe4c4a..70f756bb87 100644 --- a/vidix/unichrome_vid.c +++ b/vidix/unichrome_vid.c @@ -637,10 +637,7 @@ unichrome_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; } |