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_height
- camera_jpeg_count_str
- JogDial_CW
- JogDial_CCW
- _EnterToCompensationEVF
- _ExitFromCompensationEVF
1 #include "platform.h"
2 #include "lolevel.h"
3
4
5
6
7
8
9
10
11
12
13
14
15
16 char *hook_raw_image_addr()
17 {
18
19
20
21
22
23
24
25 return (char*)0x10F6C860;
26 }
27
28 void *vid_get_viewport_live_fb()
29 {
30 return (void*)0;
31 }
32
33 void *vid_get_bitmap_fb()
34 {
35 return (void*)0x10361000;
36 }
37
38 void *vid_get_viewport_fb()
39 {
40 return (void*)0x1065A4D0;
41 }
42
43 void *vid_get_viewport_fb_d()
44 {
45 return (void*)(*(int*)0x5420);
46 }
47
48 long vid_get_viewport_height()
49 {
50 return 240;
51 }
52 char *camera_jpeg_count_str()
53 {
54
55 return (void*)0x59A1C;
56 }
57
58 void JogDial_CW(void){
59 (*(short*)(0x2590+2))--;
60 *(int*)(0x2590+0x18)=0x32;
61 _GiveSemaphore(*(int*)(0x2590+0x10));
62 }
63
64 void JogDial_CCW(void){
65 (*(short*)(0x2590+2))++;
66 *(int*)(0x2590+0x18)=0x32;
67 _GiveSemaphore(*(int*)(0x2590+0x10));
68 }
69 void _EnterToCompensationEVF() {}
70 void _ExitFromCompensationEVF() {}