Rev 2709 | Rev 3338 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2709 | Rev 2730 | ||
---|---|---|---|
Line 3327... | Line 3327... | ||
3327 | Parameters: |
3327 | Parameters: |
3328 | * eax = 65 - function number |
3328 | * eax = 65 - function number |
3329 | * ebx = pointer to the image |
3329 | * ebx = pointer to the image |
3330 | * ecx = [size on axis x]*65536 + [size on axis y] |
3330 | * ecx = [size on axis x]*65536 + [size on axis y] |
3331 | * edx = [coordinate on axis x]*65536 + [coordinate on axis y] |
3331 | * edx = [coordinate on axis x]*65536 + [coordinate on axis y] |
3332 | * esi = number of bits per pixel, must be 1,2,4,8,15,16,24 or 32 |
3332 | * esi = number of bits per pixel, must be 1,2,4,8,9,15,16,24 or 32; |
3333 | * edi = pointer to palette (2 to the power esi colors 0x00RRGGBB); |
3333 | * edi = pointer to palette (2 to the power esi colors 0x00RRGGBB); |
3334 | ignored when esi > 8 |
3334 | ignored when esi > 8 |
3335 | * ebp = offset of next row data relative to previous row data |
3335 | * ebp = offset of next row data relative to previous row data |
3336 | Returned value: |
3336 | Returned value: |
3337 | * function does not return value |
3337 | * function does not return value |
Line 3348... | Line 3348... | ||
3348 | excluding last bytes in rows (if width is odd) contains |
3348 | excluding last bytes in rows (if width is odd) contains |
3349 | information on the color of 2 pixels, high-order tetrad |
3349 | information on the color of 2 pixels, high-order tetrad |
3350 | corresponds to first pixel. |
3350 | corresponds to first pixel. |
3351 | * Format of image with 8 bits per pixel: each byte of image is |
3351 | * Format of image with 8 bits per pixel: each byte of image is |
3352 | index in the palette. |
3352 | index in the palette. |
- | 3353 | * Format of image with 9 bits per pixel: array of one byte values; |
|
- | 3354 | each byte (8 bit) represents the intensity of gray for one pixel; |
|
- | 3355 | this format is equal to 8bpp without palette. |
|
3353 | * Format of image with 15 bits per pixel: the color of each pixel |
3356 | * Format of image with 15 bits per pixel: the color of each pixel |
3354 | is coded as (bit representation) 0RRRRRGGGGGBBBBB - 5 bits per |
3357 | is coded as (bit representation) 0RRRRRGGGGGBBBBB - 5 bits per |
3355 | each color. |
3358 | each color. |
3356 | * Format of image with 16 bits per pixel: the color of each pixel |
3359 | * Format of image with 16 bits per pixel: the color of each pixel |
3357 | is coded as RRRRRGGGGGGBBBBB (5+6+5). |
3360 | is coded as RRRRRGGGGGGBBBBB (5+6+5). |