CHDK_DE Vorschauversion  Trunk Rev. 5218
 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 [112]
 
long def_table2 [24]
 
long table1 [112]
 
long table2 [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

ASM1989 -> In sx200:FF857190 //"Mounter.c"

ASM1989 -> In sx200:FF81B284 // DebugAssert

Definiert in Zeile 33 der Datei movie_rec.c.

33  {
34  asm volatile(
35  "STMFD SP!, {R4,R5,LR}\n"
36  "SUB SP, SP, #4\n"
37  "MOV R5, SP\n"
38  "MOV R4, #0\n"
39 "loc_FFBAD37C:\n"
40  "LDR R3, =0xB3E30\n"
41  "MOV R2, #0\n"
42  "LDR R0, [R3]\n"
43  "MOV R1, R5\n"
44  "BL sub_FFB40944\n"
45  "LDR R3, =0xB4060\n"
46  "MOV R1, #0\n"
47  "LDR R0, [R3]\n"
48  "BL sub_FFB4150C\n"
49  "LDR R3, =0xB3F50\n"
50  "LDR R2, [R3]\n"
51  "CMP R2, #0\n"
52  "BNE loc_FFBAD438\n"
53  "LDR R1, [SP]\n"
54  "LDR R3, [R1]\n"
55  "SUB R3, R3, #2\n"
56  "MOV R0, R1\n"
57  "CMP R3, #9\n"
58  "LDRLS PC, [PC,R3,LSL#2]\n"
59  "B loc_FFBAD43C\n"
60  ".long loc_FFBAD3FC\n"
61  ".long loc_FFBAD414\n"
62  ".long loc_FFBAD41C\n"
63  ".long loc_FFBAD424\n"
64  ".long loc_FFBAD404\n"
65  ".long loc_FFBAD42C\n"
66  ".long loc_FFBAD40C\n"
67  ".long loc_FFBAD43C\n"
68  ".long loc_FFBAD434\n"
69  ".long loc_FFBAD3F4\n"
70 "loc_FFBAD3F4:\n"
71  "BL sub_FFBAD4D0\n"
72  "B loc_FFBAD438\n"
73 "loc_FFBAD3FC:\n"
74  "BL sub_FFBAD734\n"
75  "B loc_FFBAD438\n"
76 "loc_FFBAD404:\n"
77  "BL sub_FFBADB60_my\n" //---------------->
78  "B loc_FFBAD438\n"
79 "loc_FFBAD40C:\n"
80  "BL sub_FFBAE3D8\n"
81  "B loc_FFBAD438\n"
82 "loc_FFBAD414:\n"
83  "BL sub_FFBADE8C\n"
84  "B loc_FFBAD438\n"
85 "loc_FFBAD41C:\n"
86  "BL sub_FFBAE67C\n"
87  "B loc_FFBAD438\n"
88 "loc_FFBAD424:\n"
89  "BL sub_FFBAE92C\n"
90  "B loc_FFBAD438\n"
91 "loc_FFBAD42C:\n"
92  "BL sub_FFBAE568\n"
93  "B loc_FFBAD438\n"
94 "loc_FFBAD434:\n"
95  "BL sub_FFBADEDC\n"
96 "loc_FFBAD438:\n"
97  "LDR R1, [SP]\n"
98 "loc_FFBAD43C:\n"
99  "LDR R3, [R1]\n"
100  "CMP R3, #9\n"
101  "BNE loc_FFBAD454\n"
102  "MOV R0, R1\n"
103  "BL sub_FFBAEB80\n"
104  "LDR R1, [SP]\n"
105 "loc_FFBAD454:\n"
106  "LDR R3, =0xB3E34\n"
107  "STR R4, [R1]\n"
108  "LDR R0, [R3]\n"
109  "MOV R2, R4\n"
110  "BL sub_FFB40D5C\n"
111  "LDR R3, =0xB4060\n"
112  "LDR R0, [R3]\n"
113  "BL sub_FFB41714\n"
114  "B loc_FFBAD37C\n"
115  );
116 }
void change_video_tables ( int  a,
int  b 
)

Definiert in Zeile 24 der Datei movie_rec.c.

24  {
25  int i;
26  for (i=0;i<112;i++) table1[i]=(def_table1[i]*a)/b;
27  for (i=0;i<24;i++) table2[i]=(def_table2[i]*a)/b;
28 }

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

long def_table1[112]
Initialisierung:
={
0x2000,0x38D,0x788,0xBE1,0x10CB,0x1642,0x1C48,0x22F9,0x2A79,0x32AA,0x3C01,0x4637,0x5190,0x5E0E,0x5800,0x9C5,
0x14B8,0x20C9,0x2E31,0x3D39,0x4DC9,0x6030,0x74D1,0x8B8D,0xA509,0xC160,0xE054,0x102AF,0x10000,0x1C6A,0x3C45,
0x5F60,0x8661,0xB21A,0xE249,0x117D2,0x153D5,0x195F8,0x1E01C,0x2328E,0x28C99,0x2F08B,0x20000,0x387A,0x7813,
0xBEC0,0x10CC2,0x16434,0x1C492,0x22FA4,0x2A7AA,0x32BF0,0x3C038,0x4651C,0x51932,0x5E116,0x25800,0x422F,0x8CB6,
0xDF89,0x13AF3,0x1A16D,0x2125B,0x28FD4,0x31C7B,0x3B77D,0x46542,0x5267D,0x5F987,0x6E3C6,0x8000,0xE35,0x1E23,0x2FB0,
0x4331,0x590D,0x7125,0x8BE9,0xA9EB,0xCAFC,0xF00E,0x11947,0x1464D,0x17846,0x10000,0x1C6A,0x3C45,0x5F60,0x8661,
0xB21A,0xE249,0x117D2,0x153D5,0x195F8,0x1E01C,0x2328E,0x28C99,0x2F08B,0x12C00,0x2118,0x465B,0x6FC5,0x9D7A,0xD0B7,
0x1092E,0x147EA,0x18E3E,0x1DBBF,0x232A1,0x2933F,0x2FCC4,0x371E3}

Definiert in Zeile 6 der Datei movie_rec.c.

long def_table2[24]
Initialisierung:
={0x1CCD, -0x2E1, -0x579, 0x4F33, -0x7EB, -0xF0C, 0xE666, -0x170A, -0x2BC6, 0x1CC39, -0x2F5B,
-0x59F0, 0x21B53, -0x377F, -0x6965, 0x7333, -0xB85, -0x15E3, 0xE666, -0x170A, -0x2BC6, 0x10DAA, -0x1BC0, -0x34B3 }

Definiert in Zeile 19 der Datei movie_rec.c.

long table1[112]

Definiert in Zeile 22 der Datei movie_rec.c.

long table2[24]

Definiert in Zeile 22 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.