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

Definiert in Zeile 11 der Datei movie_rec.c.

11  {
12  // from 0xFF85E03C (found via call to taskcreate_AviWrite)
13  asm volatile(
14 
15  "STMFD SP!, {R2-R8,LR}\n"
16  "LDR R7, =0x2710\n"
17  "LDR R4, =0x51A8\n"
18  "MOV R6, #0\n"
19  "MOV R5, #1\n"
20  "loc_FF85E050:\n"
21  "LDR R0, [R4,#0x1C]\n"
22  "MOV R2, #0\n"
23  "ADD R1, SP, #0xC\n"
24  "BL sub_FF827098\n"
25  "LDR R0, [R4,#0x24]\n"
26  "CMP R0, #0\n"
27  "BNE loc_FF85E120\n"
28  "LDR R0, [SP,#0xC]\n"
29  "LDR R1, [R0]\n"
30  "SUB R1, R1, #2\n"
31  "CMP R1, #9\n"
32  "ADDLS PC, PC, R1,LSL#2\n"
33  "B loc_FF85E120\n"
34  "loc_FF85E084:\n"
35  "B loc_FF85E0D4\n"
36  "loc_FF85E088:\n"
37  "B loc_FF85E0F4\n"
38  "loc_FF85E08C:\n"
39  "B loc_FF85E104\n"
40  "loc_FF85E090:\n"
41  "B loc_FF85E10C\n"
42  "loc_FF85E094:\n"
43  "B loc_FF85E0DC\n"
44  "loc_FF85E098:\n"
45  "B loc_FF85E114\n"
46  "loc_FF85E09C:\n"
47  "B loc_FF85E0E4\n"
48  "loc_FF85E0A0:\n"
49  "B loc_FF85E120\n"
50  "loc_FF85E0A4:\n"
51  "B loc_FF85E11C\n"
52  "loc_FF85E0A8:\n"
53  "B loc_FF85E0AC\n"
54  "loc_FF85E0AC:\n"
55  "STR R6, [R4,#0x38]\n"
56  "LDR R0, =0xFF85DD14\n"
57  "LDR R2, =0xFF85D28C\n"
58  "LDR R1, =0x1AB94\n"
59  "STR R0, [R4,#0xA0]\n"
60  "LDR R0, =0xFF85D370\n"
61  "STR R6, [R4,#0x28]\n"
62  "BL sub_FF8C3BFC\n"
63  "STR R5, [R4,#0x3C]\n"
64  "B loc_FF85E120\n"
65  "loc_FF85E0D4:\n"
66  "BL unlock_optical_zoom\n" // + (used ixus980)
67  "BL sub_FF85DE1C\n"
68  "B loc_FF85E120\n"
69  "loc_FF85E0DC:\n"
70  "BL sub_FF85D98C_my\n" //--------------->
71  "B loc_FF85E120\n"
72  "loc_FF85E0E4:\n"
73  "LDR R1, [R0,#0x10]\n"
74  "LDR R0, [R0,#4]\n"
75  "BL sub_FF92FDF0\n"
76  "B loc_FF85E120\n"
77  "loc_FF85E0F4:\n"
78  "LDR R0, [R4,#0x3C]\n"
79  "CMP R0, #5\n"
80  "STRNE R5, [R4,#0x2C]\n"
81  "B loc_FF85E120\n"
82  "loc_FF85E104:\n"
83  "BL sub_FF85D6CC\n"
84  "B loc_FF85E120\n"
85  "loc_FF85E10C:\n"
86  "BL sub_FF85D3BC\n"
87  "B loc_FF85E120\n"
88  "loc_FF85E114:\n"
89  "BL sub_FF85D218\n"
90  "B loc_FF85E120\n"
91  "loc_FF85E11C:\n"
92  "BL sub_FF85E28C\n"
93  "loc_FF85E120:\n"
94  "LDR R1, [SP,#0xC]\n"
95  "MOV R3, #0x430\n"
96  "STR R6, [R1]\n"
97  "STR R3, [SP]\n"
98  "LDR R0, [R4,#0x20]\n"
99  "LDR R3, =0xFF85D018\n"
100  "MOV R2, R7\n"
101  "BL sub_FF8279EC\n"
102  "B loc_FF85E050\n"
103  );
104 }
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 }