Go to the source code of this file.
|
linked_list_t * | new_list (void *(*new_fn)(void), void(*free)(void *)) |
|
linked_element * | new_elem (linked_list_t *list) |
|
linked_element * | add_elem (linked_list_t *list, void *elem) |
|
void | free_list (linked_list_t *list, int free_ptr) |
|
void | free_elem (linked_element *e, int free_ptr) |
|
void * | get_elem (linked_element *e) |
|
linked_list_t * | copy_list (linked_list_t *p_list) |
|
void | free_c_block (c_block_t *c) |
|
void | i_cblock_destructor (c_block_t *c) |
|
c_block_t * | new_c_block (cdrom_paranoia_t *p) |
|
void | free_v_fragment (v_fragment_t *c) |
|
v_fragment_t * | new_v_fragment (cdrom_paranoia_t *p, c_block_t *one, long int begin, long int end, int lastsector) |
|
int16_t * | v_buffer (v_fragment_t *v) |
|
c_block_t * | c_first (cdrom_paranoia_t *p) |
|
c_block_t * | c_last (cdrom_paranoia_t *p) |
|
c_block_t * | c_next (c_block_t *c) |
|
c_block_t * | c_prev (c_block_t *c) |
|
v_fragment_t * | v_first (cdrom_paranoia_t *p) |
|
v_fragment_t * | v_last (cdrom_paranoia_t *p) |
|
v_fragment_t * | v_next (v_fragment_t *v) |
|
v_fragment_t * | v_prev (v_fragment_t *v) |
|
c_block_t * | c_alloc (int16_t *vector, long begin, long size) |
|
void | c_set (c_block_t *v, long begin) |
|
void | c_insert (c_block_t *v, long pos, int16_t *b, long size) |
|
void | c_remove (c_block_t *v, long cutpos, long cutsize) |
|
void | c_overwrite (c_block_t *v, long pos, int16_t *b, long size) |
|
void | c_append (c_block_t *v, int16_t *vector, long size) |
|
void | c_removef (c_block_t *v, long cut) |
|
void | recover_cache (cdrom_paranoia_t *p) |
|
void | i_paranoia_firstlast (cdrom_paranoia_t *p) |
|
◆ CACHEMODEL_SECTORS
#define CACHEMODEL_SECTORS 1200 |
◆ cb
#define cb |
( |
|
v | ) |
(v->begin) |
◆ CDP_COMPILE
◆ ce
#define ce |
( |
|
v | ) |
(v->begin+v->size) |
◆ cs
#define cs |
( |
|
v | ) |
(v->size) |
◆ cv
#define cv |
( |
|
c | ) |
(c->vector) |
◆ fb
#define fb |
( |
|
f | ) |
(f->begin) |
◆ fe
#define fe |
( |
|
f | ) |
(f->begin+f->size) |
◆ fs
#define fs |
( |
|
f | ) |
(f->size) |
◆ fv
◆ JIGGLE_MODULO
#define JIGGLE_MODULO 15 /* sectors */ |
◆ linked_list
For compatibility with good ol' paranoia
◆ max
#define max |
( |
|
x, |
|
|
|
y |
|
) |
| ((x)<(y)?(y):(x)) |
◆ MAX_SECTOR_OVERLAP
#define MAX_SECTOR_OVERLAP 32 /* sectors */ |
◆ min
#define min |
( |
|
x, |
|
|
|
y |
|
) |
| ((x)>(y)?(y):(x)) |
◆ MIN_SECTOR_BACKUP
#define MIN_SECTOR_BACKUP 16 /* sectors */ |
◆ MIN_SECTOR_EPSILON
#define MIN_SECTOR_EPSILON 128 /* words */ |
◆ MIN_SILENCE_BOUNDARY
#define MIN_SILENCE_BOUNDARY 1024 /* 16 bit words */ |
◆ MIN_WORDS_OVERLAP
#define MIN_WORDS_OVERLAP 64 /* 16 bit words */ |
◆ MIN_WORDS_RIFT
#define MIN_WORDS_RIFT 16 /* 16 bit words */ |
◆ MIN_WORDS_SEARCH
#define MIN_WORDS_SEARCH 64 /* 16 bit words */ |
◆ c_block_t
◆ linked_element
◆ offsets
◆ root_block
◆ v_fragment_t
◆ add_elem()
References linked_list_t::active, linked_list_t::current, linked_list_t::head, linked_element::list, linked_element::next, NULL, linked_element::prev, linked_element::ptr, linked_element::stamp, and linked_list_t::tail.
Referenced by copy_list(), and new_elem().
◆ c_alloc()
c_block_t * c_alloc |
( |
int16_t * |
vector, |
|
|
long |
begin, |
|
|
long |
size |
|
) |
| |
◆ c_append()
void c_append |
( |
c_block_t * |
v, |
|
|
int16_t * |
vector, |
|
|
long |
size |
|
) |
| |
◆ c_first()
◆ c_insert()
void c_insert |
( |
c_block_t * |
v, |
|
|
long |
pos, |
|
|
int16_t * |
b, |
|
|
long |
size |
|
) |
| |
◆ c_last()
◆ c_next()
◆ c_overwrite()
void c_overwrite |
( |
c_block_t * |
v, |
|
|
long |
pos, |
|
|
int16_t * |
b, |
|
|
long |
size |
|
) |
| |
◆ c_prev()
◆ c_remove()
void c_remove |
( |
c_block_t * |
v, |
|
|
long |
cutpos, |
|
|
long |
cutsize |
|
) |
| |
◆ c_removef()
◆ c_set()
◆ copy_list()
◆ free_c_block()
◆ free_elem()
◆ free_list()
◆ free_v_fragment()
◆ get_elem()
◆ i_cblock_destructor()
◆ i_paranoia_firstlast()
Get the beginning and ending sector bounds given cursor position.
There are a couple of subtle differences between this and the cdda_firsttrack_sector and cdda_lasttrack_sector. If the cursor is an a sector later than cdda_firsttrack_sector, that sectur will be used. As for the difference between cdda_lasttrack_sector, if the CD is mixed and there is a data track after the cursor but before the last audio track, the end of the audio sector before that is used.
◆ new_c_block()
◆ new_elem()
◆ new_list()
linked_list_t * new_list |
( |
void *(*)(void) |
new_fn, |
|
|
void(*)(void *) |
free |
|
) |
| |
◆ new_v_fragment()
◆ recover_cache()
◆ v_buffer()
◆ v_first()
◆ v_last()
◆ v_next()
◆ v_prev()