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 (int a, int b)
 
void __attribute__ ((naked, noinline))
 *-------------------------------------------------------------------— Mehr ...
 

Variablen

int * video_quality = &conf.video_quality
 
int * video_mode = &conf.video_mode
 
long def_table1 [9] ={0x2000,0x38D,0x788,0x5800,0x9C5,0x14B8,0x10000,0x1C6A,0x3C45}
 
long def_table2 [9] ={0x1CCD,-0x2E1,-0x579,0x4F33,-0x7EB,-0xF0C,0xE666,-0x170A,-0x2BC6}
 
long table1 [9]
 
long table2 [9]
 
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

Definiert in Zeile 19 der Datei movie_rec.c.

19  {
20  asm volatile(
21  "STMFD SP!, {R4,LR}\n"
22  "SUB SP, SP, #4\n"
23  "MOV R4, SP\n"
24  "B loc_FF954564\n"
25  "loc_FF9544C0:\n"
26  "LDR R3, =0x6EC88\n"
27  "LDR R2, [R3]\n"
28  "CMP R2, #0\n"
29  "BNE loc_FF954550\n"
30  "SUB R3, R12, #2\n"
31  "CMP R3, #9\n"
32  "LDRLS PC, [PC,R3,LSL#2]\n"
33  "B loc_FF954550\n"
34  ".long loc_FF954510\n"
35  ".long loc_FF954528\n"
36  ".long loc_FF954530\n"
37  ".long loc_FF954538\n"
38  ".long loc_FF954518\n"
39  ".long loc_FF954540\n"
40  ".long loc_FF954520\n"
41  ".long loc_FF954550\n"
42  ".long loc_FF954548\n"
43  ".long loc_FF954508\n"
44  "loc_FF954508:\n"
45  "BL sub_FF9545FC\n"
46  "B loc_FF95454C\n"
47  "loc_FF954510:\n"
48  "BL unlock_optical_zoom\n"
49  "BL sub_FF9547B0\n"
50  "B loc_FF95454C\n"
51  "loc_FF954518:\n"
52  "BL sub_FF954B84_my\n" //------------------->
53  "B loc_FF95454C\n"
54  "loc_FF954520:\n"
55  "BL sub_FF954FB8\n"
56  "B loc_FF95454C\n"
57  "loc_FF954528:\n"
58  "BL sub_FF954E1C\n"
59  "B loc_FF95454C\n"
60  "loc_FF954530:\n"
61  "BL sub_FF955128\n"
62  "B loc_FF95454C\n"
63  "loc_FF954538:\n"
64  "BL sub_FF9552EC\n"
65  "B loc_FF95454C\n"
66  "loc_FF954540:\n"
67  "BL sub_FF955040\n"
68  "B loc_FF95454C\n"
69  "loc_FF954548:\n"
70  "BL sub_FF954E6C\n"
71  "loc_FF95454C:\n"
72  "LDR R1, [SP]\n"
73  "loc_FF954550:\n"
74  "LDR R3, =0x6EBBC\n"
75  "MOV R2, #0\n"
76  "STR R2, [R1]\n"
77  "LDR R0, [R3]\n"
78  "BL sub_FF82089C\n"
79  "loc_FF954564:\n"
80  "LDR R3, =0x6EBB8\n"
81  "MOV R1, R4\n"
82  "LDR R0, [R3]\n"
83  "MOV R2, #0\n"
84  "BL sub_FF820484\n"
85  "LDR R0, [SP]\n"
86  "LDR R12, [R0]\n"
87  "CMP R12, #0xC\n"
88  "MOV R1, R0\n"
89  "BNE loc_FF9544C0\n"
90  "LDR R3, =0x6EBB4\n"
91  "LDR R0, [R3]\n"
92  "BL sub_FF821218\n"
93  "BL sub_FF8219E0\n"
94  "ADD SP, SP, #4\n"
95  "LDMFD SP!, {R4,PC}\n"
96  );
97 }
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<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[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_table1[9] ={0x2000,0x38D,0x788,0x5800,0x9C5,0x14B8,0x10000,0x1C6A,0x3C45}

Definiert in Zeile 6 der Datei movie_rec.c.

long def_table2[9] ={0x1CCD,-0x2E1,-0x579,0x4F33,-0x7EB,-0xF0C,0xE666,-0x170A,-0x2BC6}

Definiert in Zeile 7 der Datei movie_rec.c.

long table1[9]

Definiert in Zeile 9 der Datei movie_rec.c.

long table2[9]

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.