|
Revision 302, 1.1 kB
(checked in by goodea, 2 years ago)
|
license change
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 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 |
|---|