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

Revision 302, 1.1 kB (checked in by goodea, 2 years ago)

license change

  • Property svn:eol-style set to native
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_COLOR_INFO_H
20 #define CC3_COLOR_INFO_H
21
22 #include <stdint.h>
23 #include "cc3.h"
24 #include "cc3_ilp.h"
25
26
27
28 typedef struct {
29     cc3_pixel_t mean;
30     cc3_pixel_t deviation;
31     cc3_pixel_t min,max;
32     uint16_t scratch_x,scratch_y;
33     uint32_t scratch_mean[3];
34     uint32_t scratch_pix;
35 } cc3_color_info_pkt_t;
36
37 uint8_t cc3_color_info_scanline_start(cc3_color_info_pkt_t *pkt);
38 uint8_t cc3_color_info_scanline(cc3_image_t *img, cc3_color_info_pkt_t *pkt);
39 uint8_t cc3_color_info_scanline_finish(cc3_color_info_pkt_t *pkt);
40
41 #endif
Note: See TracBrowser for help on using the browser.