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 __attribute__ ((naked, noinline))
 

Variablen

int * video_quality = &conf.video_quality
 
int * video_mode = &conf.video_mode
 
long def_table [24]
 
long table [24]
 
long CompressionRateTable [] ={0x60, 0x5D, 0x5A, 0x57, 0x54, 0x51, 0x4D, 0x48, 0x42, 0x3B, 0x32, 0x29, 0x22, 0x1D, 0x17, 0x14, 0x10, 0xE, 0xB, 9, 7, 6, 5, 4, 3, 2, 1}
 

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

!!

Definiert in Zeile 21 der Datei movie_rec.c.

21  {
22  asm volatile(
23  "STMFD SP!, {R2-R8,LR}\n"
24  "LDR R7, =0x2710\n"
25  "LDR R4, =0x56C8\n"
26  "MOV R6, #0\n"
27  "MOV R5, #1\n"
28  "loc_FFCE56F0:\n"
29  "LDR R0, [R4,#0x18]\n"
30  "MOV R2, #0\n"
31  "ADD R1, SP, #4\n"
32  "BL sub_FFC15EBC\n"
33  "LDR R0, [R4,#0x20]\n"
34  "CMP R0, #0\n"
35  "BNE loc_FFCE57C0\n"
36  "LDR R0, [SP,#4]\n"
37  "LDR R1, [R0]\n"
38  "SUB R1, R1, #2\n"
39  "CMP R1, #9\n"
40  "ADDLS PC, PC, R1,LSL#2\n"
41  "B loc_FFCE57C0\n"
42  "loc_FFCE5724:\n"
43  "B loc_FFCE5774\n"
44  "loc_FFCE5728:\n"
45  "B loc_FFCE5794\n"
46  "loc_FFCE572C:\n"
47  "B loc_FFCE57A4\n"
48  "loc_FFCE5730:\n"
49  "B loc_FFCE57AC\n"
50  "loc_FFCE5734:\n"
51  "B loc_FFCE577C\n"
52  "loc_FFCE5738:\n"
53  "B loc_FFCE57B4\n"
54  "loc_FFCE573C:\n"
55  "B loc_FFCE5784\n"
56  "loc_FFCE5740:\n"
57  "B loc_FFCE57C0\n"
58  "loc_FFCE5744:\n"
59  "B loc_FFCE57BC\n"
60  "loc_FFCE5748:\n"
61  "B loc_FFCE574C\n"
62  "loc_FFCE574C:\n"
63  "LDR R0, =0xFFCE53D8\n"
64  "STR R6, [R4,#0x34]\n"
65  "STR R0, [R4,#0xA0]\n"
66  "LDR R0, =0xFFCE4E5C\n"
67  "LDR R2, =0xFFCE4D78\n"
68  "LDR R1, =0x27328\n"
69  "STR R6, [R4,#0x24]\n"
70  "BL sub_FFC8A440\n"
71  "STR R5, [R4,#0x38]\n"
72  "B loc_FFCE57C0\n"
73  "loc_FFCE5774:\n"
74  "BL unlock_optical_zoom\n" // +
75  "BL sub_FFCE54D0\n"
76  "B loc_FFCE57C0\n"
77  "loc_FFCE577C:\n"
78  "BL sub_FFCE51D8_my\n" //----------->
79  "B loc_FFCE57C0\n"
80  "loc_FFCE5784:\n"
81  "LDR R1, [R0,#0x10]\n"
82  "LDR R0, [R0,#4]\n"
83  "BL sub_FFDC0318\n"
84  "B loc_FFCE57C0\n"
85  "loc_FFCE5794:\n"
86  "LDR R0, [R4,#0x38]\n"
87  "CMP R0, #5\n"
88  "STRNE R5, [R4,#0x28]\n"
89  "B loc_FFCE57C0\n"
90  "loc_FFCE57A4:\n"
91  "BL sub_FFCE4FE4\n"
92  "B loc_FFCE57C0\n"
93  "loc_FFCE57AC:\n"
94  "BL sub_FFCE4EA8\n"
95  "B loc_FFCE57C0\n"
96  "loc_FFCE57B4:\n"
97  "BL sub_FFCE4D04\n"
98  "B loc_FFCE57C0\n"
99  "loc_FFCE57BC:\n"
100  "BL sub_FFCE592C\n"
101  "loc_FFCE57C0:\n"
102  "LDR R1, [SP,#4]\n"
103  "MOV R3, #0x330\n"
104  "STR R6, [R1]\n"
105  "STR R3, [SP]\n"
106  "LDR R0, [R4,#0x1C]\n"
107  "LDR R3, =0xFFCE4B64\n"
108  "MOV R2, R7\n"
109  "BL sub_FFC0BDDC\n"
110  "B loc_FFCE56F0\n"
111  );
112 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 11 der Datei movie_rec.c.

11  {
12  int i;
13  for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b;
14 }

Variablen-Dokumentation

long CompressionRateTable[] ={0x60, 0x5D, 0x5A, 0x57, 0x54, 0x51, 0x4D, 0x48, 0x42, 0x3B, 0x32, 0x29, 0x22, 0x1D, 0x17, 0x14, 0x10, 0xE, 0xB, 9, 7, 6, 5, 4, 3, 2, 1}

Definiert in Zeile 16 der Datei movie_rec.c.

long def_table[24]
Initialisierung:
={0x2000, 0x38D, 0x788, 0x5800, 0x9C5, 0x14B8, 0x10000, 0x1C6A, 0x3C45, 0x8000, 0xE35, 0x1E23,
0x1CCD, -0x2E1, -0x579, 0x4F33, -0x7EB, -0xF0C, 0xE666, -0x170A, -0x2BC6, 0x7333, -0xB85, -0x15E3}

Definiert in Zeile 6 der Datei movie_rec.c.

long table[24]

Definiert in Zeile 9 der Datei movie_rec.c.

int* video_mode = &conf.video_mode

Definiert in Zeile 4 der Datei movie_rec.c.

int* video_quality = &conf.video_quality

Definiert in Zeile 3 der Datei movie_rec.c.