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 return (void*)0x2F7E8;
6 }
7
8 void *hook_raw_ret_addr()
9 {
10 return (void*)0xFF8D0824;
11 }
12
13 char *hook_raw_image_addr()
14 {
15 return (char*)0x10A795A8;
16 }
17
18
19 void *vid_get_viewport_live_fb()
20 {
21
22
23
24
25
26 return (void*)0x10B02560;
27 }
28
29
30
31
32 void *vid_get_bitmap_fb()
33 {
34 return (void*) 0x108CEB20;
35 }
36
37
38
39
40
41 void *vid_get_viewport_fb()
42 {
43 return (void*)0x10B02560;
44 }
45
46
47
48
49
50 void *vid_get_viewport_fb_d()
51 {
52
53 return (void*)0x109CBD20;
54 }
55
56 long vid_get_viewport_height()
57 {
58 return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
59 }
60
61 char *camera_jpeg_count_str()
62 {
63 return (char*)0x75F30;
64 }