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