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*) (*(int*)(0x550C) ? 0x11B97B60 : 0x107D68C0);
16 }
17
18 void *vid_get_viewport_live_fb()
19 {
20 void **fb=(void **)0x7424;
21 unsigned char buff = *((unsigned char*)0x72A0);
22 if (buff == 0) buff = 2; else buff--;
23 return fb[buff];
24 }
25
26 void *vid_get_bitmap_fb()
27 {
28 return (void*)0x10361000;
29 }
30
31 void *vid_get_viewport_fb()
32 {
33 return (void*)0x1065ADC0;
34 }
35
36 void *vid_get_viewport_fb_d()
37 {
38 return (void*)(*(int*)0x5248);
39 }
40
41 long vid_get_viewport_height()
42 {
43 return 240;
44 }
45 char *camera_jpeg_count_str()
46 {
47 return (char*)0x4C97C;
48 }