This source file includes following definitions.
- vid_get_bitmap_fb
- vid_get_viewport_fb
- vid_get_viewport_fb_d
- camera_jpeg_count_str
- get_flash_params_count
- hook_raw_image_addr
- hook_alt_raw_image_addr
- camera_jpeg_current_filename
- camera_jpeg_current_gps
1 #include "platform.h"
2
3 void *vid_get_bitmap_fb() { return (void*)0x40685000; }
4 void *vid_get_viewport_fb() { return (void*)0x407dab80; }
5 void *vid_get_viewport_fb_d() { return (void*)(*(int*)(0x3da0+0x58)); }
6 char *camera_jpeg_count_str() { return (char*)0x000cf0cc; }
7 int get_flash_params_count(void) { return 0x9f; }
8
9 char *hook_raw_image_addr()
10 {
11
12
13
14
15 if (*((int*)0x40EC) != 0)
16 return (char*) 0x4AD65BC0;
17 else
18 return (char*) 0x44000000;
19 }
20
21 char *hook_alt_raw_image_addr()
22 {
23
24
25
26
27 if (*((int*)0x40EC) == 0)
28 return (char*) 0x4AD65BC0;
29 else
30 return (char*) 0x44000000;
31 }
32
33 char *camera_jpeg_current_filename() {
34 return (void*)0xCB764;
35 }
36
37 char *camera_jpeg_current_gps() {
38 return (void*)0xCB7D8;
39 }