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