|
Revision 469, 1.3 kB
(checked in by anthony_rowe, 2 years ago)
|
frame diff
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
#ifndef CC3_FRAME_DIFF_H |
|---|
| 20 |
#define CC3_FRAME_DIFF_H |
|---|
| 21 |
|
|---|
| 22 |
#include <stdint.h> |
|---|
| 23 |
#include "cc3.h" |
|---|
| 24 |
#include "cc3_ilp.h" |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
typedef struct { |
|---|
| 28 |
uint16_t x0,y0,x1,y1; |
|---|
| 29 |
uint32_t centroid_x,centroid_y; |
|---|
| 30 |
uint32_t num_pixels; |
|---|
| 31 |
uint32_t int_density; |
|---|
| 32 |
uint32_t *previous_template; |
|---|
| 33 |
uint32_t *current_template; |
|---|
| 34 |
uint16_t template_width, template_height; |
|---|
| 35 |
uint8_t threshold; |
|---|
| 36 |
uint16_t total_x, total_y; |
|---|
| 37 |
uint8_t coi; |
|---|
| 38 |
bool load_frame; |
|---|
| 39 |
uint32_t _scratch_y; |
|---|
| 40 |
uint16_t _bin_div_x; |
|---|
| 41 |
uint16_t _bin_div_y; |
|---|
| 42 |
} cc3_frame_diff_pkt_t; |
|---|
| 43 |
|
|---|
| 44 |
uint8_t cc3_frame_diff_scanline_start(cc3_frame_diff_pkt_t *pkt); |
|---|
| 45 |
uint8_t cc3_frame_diff_scanline(cc3_image_t *img, cc3_frame_diff_pkt_t *pkt); |
|---|
| 46 |
uint8_t cc3_frame_diff_scanline_finish(cc3_frame_diff_pkt_t *pkt); |
|---|
| 47 |
|
|---|
| 48 |
#endif |
|---|