annotate loader/ldt_keeper.h @ 10578:b9d289fd8a57

10000l, the old code was slow as hell, copying stuff extra times and actually broken -- blanking the whole screen at each 'page flip' with -dr enabled. benchmarks: before: 56% cpu for decode 56% cpu for vo with no -dr 25% cpu for vo with -dr after: 56% cpu for decode 25% cpu for vo without -dr 0% cpu for vo with -dr if vo_fbdev is going to do pageflip, it needs to do it for REAL, using vertical scroll registers (like g2), not copying a temp buffer (which will shear anyway and is super-slow).
author rfelker
date Tue, 12 Aug 2003 08:24:24 +0000
parents 174e2a58b4cd
children 2de480457872
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2067
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
1 #ifndef LDT_KEEPER_H
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
2 #define LDT_KEEPER_H
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
3
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
4 #ifdef __cplusplus
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
5 extern "C"
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
6 {
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
7 #endif
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
8
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
9 typedef struct {
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
10 void* fs_seg;
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
11 char* prev_struct;
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
12 int fd;
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
13 } ldt_fs_t;
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
14
2067
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
15 void Setup_FS_Segment(void);
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
16 ldt_fs_t* Setup_LDT_Keeper(void);
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 2067
diff changeset
17 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
2067
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
18 #ifdef __cplusplus
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
19 }
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
20 #endif
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
21
a5a4143d5599 setup_FS.c -> ldt_keeper.c (avifile sync)
arpi
parents:
diff changeset
22 #endif /* LDT_KEEPER_H */