From f89a16b49ca4cc9a0de77b0df52cf1bc456ece8d Mon Sep 17 00:00:00 2001 From: Roland Baer Date: Mon, 6 Aug 2007 14:02:22 +0300 Subject: [PATCH] Dead code removal radeon_video.c --- src/radeon_video.c | 19 ++----------------- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/radeon_video.c b/src/radeon_video.c index 2f8bec5..392a2e9 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -3377,23 +3377,8 @@ RADEONPutVideo( top = ya>>16; - switch(id) { - case FOURCC_YV12: - case FOURCC_I420: - top &= ~1; - dstPitch = ((width << 1) + 15) & ~15; - srcPitch = (width + 3) & ~3; - s2offset = srcPitch * height; - srcPitch2 = ((width >> 1) + 3) & ~3; - s3offset = (srcPitch2 * (height >> 1)) + s2offset; - break; - case FOURCC_UYVY: - case FOURCC_YUY2: - default: - dstPitch = ((width<<1) + 15) & ~15; - srcPitch = (width<<1); - break; - } + dstPitch = ((width<<1) + 15) & ~15; + srcPitch = (width<<1); new_size = dstPitch * height; new_size = new_size + 0x1f; /* for aligning */ -- 1.5.2.3