CHDK_DE Vorschauversion  Trunk Rev. 5428
 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_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)  )

!!

Definiert in Zeile 28 der Datei movie_rec.c.

28  {
29  asm volatile(
30 " STMFD SP!, {R4,LR}\n"
31 " SUB SP, SP, #4\n"
32 " MOV R4, SP\n"
33 " B loc_FFD1BD84\n"
34 " loc_FFD1BCE0:\n"
35 " LDR R3, =0x72060\n"
36 " LDR R2, [R3]\n"
37 " CMP R2, #0\n"
38 " BNE loc_FFD1BD70\n"
39 " SUB R3, R12, #2\n"
40 " CMP R3, #9\n"
41 " LDRLS PC, [PC,R3,LSL#2]\n"
42 " B loc_FFD1BD70\n"
43 " .long loc_FFD1BD30\n"
44 " .long loc_FFD1BD48\n"
45 " .long loc_FFD1BD50\n"
46 " .long loc_FFD1BD58\n"
47 " .long loc_FFD1BD38\n"
48 " .long loc_FFD1BD60\n"
49 " .long loc_FFD1BD40\n"
50 " .long loc_FFD1BD70\n"
51 " .long loc_FFD1BD68\n"
52 " .long loc_FFD1BD28\n"
53 " loc_FFD1BD28:\n"
54 " BL sub_FFD1BE20\n"
55 " B loc_FFD1BD6C\n"
56 " loc_FFD1BD30:\n"
57 " BL unlock_optical_zoom\n"
58 " BL sub_FFD1BFD4_my\n" //to movie time limit mod
59 " B loc_FFD1BD6C\n"
60 " loc_FFD1BD38:\n"
61 " BL sub_FFD1C3E4_my\n"
62 " B loc_FFD1BD6C\n"
63 " loc_FFD1BD40:\n"
64 " BL sub_FFD1C8C4\n"
65 " B loc_FFD1BD6C\n"
66 " loc_FFD1BD48:\n"
67 " BL sub_FFD1C6E0\n"
68 " B loc_FFD1BD6C\n"
69 " loc_FFD1BD50:\n"
70 " BL sub_FFD1CA30\n"
71 " B loc_FFD1BD6C\n"
72 " loc_FFD1BD58:\n"
73 " BL sub_FFD1CBF4\n"
74 " B loc_FFD1BD6C\n"
75 " loc_FFD1BD60:\n"
76 " BL sub_FFD1C94C\n"
77 " B loc_FFD1BD6C\n"
78 " loc_FFD1BD68:\n"
79 " BL sub_FFD1C730\n"
80 " loc_FFD1BD6C:\n"
81 " LDR R1, [SP]\n"
82 " loc_FFD1BD70:\n"
83 " LDR R3, =0x71F94\n"
84 " MOV R2, #0\n"
85 " STR R2, [R1]\n"
86 " LDR R0, [R3]\n"
87 " BL sub_FFC104DC\n"
88 " loc_FFD1BD84:\n"
89 " LDR R3, =0x71F90\n"
90 " MOV R1, R4\n"
91 " LDR R0, [R3]\n"
92 " MOV R2, #0\n"
93 " BL sub_FFC100C4\n"
94 " LDR R0, [SP]\n"
95 " LDR R12, [R0]\n"
96 " CMP R12, #0xC\n"
97 " MOV R1, R0\n"
98 " BNE loc_FFD1BCE0\n"
99 " LDR R3, =0x71F8C\n"
100 " LDR R0, [R3]\n"
101 " BL sub_FFC10E58\n"
102 " BL sub_FFC11620\n"
103 " ADD SP, SP, #4\n"
104 " LDMFD SP!, {R4,PC}\n"
105  );
106 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 20 der Datei movie_rec.c.

20  {
21  int i;
22  for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;}
23 }

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

long def_table1[9] ={0x2000,0x38D,0x788,0x5800,0x9C5,0x14B8,0x10000,0x1C6A,0x3C45}

Definiert in Zeile 15 der Datei movie_rec.c.

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

Definiert in Zeile 16 der Datei movie_rec.c.

long table1[9]

Definiert in Zeile 18 der Datei movie_rec.c.

long table2[9]

Definiert in Zeile 18 der Datei movie_rec.c.

int* video_mode = &conf.video_mode

Definiert in Zeile 13 der Datei movie_rec.c.

int* video_quality = &conf.video_quality

Definiert in Zeile 12 der Datei movie_rec.c.