This source file includes following definitions.
- 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_width
- vid_get_viewport_height
- camera_jpeg_count_str
1 #include "platform.h"
2
3
4
5
6
7
8
9 char *hook_raw_image_addr()
10 {
11
12
13
14
15
16
17
18 return (char*) 0x10E59860;
19 }
20
21
22 void *vid_get_viewport_live_fb()
23 {
24 void **fb=(void **)0xFFE9856C;
25 unsigned char buff = *((unsigned char*)0x4290);
26 if (buff == 0) buff = 2; else buff--;
27 return fb[buff];
28 }
29
30
31 void *vid_get_bitmap_fb()
32 {
33 return (void*)0x10361000;
34 }
35
36
37 void *vid_get_viewport_fb()
38 {
39 return (void*) 0x10650100;
40 }
41
42 void *vid_get_viewport_fb_d()
43 {
44 return (void*)(*(int*)(0x2620+0x54));
45 }
46
47 int vid_get_viewport_width()
48 {
49 return 360;
50 }
51
52 long vid_get_viewport_height()
53 {
54 return 240;
55 }
56
57 char *camera_jpeg_count_str()
58 {
59 return (void*)0x75120;
60 }