CHDK_DE Vorschauversion  Trunk Rev. 6014
 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 (__attribute__((unused)) int a, __attribute__((unused)) 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 11 der Datei movie_rec.c.

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

Definiert in Zeile 3 der Datei movie_rec.c.

3 {}
void set_quality ( int *  x)

Definiert in Zeile 6 der Datei movie_rec.c.

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