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
9
10
11
12
13 return (char*) (*(int*)(0x5324+0x18) ? 0x429AAA2C : 0x412007FC);
14 }
15
16 void *vid_get_viewport_live_fb()
17 {
18 void **fb=(void **)0x725C;
19 unsigned char buff = *((unsigned char*)0x70D8);
20 if (buff == 0) buff = 2; else buff--;
21 return fb[buff];
22 }
23
24 void *vid_get_bitmap_fb()
25 {
26
27 return (void*)0x403B1000;
28 }
29
30 void *vid_get_viewport_fb()
31 {
32
33
34
35
36 return (void*)0x40A2F2D0;
37 }
38
39 void *vid_get_viewport_fb_d()
40 {
41
42
43
44 return (void*)(*(int*)(0x501C+0x58));
45 }
46
47 long vid_get_viewport_height()
48 {
49 return 240;
50 }
51
52 char *camera_jpeg_count_str()
53 {
54
55 return (char*)0x4A980;
56 }