1
0
Fork 0

bdnav: hide internal clpi data

This commit is contained in:
hpi1 2018-12-31 19:48:12 +02:00
parent f59cd46080
commit 64e2488634
2 changed files with 13 additions and 11 deletions

View File

@ -20,19 +20,21 @@
#if !defined(_CLPI_PARSE_H_)
#define _CLPI_PARSE_H_
#include "clpi_data.h"
#include "util/attributes.h"
#include <stdint.h>
struct clpi_cl;
struct bd_disc;
BD_PRIVATE uint32_t clpi_find_stc_spn(const CLPI_CL *cl, uint8_t stc_id);
BD_PRIVATE uint32_t clpi_lookup_spn(const CLPI_CL *cl, uint32_t timestamp, int before, uint8_t stc_id);
BD_PRIVATE uint32_t clpi_access_point(const CLPI_CL *cl, uint32_t pkt, int next, int angle_change, uint32_t *time);
BD_PRIVATE CLPI_CL* clpi_parse(const char *path) BD_ATTR_MALLOC;
BD_PRIVATE CLPI_CL* clpi_get(struct bd_disc *disc, const char *file);
BD_PRIVATE CLPI_CL* clpi_copy(const CLPI_CL* src_cl);
BD_PRIVATE void clpi_free(CLPI_CL **cl);
BD_PRIVATE struct clpi_cl* clpi_parse(const char *path);
BD_PRIVATE struct clpi_cl* clpi_get(struct bd_disc *disc, const char *file);
BD_PRIVATE struct clpi_cl* clpi_copy(const struct clpi_cl* src_cl);
BD_PRIVATE void clpi_free(struct clpi_cl **cl);
BD_PRIVATE uint32_t clpi_find_stc_spn(const struct clpi_cl *cl, uint8_t stc_id);
BD_PRIVATE uint32_t clpi_lookup_spn(const struct clpi_cl *cl, uint32_t timestamp, int before, uint8_t stc_id);
BD_PRIVATE uint32_t clpi_access_point(const struct clpi_cl *cl, uint32_t pkt, int next, int angle_change, uint32_t *time);
#endif // _CLPI_PARSE_H_

View File

@ -23,11 +23,11 @@
#include "util/attributes.h"
#include "mpls_data.h"
#include "clpi_data.h"
#include <stdint.h>
struct bd_disc;
struct clpi_cl;
#define CONNECT_NON_SEAMLESS 0
#define CONNECT_SEAMLESS 1
@ -83,9 +83,9 @@ struct nav_clip_s
NAV_TITLE *title;
CLPI_CL *cl;
uint32_t stc_spn; /* start packet of clip STC sequence */
struct clpi_cl *cl;
};
typedef struct nav_clip_list_s NAV_CLIP_LIST;