]> git.sesse.net Git - vlc/blob - modules/mux/mpeg/pes.h
* modules/mux/mpeg/pes.c: Extended prototype to allow for padding bytes
[vlc] / modules / mux / mpeg / pes.h
1 /*****************************************************************************
2  * pes.h
3  *****************************************************************************
4  * Copyright (C) 2001, 2002 VideoLAN
5  * $Id$
6  *
7  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
8  *          Eric Petit <titer@videolan.org>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  * 
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
24
25
26 #define PES_PROGRAM_STREAM_MAP          0xbc
27 #define PES_PRIVATE_STREAM_1            0xbd
28 #define PES_PADDING                     0xbe
29 #define PES_PRIVATE_STREAM_2            0xbf
30 #define PES_ECM                         0xb0
31 #define PES_EMM                         0xb1
32 #define PES_PROGRAM_STREAM_DIRECTORY    0xff
33 #define PES_DSMCC_STREAM                0xf2
34 #define PES_ITU_T_H222_1_TYPE_E_STREAM  0xf8
35
36
37 int E_( EStoPES )( sout_instance_t *p_sout,
38                    block_t **pp_pes, block_t *p_es,
39                    int i_stream_id, int b_mpeg2, int b_data_alignment,
40                    int i_header_size );