This source file includes following definitions.
- hook_raw_fptr
- hook_raw_ret_addr
- 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
- JogDial_CW
- JogDial_CCW
- review_fullscreen_mode
- camera_jpeg_count_str
1 #include "platform.h"
2 #include "lolevel.h"
3
4 void *hook_raw_fptr()
5 {
6 return (void*)0;
7 }
8
9 void *hook_raw_ret_addr()
10 {
11 return (void*)0;
12 }
13
14 char *hook_raw_image_addr()
15 {
16 return (char*) (*(int*)0x6E9C ? 0x11BE3A80 : 0x1082C520);
17 }
18
19 void *vid_get_viewport_live_fb()
20 {
21 return (void*)0;
22 }
23
24 void *vid_get_bitmap_fb()
25 {
26 return (void*)(0x10361000);
27 }
28
29 void *vid_get_viewport_fb()
30 {
31 return (void*)0x1065B130;
32 }
33
34 void *vid_get_viewport_fb_d()
35 {
36 return (void*)(*(int*)0x74FB4);
37 }
38
39 long vid_get_viewport_height()
40 {
41 return 240;
42 }
43
44 void JogDial_CW(void){
45 (*(short*)0x106EE)++;
46 *(int*)0x106F4=0x32;
47 _GiveSemaphore(*(int*)0x106E4);
48 }
49
50 void JogDial_CCW(void){
51 (*(short*)0x106EE)--;
52 *(int*)0x106F4=0x32;
53 _GiveSemaphore(*(int*)0x106E4);
54 }
55
56 int review_fullscreen_mode(){
57 char r;
58 get_parameter_data(53, &r, 1);
59 return r==0;
60 }
61 char *camera_jpeg_count_str()
62 {
63 return (char*)0x82F88;
64 }