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

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

!!

IS_ERROR( hSoundHandle )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

"MOV R3, #0\n" "STR R3, [R9]\n"

TODO! below is from sd400

"MOV R3, #0\n" "STR R3, [R9]\n"

TODO! below is from sd400

__MovieRecorder_c__100

__MovieRecorder_c__100

ASM1989 -> In sx200:FF857190 //"Mounter.c"

ASM1989 -> In sx200:FF81B284 // DebugAssert

Definiert in Zeile 12 der Datei movie_rec.c.

12  {
13  asm volatile(
14  "STMFD SP!, {R2-R8,LR}\n"
15  "LDR R8, =0x4B2\n" // In sx200:0x442
16  "LDR R7, =0x2710\n" // In sx200:0x2710
17  "LDR R4, =0x71D0\n" // In sx200:0x6588
18  "MOV R6, #0\n"
19  "MOV R5, #1\n"
20 "loc_FF96E128:\n"
21  "LDR R0, [R4,#0x1C]\n" // In sx200:0x18
22  "MOV R2, #0\n"
23  "ADD R1, SP, #4\n"
24  "BL sub_FF839B88\n"
25  "LDR R0, [R4,#0x24]\n" // In sx200:0x20
26  "CMP R0, #0\n"
27  "BNE loc_FF96E1F8\n"
28  "LDR R0, [SP,#4]\n"
29  "LDR R1, [R0]\n"
30  "SUB R1, R1, #2\n"
31  "CMP R1, #0x9\n"
32  "ADDLS PC, PC, R1,LSL#2\n"
33  "B loc_FF96E1F8\n"
34 "loc_FF96E15C:\n"
35  "B loc_FF96E1AC\n"
36 "loc_FF96E160:\n"
37  "B loc_FF96E1CC\n"
38 "loc_FF96E164:\n"
39  "B loc_FF96E1DC\n"
40 "loc_FF96E168:\n"
41  "B loc_FF96E1E4\n"
42 "loc_FF96E16C:\n"
43  "B loc_FF96E1B4\n"
44 "loc_FF96E170:\n"
45  "B loc_FF96E1EC\n"
46 "loc_FF96E174:\n"
47  "B loc_FF96E1BC\n"
48 "loc_FF96E178:\n"
49  "B loc_FF96E1F8\n"
50 "loc_FF96E17C:\n"
51  "B loc_FF96E1F4\n"
52 "loc_FF96E180:\n"
53  "B loc_FF96E184\n"
54 "loc_FF96E184:\n"
55  "LDR R0, =0xFF96DE54\n" //nullsub_318
56  "STR R6, [R4,#0x38]\n" //Sx200:0x34
57  "STR R0, [R4,#0xA8]\n" //Sx200:0x9C
58  "LDR R2, =0xFF96D37C\n"
59  "LDR R1, =0x9817C\n" //Sx200:4C6D8
60  "LDR R0, =0xFF96D460\n"
61  "STR R6, [R4,#0x28]\n" //Sx200:24
62  "BL sub_FF850ED8\n"
63  "STR R5, [R4,#0x3C]\n" //Sx200:38
64  "B loc_FF96E1F8\n"
65 "loc_FF96E1AC:\n"
66  // "BL unlock_optical_zoom\n" -----------> inserted to unlock the zoom, dont need in sx210
67  "BL sub_FF96DF5C\n"
68  "B loc_FF96E1F8\n"
69 "loc_FF96E1B4 :\n"
70  "BL sub_FF96DAE0_my\n" // in sx200:sub_FF937C70_my
71  //----------------->
72  "B loc_FF96E1F8\n"
73 "loc_FF96E1BC:\n"
74  "LDR R1, [R0,#0x18]\n"
75  "LDR R0, [R0,#4]\n"
76  "BL sub_FFABBB18\n"
77  "B loc_FF96E1F8\n"
78 "loc_FF96E1CC:\n"
79  "LDR R0, [R4,#0x3C]\n"
80  "CMP R0, #5\n"
81  "STRNE R5, [R4,#0x2C]\n"
82  "B loc_FF96E1F8\n"
83 "loc_FF96E1DC:\n"
84  "BL sub_FF96D7DC\n"
85  "B loc_FF96E1F8\n"
86 "loc_FF96E1E4:\n"
87  "BL sub_FF96D4AC\n"
88  "B loc_FF96E1F8\n"
89 "loc_FF96E1EC:\n"
90  "BL sub_FF96D308\n"
91  "B loc_FF96E1F8\n"
92 "loc_FF96E1F4:\n"
93  "BL sub_FF96E360\n"
94 "loc_FF96E1F8:\n"
95  "LDR R1, [SP,#4]\n"
96  "LDR R3, =0xFF96D194\n" //aMovierecorder_
97  "STR R6, [R1]\n"
98  "STR R8, [SP]\n"
99  "LDR R0, [R4,#0x20]\n"
100  "MOV R2, R7\n"
101  "BL sub_FF83A4DC\n"
102  "B loc_FF96E128\n"
103  );
104 } //asm1989 05.09.10 done
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 3 der Datei movie_rec.c.

3  {
4 }
void set_quality ( int *  x)

Definiert in Zeile 7 der Datei movie_rec.c.

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