This source file includes following definitions.
- hook_raw_fptr
- hook_raw_ret_addr
- 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_height
- camera_jpeg_count_str
1 #include "platform.h"
2
3 void *hook_raw_fptr()
4 {
5
6 return (void*)0x2EC10;
7 }
8
9 void *hook_raw_ret_addr()
10 {
11
12 return (void*)0xFF8E0EEC;
13 }
14
15 char *hook_raw_image_addr()
16 {
17
18 return (char*)0x10595D54;
19 }
20
21
22 void *vid_get_viewport_live_fb()
23 {
24 return (void*)0x0;
25 }
26
27
28
29
30 void *vid_get_bitmap_fb()
31 {
32 return (void*)0x103CEB20;
33 }
34
35
36
37
38
39 void *vid_get_viewport_fb()
40 {
41
42
43 return (void*)0x105F84F0;
44 }
45
46
47
48
49
50 void *vid_get_viewport_fb_d()
51 {
52
53 return (void*)(*(int*)0x6EAD0);
54
55 }
56
57 long vid_get_viewport_height()
58 {
59 return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
60 }
61
62 char *camera_jpeg_count_str()
63 {
64 return (char*)0x75EC0;
65 }