Annotation of multiplexer/ps.h, revision 1.3
1.1 oskar 1: /*
2: * ISO 13818 stream multiplexer
3: * Copyright (C) 2001 Convergence Integrated Media GmbH Berlin
1.2 oskar 4: * Author: Oskar Schirmer (oskar@scara.com)
1.3 ! oskar 5: *
! 6: * This program is free software; you can redistribute it and/or modify
! 7: * it under the terms of the GNU General Public License as published by
! 8: * the Free Software Foundation; either version 2 of the License, or
! 9: * (at your option) any later version.
! 10: *
! 11: * This program is distributed in the hope that it will be useful,
! 12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
! 13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 14: * GNU General Public License for more details.
! 15: *
! 16: * You should have received a copy of the GNU General Public License
! 17: * along with this program; if not, write to the Free Software
! 18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.1 oskar 19: */
20:
21:
22: #define PS_CODE_END (0xB9)
23: #define PS_CODE_PACK_HDR (0xBA)
24: #define PS_CODE_SYST_HDR (0xBB)
25:
26: #define PS_PACKHD_SCR (PES_HDCODE_SIZE)
27: #define PS_PACKHD_MUXRAT (PS_PACKHD_SCR+6)
28: #define PS_PACKHD_STUFLN (PS_PACKHD_MUXRAT+3)
29: #define PS_PACKHD_SIZE (PS_PACKHD_STUFLN+1)
30:
31: #define PS_SYSTHD_RATBND (PES_HEADER_SIZE)
32: #define PS_SYSTHD_AUDBND (PS_SYSTHD_RATBND+3)
33: #define PS_SYSTHD_VIDBND (PS_SYSTHD_AUDBND+1)
34: #define PS_SYSTHD_PKTRRF (PS_SYSTHD_VIDBND+1)
35: #define PS_SYSTHD_STREAM (PS_SYSTHD_PKTRRF+1)
36: #define PS_SYSTHD_SIZE (PS_SYSTHD_STREAM)
37: #define PS_SYSTHD_STRLEN 3
38:
39: #define PS_STRMAP_CNI (PES_HEADER_SIZE)
40: #define PS_STRMAP_PSIL (PS_STRMAP_CNI+2)
41: #define PS_STRMAP_PSID (PS_STRMAP_PSIL+2)
42: #define PS_STRMAP_SIZE (PS_STRMAP_PSID+6)
43: #define PS_STRMAP_STRLEN 4
44:
45: #define PS_STRDIR_NUMOAU (PES_HEADER_SIZE)
46: #define PS_STRDIR_PREVDO (PS_STRDIR_NUMOAU+2)
47: #define PS_STRDIR_NEXTDO (PS_STRDIR_PREVDO+6)
48: #define PS_STRDIR_SIZE (PS_STRDIR_NEXTDO+6)
49: #define PS_STRDIR_SIZEAU 18
50:
LinuxTV legacy CVS <linuxtv.org/cvs>