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*)0x2F490;
6 }
7
8 void *hook_raw_ret_addr()
9 {
10 return (void*)0xFF8D8BDC;
11 }
12
13 char *hook_raw_image_addr()
14 {
15 return (char*)(0x10400000+0x160000+0x3A80);
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*)0x103CEB20;
26 }
27
28 void *vid_get_viewport_fb()
29 {
30
31
32 return (void*)0x105F1470;
33 }
34
35 void *vid_get_viewport_fb_d()
36 {
37
38 return (void*)0x104B6C20;
39 }
40
41 long vid_get_viewport_height()
42 {
43 return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
44 }
45 char *camera_jpeg_count_str()
46 {
47 return (char*)0x75BB8;
48 }