Changeset 2722


Ignore:
Timestamp:
Aug 15, 2008, 1:11:12 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added string.h to list of included files, for memcpy()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/pipi.h

    r2718 r2722  
    2121
    2222#include <stdio.h>
     23#include <string.h>
    2324
    2425#ifdef __cplusplus
     
    5152}
    5253pipi_format_t;
     54
     55struct pixel_u32
     56{
     57    uint8_t r, g, b, a;
     58};
     59struct pixel_float
     60{
     61    float r, g, b, a;
     62};
     63
     64typedef struct
     65{
     66    union
     67    {
     68        struct pixel_u32   pixel_u32;
     69        struct pixel_float pixel_float;
     70    };
     71}
     72pipi_pixel_t;
    5373
    5474/* pipi_pixels_t: this structure stores a pixel view of an image. */
     
    118138extern void pipi_dither_24to16(pipi_image_t *);
    119139
     140
    120141#ifdef __cplusplus
    121142}
Note: See TracChangeset for help on using the changeset viewer.