This source file includes following definitions.
- hook_raw_image_addr
- vid_get_viewport_live_fb
- vid_get_bitmap_fb
- vid_get_viewport_fb
- vid_get_viewport_fb_d
- vid_get_viewport_width
- vid_get_viewport_height
- camera_jpeg_count_str
1 #include "platform.h"
2
3
4
5
6
7
8 char *hook_raw_image_addr()
9 {
10
11
12
13
14
15
16
17 return (char*) 0x10E59860;
18 }
19
20
21 void *vid_get_viewport_live_fb()
22 {
23 void **fb=(void **)0xFFE9856C;
24 unsigned char buff = *((unsigned char*)0x4290);
25 if (buff == 0) buff = 2; else buff--;
26 return fb[buff];
27 }
28
29
30 void *vid_get_bitmap_fb()
31 {
32 return (void*)0x10361000;
33 }
34
35
36 void *vid_get_viewport_fb()
37 {
38 return (void*) 0x10650100;
39 }
40
41 void *vid_get_viewport_fb_d()
42 {
43 return (void*)(*(int*)(0x2620+0x54));
44 }
45
46 int vid_get_viewport_width()
47 {
48 return 360;
49 }
50
51 long vid_get_viewport_height()
52 {
53 return 240;
54 }
55
56 char *camera_jpeg_count_str()
57 {
58 return (void*)0x75120;
59 }