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_height
- camera_jpeg_count_str
- vid_get_bitmap_active_buffer
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5 return (char*) 0x4139E56C;
6 }
7
8 void *vid_get_viewport_live_fb()
9 {
10 void **fb=(void **)0x4094;
11 unsigned char buff = *((unsigned char*)0x3F00);
12 if (buff == 0) buff = 2; else buff--;
13 return fb[buff];
14 }
15
16 void *vid_get_bitmap_fb()
17 {
18 return (void*)0x403F1000;
19 }
20
21 void *vid_get_viewport_fb()
22 {
23 return (void*)0x4076FCC0;
24 }
25
26 void *vid_get_viewport_fb_d()
27 {
28 return (void*)(*(int*)(0x2630+0x58));
29
30 }
31
32 long vid_get_viewport_height()
33 {
34 return 240;
35 }
36
37 char *camera_jpeg_count_str()
38 {
39 return (char*)0x2F4A8;
40 }
41
42
43
44
45
46
47
48 void *vid_get_bitmap_active_buffer()
49 {
50 return (void*)(*(int*)(0x4988+0x14));
51 }