hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*************************************************************************
   > File Name: data.h
   > Author: jkand.huang
   > Mail: jkand.huang@rock-chips.com
   > Created Time: Fri 26 Oct 2018 04:49:58 PM CST
 ************************************************************************/
 
#ifndef _DATA_H
#define _DATA_H
 
#define SLOT_A 0
#define SLOT_B 1
#define SLOT_UNKNOW 2
 
using namespace std;
 
 
#define READ_SIZE 512000
struct ImageData{
    unsigned char md5sum[16];
    char *data;
    unsigned int offset;
    unsigned int size; //默认为4096, 至少传递512
};
 
#endif