-
Notifications
You must be signed in to change notification settings - Fork 0
/
Photop.h
46 lines (38 loc) · 1.39 KB
/
Photop.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef _VRE_APP_WIZARDTEMPLATE_
#define _VRE_APP_WIZARDTEMPLATE_
#include "vmsys.h"
#include "vmio.h"
#include "vmgraph.h"
#include "vmchset.h"
#include "vmstdlib.h"
#include "ResID.h"
#include "vm4res.h"
#include "vmcamera.h"
#include "vmtimer.h"
#include "string.h"
#include "vmmm.h"
#include "vmpromng.h"
#include "vmvideo.h"
#include <time.h>
/* ---------------------------------------------------------------------------
* global variables
* ------------------------------------------------------------------------ */
VMINT layer_hdl[1];
const unsigned short tr_color = VM_COLOR_888_TO_565(0, 255, 255);
/* ---------------------------------------------------------------------------
* local variables
* ------------------------------------------------------------------------ */
void handle_sysevt(VMINT message, VMINT param);
void handle_keyevt(VMINT event, VMINT keycode);
void handle_penevt(VMINT event, VMINT x, VMINT y);
static void draw_hello(void);
static void draw_hello1(void);
void start_cam_preview(void);
void cam_message_callback(vm_cam_notify_data_t* notify_data, void* user_data);
void app_set_current_preview_size(VM_CAMERA_HANDLE camera_handle);
static void scene_1(void);
static void scene_2(void);
void tt(VMINT tid);
unsigned char claim(int x);
void uyvyToGrey(unsigned char *dst, unsigned char *src, unsigned int numberPixels);
#endif