Add a comment that explains why this header has no multiple inclusion guards.
[mplayer/greg.git] / libmpdemux / mpeg_packetizer.h
blob6a17034f1feda3096a11e34592b58652ef99ba4e
1 /*
2 * Copyright (C) 2006 Benjamin Zores
3 * Set of helper routines for building MPEG 1/2 PS/PES packets.
5 * Based on various code bororwed from vo_mpegpes/vo_dxr2 :
6 * (C) 2000 Ralph Metzler <ralph@convergence.de>
7 * Marcus Metzler <marcus@convergence.de>
8 * Gerard Lantau
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.
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.
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 Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 #ifndef MPEG_PACKETIZER_H
26 #define MPEG_PACKETIZER_H
28 /* Send MPEG <type> PES packet */
29 int send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts,
30 int type, int my_write (unsigned char *data, int len));
32 /* Send MPEG <type> PS packet */
33 int send_mpeg_ps_packet (unsigned char *data, int len, int id, uint64_t pts,
34 int type,int my_write (unsigned char *data, int len));
36 /* Send MPEG 2 LPCM packet */
37 int send_mpeg_lpcm_packet (unsigned char *data, int len,
38 int id, uint64_t pts, int freq_id,
39 int my_write (unsigned char *data, int len));
41 #endif /* MPEG_PACKETIZER_H */