Mercurial > libdvdnav.hg
view remap.h @ 113:ec2df154be56 src
slightly improved logic of program skipping:
previous program:
-> if PG > 1, jump to PG - 1
-> otherwise, if prev_PGC is set, jump to last PG of prev_PGC
-> otherwise fail
next program:
-> if PG < last_PG, jump to PG + 1
-> otherwise, if next_PGC is set, jump to first PG of next_PGC
-> otherwise, move to last Cell of current PG and ask the VM for the next Cell
author | mroi |
---|---|
date | Mon, 13 Jan 2003 13:33:45 +0000 |
parents | 2fcb4f228308 |
children | b6834e6359cf |
line wrap: on
line source
#ifndef __REMAP__H #define __REMAP__H typedef struct block_s block_t; typedef struct remap_s remap_t; remap_t* remap_loadmap( char *title); unsigned long remap_block( remap_t *map, int domain, int title, int program, unsigned long cblock, unsigned long offset); #endif