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))
 *-------------------------------------------------------------------— Mehr ...
 

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)  )

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

!!

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

Definiert in Zeile 25 der Datei movie_rec.c.

25  {
26  asm volatile(
27  "STMFD SP!, {R2-R8,LR}\n"
28  "LDR R7, =0x2710\n"
29  "LDR R4, =0x61A0\n"
30  "MOV R6, #0\n"
31  "MOV R5, #1\n"
32 
33  "loc_FFD14504:\n"
34  "LDR R0, [R4,#0x18]\n"
35  "MOV R2, #0\n"
36  "ADD R1, SP, #0x4\n"
37  "BL sub_FFC1659C\n"
38  "LDR R0, [R4,#0x20]\n"
39  "CMP R0, #0\n"
40  "BNE loc_FFD145D4\n"
41  "LDR R0, [SP,#0x4]\n"
42  "LDR R1, [R0]\n"
43  "SUB R1, R1, #2\n"
44  "CMP R1, #9\n"
45  "ADDLS PC, PC, R1,LSL#2\n"
46  "B loc_FFD145D4\n"
47 
48  "loc_FFD14538:\n"
49  "B loc_FFD14588\n"
50 
51  "loc_FFD1453C:\n"
52  "B loc_FFD145A8\n"
53 
54  "loc_FFD14540:\n"
55  "B loc_FFD145B8\n"
56 
57  "loc_FFD14544:\n"
58  "B loc_FFD145C0\n"
59 
60  "loc_FFD14548:\n"
61  "B loc_FFD14590\n"
62 
63  "loc_FFD1454C:\n"
64  "B loc_FFD145C8\n"
65 
66  "loc_FFD14550:\n"
67  "B loc_FFD14598\n"
68 
69  "loc_FFD14554:\n"
70  "B loc_FFD145D4\n"
71 
72  "loc_FFD14558:\n"
73  "B loc_FFD145D0\n"
74 
75  "loc_FFD1455C:\n"
76  "B loc_FFD14560\n"
77 
78  "loc_FFD14560:\n"
79  "LDR R0, =0xFFD141FC\n" // nullsub
80  "STR R6, [R4,#0x34]\n"
81  "STR R0, [R4,#0xA0]\n"
82  "LDR R0, =0xFFD13C80\n"
83  "LDR R2, =0xFFD13B9C\n"
84  "LDR R1, =0x4B5F4\n"
85  "STR R6, [R4,#0x24]\n"
86  "BL sub_FFC293B4\n"
87  "STR R5, [R4,#0x38]\n"
88  "B loc_FFD145D4\n"
89 
90  "loc_FFD14588:\n"
91 // ok
92  "BL unlock_optical_zoom\n" // -----------> inserted
93  "BL sub_FFD142F4\n"
94  "B loc_FFD145D4\n"
95 
96  "loc_FFD14590:\n"
97 
98  "BL sub_0xFFD13FFC_my\n" // ------------> changed
99  //"BL sub_FFD13FFC\n"
100  "B loc_FFD145D4\n"
101 
102  "loc_FFD14598:\n"
103 
104  "LDR R1, [R0,#0x10]\n"
105  "LDR R0, [R0,#4]\n"
106  "BL sub_FFE10550\n" // AviWriter.c:705
107  "B loc_FFD145D4\n"
108 
109  "loc_FFD145A8:\n"
110 
111  "LDR R0, [R4,#0x38]\n"
112  "CMP R0, #5\n"
113  "STRNE R5, [R4,#0x28]\n"
114  "B loc_FFD145D4\n"
115 
116  "loc_FFD145B8:\n"
117 
118  "BL sub_FFD13E08\n" // MovieRecorder.c:1606 (calls LiveImageTool.RealStopMjpegMaking
119  "B loc_FFD145D4\n"
120 
121  "loc_FFD145C0:\n"
122 
123  "BL sub_FFD13CCC\n" // MovieRecorder.c:1492
124  "B loc_FFD145D4\n"
125 
126  "loc_FFD145C8:\n"
127 
128  "BL sub_FFD13B28\n"
129  "B loc_FFD145D4\n"
130 
131  "loc_FFD145D0:\n"
132 
133  "BL sub_FFD14740\n" // MovieRecorder.c:1250
134 
135  "loc_FFD145D4:\n"
136  "LDR R1, [SP,#4]\n"
137  "LDR R3, =0x330\n"
138  "STR R6, [R1]\n"
139  "STR R3, [SP,#0]\n"
140  "LDR R0, [R4,#0x1C]\n"
141  "LDR R3, =0xFFD13988\n"
142  "MOV R2, R7\n"
143  "BL sub_FFC16EF0\n"
144  "B loc_FFD14504\n"
145  );
146 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 18 der Datei movie_rec.c.

18  {
19  int i;
20  for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b;
21 }

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 23 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 13 der Datei movie_rec.c.

long table[24]

Definiert in Zeile 16 der Datei movie_rec.c.

int* video_mode = &conf.video_mode

Definiert in Zeile 10 der Datei movie_rec.c.

int* video_quality = &conf.video_quality

Definiert in Zeile 9 der Datei movie_rec.c.