CHDK_DE Vorschauversion  Trunk Rev. 5428
 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 26 der Datei movie_rec.c.

26  {
27  asm volatile(
28 " STMFD SP!, {R2-R8,LR}\n"
29 " LDR R7, =0x2710\n"
30 " LDR R4, =0x6228\n"
31 " MOV R6, #0\n"
32 " MOV R5, #1\n"
33 "loc_FF93D668:\n"
34 " LDR R0, [R4,#0x18]\n"
35 " MOV R2, #0\n"
36 " ADD R1, SP, #0x04\n"
37 " BL sub_FF837DC8\n"
38 " LDR R0, [R4,#0x20]\n"
39 " CMP R0, #0\n"
40 " BNE loc_FF93D738\n"
41 " LDR R0, [SP,#0x04]\n"
42 " LDR R1, [R0]\n"
43 " SUB R1, R1, #2\n"
44 " CMP R1, #9\n"
45 " ADDLS PC, PC, R1,LSL#2\n"
46 " B loc_FF93D738\n"
47 "loc_FF93D69C: B loc_FF93D6EC\n"
48 "loc_FF93D6A0: B loc_FF93D70C\n"
49 "loc_FF93D6A4: B loc_FF93D71C\n"
50 "loc_FF93D6A8: B loc_FF93D724\n"
51 "loc_FF93D6AC: B loc_FF93D6F4\n"
52 "loc_FF93D6B0: B loc_FF93D72C\n"
53 "loc_FF93D6B4: B loc_FF93D6FC\n"
54 "loc_FF93D6B8: B loc_FF93D738\n"
55 "loc_FF93D6BC: B loc_FF93D734\n"
56 "loc_FF93D6C0: B loc_FF93D6C4\n"
57 
58 "loc_FF93D6C4:\n"
59 " LDR R0, =0xFF93D368\n"
60 " STR R6, [R4,#0x34]\n"
61 " STR R0, [R4,#0x9C]\n"
62 " LDR R2, =0xFF93C89C\n"
63 " LDR R1, =0x67F58\n"
64 " LDR R0, =0xFF93C980\n"
65 " STR R6, [R4,#0x24]\n"
66 " BL sub_FF8D9F34\n"
67 " STR R5, [R4,#0x38]\n"
68 " B loc_FF93D738\n"
69 "loc_FF93D6EC:\n"
70  "BL unlock_optical_zoom\n" //------->>
71 " BL sub_FF93D470\n"
72 " B loc_FF93D738\n"
73 "loc_FF93D6F4:\n"
74 //" BL sub_FF93CFE8\n"
75 " BL sub_FF93CFE8_my\n" //------->>
76 " B loc_FF93D738\n"
77 "loc_FF93D6FC:\n"
78 " LDR R1, [R0,#0x18]\n"
79 " LDR R0, [R0,#4]\n"
80 " BL sub_FFA63B50\n"
81 " B loc_FF93D738\n"
82 "loc_FF93D70C:\n"
83 " LDR R0, [R4,#0x38]\n"
84 " CMP R0, #5\n"
85 " STRNE R5, [R4,#0x28]\n"
86 " B loc_FF93D738\n"
87 "loc_FF93D71C:\n"
88 " BL sub_FF93CCE8\n"
89 " B loc_FF93D738\n"
90 "loc_FF93D724:\n"
91 " BL sub_FF93C9CC\n"
92 " B loc_FF93D738\n"
93 "loc_FF93D72C:\n"
94 " BL sub_FF93C828\n"
95 " B loc_FF93D738\n"
96 "loc_FF93D734:\n"
97 " BL sub_FF93D8A4\n"
98 "loc_FF93D738:\n"
99 " LDR R1, [SP,#0x04]\n"
100 " MOV R3, #0x460\n"
101 " STR R6, [R1]\n"
102 " STR R3, [SP]\n"
103 " LDR R0, [R4,#0x1C]\n"
104 " LDR R3, =0xFF93C688\n"
105 " MOV R2, R7\n"
106 " BL sub_FF83871C\n"
107 " B loc_FF93D668\n"
108  );
109 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 8 der Datei movie_rec.c.

8  {
9 }
void set_quality ( int *  x)

Definiert in Zeile 17 der Datei movie_rec.c.

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