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
- JogDial_CW
- JogDial_CCW
- camera_jpeg_count_str
1 #include "platform.h"
2 #include "lolevel.h"
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 char *hook_raw_image_addr()
26 {
27 return (char*)0x41C0F460;
28
29 }
30
31 void *vid_get_viewport_live_fb()
32 {
33 return (void*)0;
34 #if 0
35 void **fb=(void **)0x94E18;
36 unsigned char buff = *((unsigned char*)0x9114+6);
37 if (buff == 0) buff = 2; else buff--;
38 return fb[buff];
39 #endif
40 }
41
42
43
44
45
46
47
48
49
50 void *vid_get_bitmap_fb()
51 {
52 return (void*)0x40471000;
53 }
54
55 void *vid_get_viewport_fb()
56 {
57
58 return (void*)0x40587700;
59 }
60
61
62 void *vid_get_viewport_fb_d()
63 {
64 return (void*)(*(int*)(0x2A50+0x58));
65
66 }
67
68
69
70 void JogDial_CW(void){
71 _PostLogicalEventForNotPowerType(0x874, 1);
72 }
73
74 void JogDial_CCW(void){
75 _PostLogicalEventForNotPowerType(0x875, 1);
76 }
77
78
79 char *camera_jpeg_count_str()
80 {
81 return (char*)0x97234;
82 }