CHDK_DE Vorschauversion  Trunk Rev. 5426
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
movie_rec.c-Dateireferenz
#include "conf.h"
+ Include-Abhängigkeitsdiagramm für movie_rec.c:

gehe zum Quellcode dieser Datei

Funktionen

void change_video_tables (int a, int b)
 
void set_quality (int *x)
 
void __attribute__ ((naked, noinline))
 *-------------------------------------------------------------------— Mehr ...
 

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

*-------------------------------------------------------------------—

!!

Definiert in Zeile 25 der Datei movie_rec.c.

25  {
26  asm volatile(
27  "STMFD SP!, {R2-R8,LR}\n"
28  "LDR R7, =0x2710\n"
29  "LDR R4, =0x6228\n"
30  "MOV R6, #0\n"
31  "MOV R5, #1\n"
32 "loc_FF93D824:\n"
33  "LDR R0, [R4,#0x18]\n"
34  "MOV R2, #0\n"
35  "ADD R1, SP, #0x04\n"
36  "BL sub_FF837DC8\n"
37  "LDR R0, [R4,#0x20]\n"
38  "CMP R0, #0\n"
39  "BNE loc_FF93D8F4\n"
40  "LDR R0, [SP,#0x04]\n"
41  "LDR R1, [R0]\n"
42  "SUB R1, R1, #2\n"
43  "CMP R1, #9\n"
44  "ADDLS PC, PC, R1,LSL#2\n"
45  "B loc_FF93D8F4\n"
46 
47 "loc_FF93D858: B loc_FF93D8A8\n"
48 
49 "loc_FF93D85C: B loc_FF93D8C8\n"
50 
51 "loc_FF93D860: B loc_FF93D8D8\n"
52 
53 "loc_FF93D864: B loc_FF93D8E0\n"
54 
55 "loc_FF93D868: B loc_FF93D8B0\n"
56 
57 "loc_FF93D86C: B loc_FF93D8E8\n"
58 
59 "loc_FF93D870: B loc_FF93D8B8\n"
60 
61 "loc_FF93D874: B loc_FF93D8F4\n"
62 
63 "loc_FF93D878: B loc_FF93D8F0\n"
64 
65 "loc_FF93D87C: B loc_FF93D880\n"
66 
67 "loc_FF93D880:\n"
68 
69  "LDR R0, =0xFF93D524\n"
70  "STR R6, [R4,#0x34]\n"
71  "STR R0, [R4,#0x9C]\n"
72  "LDR R2, =0xFF93CA58\n"
73  "LDR R1, =0x67F58\n"
74  "LDR R0, =0xFF93CB3C\n"
75  "STR R6, [R4,#0x24]\n"
76  "BL sub_FF8D9F84\n"
77  "STR R5, [R4,#0x38]\n"
78  "B loc_FF93D8F4\n"
79 
80 "loc_FF93D8A8:\n"
81  "BL unlock_optical_zoom\n" //------->>
82  "BL sub_FF93D62C\n"
83  "B loc_FF93D8F4\n"
84 
85 "loc_FF93D8B0:\n"
86  // "BL sub_FF93D1A4\n"
87  "BL sub_FF93D1A4_my\n" //------->>
88  "B loc_FF93D8F4\n"
89 
90 "loc_FF93D8B8:\n"
91  "LDR R1, [R0,#0x18]\n"
92  "LDR R0, [R0,#4]\n"
93  "BL sub_FFA63D0C\n"
94  "B loc_FF93D8F4\n"
95 
96 "loc_FF93D8C8:\n"
97  "LDR R0, [R4,#0x38]\n"
98  "CMP R0, #5\n"
99  "STRNE R5, [R4,#0x28]\n"
100  "B loc_FF93D8F4\n"
101 
102 "loc_FF93D8D8:\n"
103  "BL sub_FF93CEA4\n"
104  "B loc_FF93D8F4\n"
105 
106 "loc_FF93D8E0:\n"
107  "BL sub_FF93CB88\n"
108  "B loc_FF93D8F4\n"
109 
110 "loc_FF93D8E8:\n"
111  "BL sub_FF93C9E4\n"
112  "B loc_FF93D8F4\n"
113 
114 "loc_FF93D8F0:\n"
115  "BL sub_FF93DA60\n"
116 
117 "loc_FF93D8F4:\n"
118  "LDR R1, [SP,#0x04]\n"
119  "MOV R3, #0x460\n"
120  "STR R6, [R1]\n"
121  "STR R3, [SP]\n"
122  "LDR R0, [R4,#0x1C]\n"
123  "LDR R3, =0xFF93C844\n"
124  "MOV R2, R7\n"
125  "BL sub_FF83871C\n"
126  "B loc_FF93D824\n"
127  );
128 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 7 der Datei movie_rec.c.

7  {
8 }
void set_quality ( int *  x)

Definiert in Zeile 16 der Datei movie_rec.c.

16  { // -17 highest; +12 lowest
17  if (conf.video_mode)
18  *x=12-((conf.video_quality-1)*(12+17)/(99-1));
19 }