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 return (char*) (*(int*)(0x574C+0x18) ? 0x435627D8 : 0x41B724C0);
6 }
7
8 void *vid_get_viewport_live_fb()
9 {
10 void **fb=(void **)0x2300;
11 unsigned char buff = *((unsigned char*)0x2130);
12 if (buff == 0) buff = 2; else buff--;
13 return fb[buff];
14 }
15
16 void *vid_get_bitmap_fb()
17 {
18 return (void*)0x40471000;
19 }
20
21 void *vid_get_viewport_fb()
22 {
23 return (void*)0x46443400;
24 }
25
26 void *vid_get_viewport_fb_d()
27 {
28 return (void*)(*(int*)(0x53C8+0x58));
29 }
30
31
32
33
34
35
36
37
38 long vid_get_viewport_height()
39 {
40 return 270;
41 }
42
43 char *camera_jpeg_count_str()
44 {
45 return (char*)0x5CED4;
46 }