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