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

Definiert in Zeile 12 der Datei movie_rec.c.

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