This source file includes following definitions.
- hook_raw_fptr
- hook_raw_ret_addr
- 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 void *hook_raw_fptr()
4 {
5 return (void*)0;
6 }
7
8 void *hook_raw_ret_addr()
9 {
10 return (void*)0;
11 }
12
13 char *hook_raw_image_addr()
14 {
15 return (char*)0x10F341C0;
16 }
17
18 void *vid_get_viewport_live_fb()
19 {
20
21 void **fb=(void **)0x6AA8;
22 unsigned char buff = *((unsigned char*)0x1FE8);
23 if (buff == 0) {
24 buff = 2;
25 }
26 else {
27 buff--;
28 }
29 return fb[buff];
30 }
31
32 void *vid_get_bitmap_fb()
33 {
34 return (void*)0x10361000;
35 }
36
37 void *vid_get_viewport_fb()
38 {
39 return (void*)0x10659E80;
40 }
41
42 void *vid_get_viewport_fb_d()
43 {
44 return (void*)(*(int*)0x5050 + 0x48);
45 }
46
47 long vid_get_viewport_height()
48 {
49 return 240;
50 }
51
52 char *camera_jpeg_count_str()
53 {
54 return (char*)0x00048AE0;
55 }