2 * dvb-mpegtools for the Siemens Fujitsu DVB PCI card
4 * Copyright (C) 2000, 2001 Marcus Metzler
5 * for convergence integrated media GmbH
6 * Copyright (C) 2002 Marcus Metzler
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
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.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
27 * The author can be reached at mocm@metzlerbros.de,
34 #include <netinet/in.h>
36 #include <sys/types.h>
39 #include <sys/ioctl.h>
43 #include "ringbuffy.h"
51 #endif /* __cplusplus */
53 typedef struct video_i{
54 uint32_t horizontal_size;
55 uint32_t vertical_size ;
56 uint32_t aspect_ratio ;
58 uint32_t video_format;
60 uint32_t comp_bit_rate ;
61 uint32_t vbv_buffer_size;
66 typedef struct audio_i{
71 uint32_t mode_extension;
80 struct PTS_list_struct{
88 struct frame_list_struct{
101 PTS_List vpts_list[MAX_PTS];
102 PTS_List apts_list[MAX_PTS];
103 FRAME_List vframe_list[MAX_FRAME];
104 FRAME_List aframe_list[MAX_FRAME];
126 AudioInfo audio_info;
127 VideoInfo video_info;
141 enum { NONE, I_FRAME, P_FRAME, B_FRAME, D_FRAME };
143 void remux(int fin, int fout, int pack_size, int mult);
144 void remux2(int fdin, int fdout);
147 #endif /* __cplusplus */