diff options
Diffstat (limited to 'drivers/media/video/stradis.c')
-rw-r--r-- | drivers/media/video/stradis.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/stradis.c b/drivers/media/video/stradis.c index 9d769264a329..07476c71174a 100644 --- a/drivers/media/video/stradis.c +++ b/drivers/media/video/stradis.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * stradis.c - stradis 4:2:2 mpeg decoder driver | 2 | * stradis.c - stradis 4:2:2 mpeg decoder driver |
3 | * | 3 | * |
4 | * Stradis 4:2:2 MPEG-2 Decoder Driver | 4 | * Stradis 4:2:2 MPEG-2 Decoder Driver |
@@ -1191,9 +1191,9 @@ static void saa7146_set_winsize(struct saa7146 *saa) | |||
1191 | } | 1191 | } |
1192 | 1192 | ||
1193 | /* clip_draw_rectangle(cm,x,y,w,h) -- handle clipping an area | 1193 | /* clip_draw_rectangle(cm,x,y,w,h) -- handle clipping an area |
1194 | * bitmap is fixed width, 128 bytes (1024 pixels represented) | 1194 | * bitmap is fixed width, 128 bytes (1024 pixels represented) |
1195 | * arranged most-sigificant-bit-left in 32-bit words | 1195 | * arranged most-sigificant-bit-left in 32-bit words |
1196 | * based on saa7146 clipping hardware, it swaps bytes if LE | 1196 | * based on saa7146 clipping hardware, it swaps bytes if LE |
1197 | * much of this makes up for egcs brain damage -- so if you | 1197 | * much of this makes up for egcs brain damage -- so if you |
1198 | * are wondering "why did he do this?" it is because the C | 1198 | * are wondering "why did he do this?" it is because the C |
1199 | * was adjusted to generate the optimal asm output without | 1199 | * was adjusted to generate the optimal asm output without |
@@ -1259,7 +1259,7 @@ static void make_clip_tab(struct saa7146 *saa, struct video_clip *cr, int ncr) | |||
1259 | clip_draw_rectangle(clipmap, cr[i].x, cr[i].y, | 1259 | clip_draw_rectangle(clipmap, cr[i].x, cr[i].y, |
1260 | cr[i].width, cr[i].height); | 1260 | cr[i].width, cr[i].height); |
1261 | } | 1261 | } |
1262 | /* clip against viewing window AND screen | 1262 | /* clip against viewing window AND screen |
1263 | so we do not have to rely on the user program | 1263 | so we do not have to rely on the user program |
1264 | */ | 1264 | */ |
1265 | clip_draw_rectangle(clipmap, (saa->win.x + width > saa->win.swidth) ? | 1265 | clip_draw_rectangle(clipmap, (saa->win.x + width > saa->win.swidth) ? |