Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8280eb8a
Commit
8280eb8a
authored
Jan 04, 2009
by
Geert Uytterhoeven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fbdev: c2p - Correct indentation
Signed-off-by:
Geert Uytterhoeven
<
geert@linux-m68k.org
>
parent
74511413
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
120 additions
and
118 deletions
+120
-118
drivers/video/c2p.c
drivers/video/c2p.c
+120
-118
No files found.
drivers/video/c2p.c
View file @
8280eb8a
...
@@ -201,7 +201,8 @@ void c2p(u8 *dst, const u8 *src, u32 dx, u32 dy, u32 width, u32 height,
...
@@ -201,7 +201,8 @@ void c2p(u8 *dst, const u8 *src, u32 dx, u32 dy, u32 width, u32 height,
memcpy
((
u8
*
)
d
+
dst_idx
,
c
,
w
);
memcpy
((
u8
*
)
d
+
dst_idx
,
c
,
w
);
c
+=
w
;
c
+=
w
;
c2p_8bpp
(
d
);
c2p_8bpp
(
d
);
store_planar_masked
(
p
,
dst_nextplane
,
bpp
,
d
,
first
);
store_planar_masked
(
p
,
dst_nextplane
,
bpp
,
d
,
first
);
p
+=
4
;
p
+=
4
;
w
=
width
-
w
;
w
=
width
-
w
;
}
}
...
@@ -220,7 +221,8 @@ void c2p(u8 *dst, const u8 *src, u32 dx, u32 dy, u32 width, u32 height,
...
@@ -220,7 +221,8 @@ void c2p(u8 *dst, const u8 *src, u32 dx, u32 dy, u32 width, u32 height,
memcpy
(
d
,
c
,
w
);
memcpy
(
d
,
c
,
w
);
memset
((
u8
*
)
d
+
w
,
0
,
32
-
w
);
memset
((
u8
*
)
d
+
w
,
0
,
32
-
w
);
c2p_8bpp
(
d
);
c2p_8bpp
(
d
);
store_planar_masked
(
p
,
dst_nextplane
,
bpp
,
d
,
last
);
store_planar_masked
(
p
,
dst_nextplane
,
bpp
,
d
,
last
);
}
}
}
}
src
+=
src_nextline
;
src
+=
src_nextline
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment