root/trunk/lib/cc3-ilp/cc3_ilp.h

Revision 415, 1.0 kB (checked in by anthony_rowe, 2 years ago)

no more GUI hang leaving line mode

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /*
2  * Copyright 2006  Anthony Rowe and Adam Goode
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18
19 #ifndef CC3_ILP_H
20 #define CC3_ILP_H
21
22 #include <stdint.h>
23 #include "cc3.h"
24
25 typedef struct {
26     uint16_t width, height;
27     uint8_t channels;
28     uint8_t depth;  // This can be used for binary images etc in the future
29     void* pix;
30 } cc3_image_t;
31
32
33 void cc3_get_pixel(cc3_image_t *img, uint16_t x, uint16_t y, cc3_pixel_t *out_pix);
34 void cc3_set_pixel(cc3_image_t *img, uint16_t x, uint16_t y, cc3_pixel_t *in_pix);
35
36
37 #endif
Note: See TracBrowser for help on using the browser.