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
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5
6
7
8 return (char*) (*(int*)(0x51A0+0x18) ? 0x11B96B80 : 0x107D58E0);
9 }
10
11 void *vid_get_viewport_live_fb()
12 {
13 void **fb=(void **)0x6A68;
14 unsigned char buff = *((unsigned char*)0x68DC);
15 if (buff == 0) {
16 buff = 2;
17 }
18 else {
19 buff--;
20 }
21 return fb[buff];
22 }
23
24 void *vid_get_bitmap_fb()
25 {
26 return (void*)0x10361000;
27 }
28
29 void *vid_get_viewport_fb()
30 {
31 return (void*)0x10659DE0;
32 }
33
34 void *vid_get_viewport_fb_d()
35 {
36
37 return (void*)(*(int*)(0x4ECC + 0x54));
38 }
39
40 long vid_get_viewport_height()
41 {
42 return 240;
43 }
44
45 char *camera_jpeg_count_str()
46 {
47 return (char*)0x45100;
48 }