1 /*****************************************************************************
2 * clpi.h: BluRay Disc CLPI
3 *****************************************************************************
4 * Copyright (C) 2009 the VideoLAN team
7 * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
27 int64_t i_packet
; /* TS Packet number */
28 int64_t i_start
; /* Presentation start time in 45kHz */
29 int64_t i_end
; /* Presentation end time in 45kHz */
31 void bd_clpi_stc_Parse( bd_clpi_stc_t
*p_stc
, bs_t
*s
);
35 int i_pid
; /* PID of the associated stream */
36 int i_type
; /* Stream type of the associated stream */
38 void bd_clpi_stream_Parse( bd_clpi_stream_t
*p_stream
, bs_t
*s
);
42 bool b_angle_point
; /* EP angle point change */
43 int64_t i_packet
; /* TS packet number */
44 int64_t i_pts
; /* PTS of the associated stream (90kHz, 33bits) */
49 int i_pid
; /* PID of the associated stream */
50 int i_type
; /* Stream type of the associated stream */
55 void bd_clpi_ep_map_Clean( bd_clpi_ep_map_t
*p_ep_map
);
56 int bd_clpi_ep_map_Parse( bd_clpi_ep_map_t
*p_ep_map
,
57 bs_t
*s
, const int i_ep_map_start
);
68 bd_clpi_stream_t
*p_stream
;
71 bd_clpi_ep_map_t
*p_ep_map
;
73 void bd_clpi_Clean( bd_clpi_t
*p_clpi
);
74 int bd_clpi_Parse( bd_clpi_t
*p_clpi
, bs_t
*s
, int i_id
);