Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3fc386fc
Commit
3fc386fc
authored
Sep 18, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Process a row instead of a column in inner conversion loop.
parent
2eeffe8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
image.c
dlls/gdiplus/image.c
+6
-6
No files found.
dlls/gdiplus/image.c
View file @
3fc386fc
...
...
@@ -582,8 +582,8 @@ GpStatus convert_pixels(INT width, INT height,
}
#define convert_indexed_to_rgb(getpixel_function, setpixel_function) do { \
for (
x=0; x<width; x
++) \
for (
y=0; y<height; y
++) { \
for (
y=0; y<height; y
++) \
for (
x=0; x<width; x
++) { \
BYTE index; \
ARGB argb; \
BYTE *color = (BYTE *)&argb; \
...
...
@@ -595,8 +595,8 @@ GpStatus convert_pixels(INT width, INT height,
} while (0);
#define convert_rgb_to_rgb(getpixel_function, setpixel_function) do { \
for (
x=0; x<width; x
++) \
for (
y=0; y<height; y
++) { \
for (
y=0; y<height; y
++) \
for (
x=0; x<width; x
++) { \
BYTE r, g, b, a; \
getpixel_function(&r, &g, &b, &a, src_bits+src_stride*y, x); \
setpixel_function(r, g, b, a, dst_bits+dst_stride*y, x); \
...
...
@@ -605,8 +605,8 @@ GpStatus convert_pixels(INT width, INT height,
} while (0);
#define convert_rgb_to_indexed(getpixel_function, setpixel_function) do { \
for (
x=0; x<width; x
++) \
for (
y=0; y<height; y
++) { \
for (
y=0; y<height; y
++) \
for (
x=0; x<width; x
++) { \
BYTE r, g, b, a; \
getpixel_function(&r, &g, &b, &a, src_bits+src_stride*y, x); \
setpixel_function(r, g, b, a, dst_bits+dst_stride*y, x, palette); \
...
...
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