00001 /***************************************************************************** 00002 * pes.h 00003 ***************************************************************************** 00004 * Copyright (C) 2001, 2002 the VideoLAN team 00005 * $Id: pes.h 11664 2005-07-09 06:17:09Z courmisch $ 00006 * 00007 * Authors: Laurent Aimar <[email protected]> 00008 * Eric Petit <[email protected]> 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00023 *****************************************************************************/ 00024 00025 #define PES_PROGRAM_STREAM_MAP 0xbc 00026 #define PES_PRIVATE_STREAM_1 0xbd 00027 #define PES_PADDING 0xbe 00028 #define PES_PRIVATE_STREAM_2 0xbf 00029 #define PES_ECM 0xb0 00030 #define PES_EMM 0xb1 00031 #define PES_PROGRAM_STREAM_DIRECTORY 0xff 00032 #define PES_DSMCC_STREAM 0xf2 00033 #define PES_ITU_T_H222_1_TYPE_E_STREAM 0xf8 00034 00035 #define PES_PAYLOAD_SIZE_MAX 65500 00036 00037 int E_( EStoPES )( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es, 00038 es_format_t *p_fmt, int i_stream_id, 00039 int b_mpeg2, int b_data_alignment, int i_header_size, 00040 int i_max_pes_size );