CHDK_DE Vorschauversion  Trunk Rev. 5429
 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))
 

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

!!

Definiert in Zeile 13 der Datei movie_rec.c.

13  { //sub_FF921750
14 asm volatile (
15  " STMFD SP!, {R2-R8,LR} \n"
16  " LDR R8, =0x442 \n"
17  " LDR R7, =0x2710 \n"
18  " LDR R4, =0x5EC0 \n"
19  " MOV R6, #0 \n"
20  " MOV R5, #1 \n"
21 "loc_FF921768:\n"
22  " LDR R0, [R4, #0x18] \n"
23  " MOV R2, #0 \n"
24  " ADD R1, SP, #4 \n"
25  " BL sub_FF826A0C \n"
26  " LDR R0, [R4, #0x20] \n"
27  " CMP R0, #0 \n"
28  " BNE loc_FF921838 \n"
29  " LDR R0, [SP, #4] \n"
30  " LDR R1, [R0] \n"
31  " SUB R1, R1, #2 \n"
32  " CMP R1, #9 \n"
33  " ADDLS PC, PC, R1, LSL #2 \n"
34  " B loc_FF921838 \n"
35  " B loc_FF9217EC \n"
36  " B loc_FF92180C \n"
37  " B loc_FF92181C \n"
38  " B loc_FF921824 \n"
39  " B loc_FF9217F4 \n"
40  " B loc_FF92182C \n"
41  " B loc_FF9217FC \n"
42  " B loc_FF921838 \n"
43  " B loc_FF921834 \n"
44  " B loc_FF9217C4 \n"
45 "loc_FF9217C4:\n"
46  " LDR R0, =0xFF921464 \n"
47  " STR R6, [R4, #0x34] \n"
48  " STR R0, [R4, #0x9C] \n"
49  " LDR R0, =0xFF920A84 \n"
50  " LDR R2, =0xFF9209A0 \n"
51  " LDR R1, =0x2CAE0 \n"
52  " STR R6, [R4, #0x24] \n"
53  " BL sub_FF8B5520 \n"
54  " STR R5, [R4, #0x38] \n"
55  " B loc_FF921838 \n"
56 "loc_FF9217EC:\n"
57  " BL unlock_optical_zoom\n" // +
58  " BL sub_FF92156C \n"
59  " B loc_FF921838 \n"
60 "loc_FF9217F4:\n"
61  " BL sub_FF921108_my \n" // ->
62  " B loc_FF921838 \n"
63 "loc_FF9217FC:\n"
64  " LDR R1, [R0, #0x18] \n"
65  " LDR R0, [R0, #4] \n"
66  " BL sub_FFA56F88 \n"
67  " B loc_FF921838 \n"
68 "loc_FF92180C:\n"
69  " LDR R0, [R4, #0x38] \n"
70  " CMP R0, #5 \n"
71  " STRNE R5, [R4, #0x28] \n"
72  " B loc_FF921838 \n"
73 "loc_FF92181C:\n"
74  " BL sub_FF920DF0 \n"
75  " B loc_FF921838 \n"
76 "loc_FF921824:\n"
77  " BL sub_FF920AD0 \n"
78  " B loc_FF921838 \n"
79 "loc_FF92182C:\n"
80  " BL sub_FF92092C \n"
81  " B loc_FF921838 \n"
82 "loc_FF921834:\n"
83  " BL sub_FF9219A0 \n"
84 "loc_FF921838:\n"
85  " LDR R1, [SP, #4] \n"
86  " LDR R3, =0xFF920790 \n"
87  " STR R6, [R1] \n"
88  " STR R8, [SP] \n"
89  " LDR R0, [R4, #0x1C] \n"
90  " MOV R2, R7 \n"
91  " BL sub_FF827360 \n"
92  " B loc_FF921768 \n"
93  );
94 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 4 der Datei movie_rec.c.

4  {
5 }
void set_quality ( int *  x)

Definiert in Zeile 8 der Datei movie_rec.c.

8  { // -17 highest; +12 lowest
9  if (conf.video_mode) *x=12-((conf.video_quality-1)*(12+17)/(99-1));
10 }