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*)0x36708;
6 }
7
8 void *hook_raw_ret_addr()
9 {
10 return (void*)0xFF8D41B0;
11 }
12
13 char *hook_raw_image_addr()
14 {
15 return (char*)(0x10400000+0x160000+0x3980);
16 }
17
18 void *vid_get_viewport_live_fb()
19 {
20 return (void*)0x0;
21 }
22
23 void *vid_get_bitmap_fb()
24 {
25 return (void*)0x103C79A0;
26 }
27
28 void *vid_get_viewport_fb()
29 {
30
31
32 return (void*)0x105F1370;
33 }
34
35 void *vid_get_viewport_fb_d()
36 {
37
38
39 return (void *)0x72588;
40
41 }
42
43 long vid_get_viewport_height()
44 {
45 return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
46 }
47 char *camera_jpeg_count_str()
48 {
49 return (char*)0x72588;
50 }