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
- camera_jpeg_count_str
- vid_get_bitmap_active_buffer
1 #include "platform.h"
2
3 char *hook_raw_image_addr()
4 {
5
6
7
8 return (char*)0x41ec0600;
9 }
10
11 void *vid_get_viewport_live_fb()
12 {
13 void **fb=(void **)0x4094;
14 unsigned char buff = *((unsigned char*)0x3F00);
15 if (buff == 0) buff = 2; else buff--;
16 return fb[buff];
17 }
18
19 void *vid_get_bitmap_fb() { return (void*)0x403f1000; }
20 void *vid_get_viewport_fb() { return (void*)0x4126f570; }
21 void *vid_get_viewport_fb_d() { return (void*)(*(int*)(0x2754+0x58)); }
22 char *camera_jpeg_count_str() { return (char*)0x000345e0; }
23
24 void *vid_get_bitmap_active_buffer()
25 {
26 return (void*)(*(int*)(0x5168+0x14));
27 }