demux.h | demux.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* demux.h | * demux.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: demux.h,v 1.1 2002/12/11 13:04:56 jobi Exp $ | * $Id: demux.h 108 2005-04-19 12:33:21Z gbazin $ | |||
* | * | |||
* Authors: Johan Bilien <jobi@via.ecp.fr> | * Authors: Johan Bilien <jobi@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
skipping to change at line 83 | skipping to change at line 83 | |||
* \struct dvbpsi_demux_subdec_s | * \struct dvbpsi_demux_subdec_s | |||
* \brief Subtable decoder structure | * \brief Subtable decoder structure | |||
* | * | |||
* This structure contains the data specific to the decoding of one | * This structure contains the data specific to the decoding of one | |||
* subtable. | * subtable. | |||
*/ | */ | |||
/*! | /*! | |||
* \typedef struct dvbpsi_demux_subdec_s dvbpsi_demux_subdec_t | * \typedef struct dvbpsi_demux_subdec_s dvbpsi_demux_subdec_t | |||
* \brief dvbpsi_demux_subdec_t type definition. | * \brief dvbpsi_demux_subdec_t type definition. | |||
*/ | */ | |||
struct dvbpsi_demux_s; | ||||
typedef struct dvbpsi_demux_subdec_s | typedef struct dvbpsi_demux_subdec_s | |||
{ | { | |||
uint32_t i_id; | uint32_t i_id; | |||
dvbpsi_demux_subdec_cb_t pf_callback; | dvbpsi_demux_subdec_cb_t pf_callback; | |||
void * p_cb_data; | void * p_cb_data; | |||
struct dvbpsi_demux_subdec_s * p_next; | struct dvbpsi_demux_subdec_s * p_next; | |||
void (*pf_detach)(struct dvbpsi_demux_s *, uint8_t, uint16_t); | ||||
} dvbpsi_demux_subdec_t; | } dvbpsi_demux_subdec_t; | |||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_demux_t | * dvbpsi_demux_t | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \struct dvbpsi_demux_s | * \struct dvbpsi_demux_s | |||
* \brief subtable demultiplexor structure | * \brief subtable demultiplexor structure | |||
* | * | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 5 lines changed or added | |||
descriptor.h | descriptor.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* descriptor.h | * descriptor.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: descriptor.h,v 1.5 2002/05/08 13:00:40 bozo Exp $ | * $Id: descriptor.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr.h | dr.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr.h | * dr.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr.h,v 1.5 2003/11/06 16:20:30 nitrox Exp $ | * $Id: dr.h 105 2005-03-23 17:02:48Z fenrir $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
skipping to change at line 52 | skipping to change at line 52 | |||
#include "dr_09.h" | #include "dr_09.h" | |||
#include "dr_0a.h" | #include "dr_0a.h" | |||
#include "dr_0b.h" | #include "dr_0b.h" | |||
#include "dr_0c.h" | #include "dr_0c.h" | |||
#include "dr_0d.h" | #include "dr_0d.h" | |||
#include "dr_0e.h" | #include "dr_0e.h" | |||
#include "dr_0f.h" | #include "dr_0f.h" | |||
#include "dr_42.h" | #include "dr_42.h" | |||
#include "dr_47.h" | #include "dr_47.h" | |||
#include "dr_48.h" | #include "dr_48.h" | |||
#include "dr_4d.h" | ||||
#include "dr_4e.h" | ||||
#include "dr_52.h" | ||||
#include "dr_55.h" | ||||
#include "dr_56.h" | ||||
#include "dr_59.h" | #include "dr_59.h" | |||
#else | #else | |||
#error "Multiple inclusions of dr.h" | #error "Multiple inclusions of dr.h" | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added | |||
dr_02.h | dr_02.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_02.h | * dr_02.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_02.h,v 1.3 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_02.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_03.h | dr_03.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_03.h | * dr_03.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_03.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_03.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_04.h | dr_04.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_04.h | * dr_04.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_04.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_04.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_05.h | dr_05.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_05.h | * dr_05.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_05.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_05.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_06.h | dr_06.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_06.h | * dr_06.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_06.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_06.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_07.h | dr_07.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_07.h | * dr_07.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_07.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_07.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_08.h | dr_08.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_08.h | * dr_08.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_08.h,v 1.3 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_08.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_09.h | dr_09.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_09.h | * dr_09.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_09.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_09.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_0a.h | dr_0a.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_0a.h | * dr_0a.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_0a.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_0a.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_0b.h | dr_0b.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_0b.h | * dr_0b.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_0b.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_0b.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_0c.h | dr_0c.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_0c.h | * dr_0c.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_0c.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_0c.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_0d.h | dr_0d.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_0d.h | * dr_0d.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_0d.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_0d.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_0e.h | dr_0e.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_0e.h | * dr_0e.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_0e.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_0e.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_0f.h | dr_0f.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_0f.h | * dr_0f.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_0f.h,v 1.2 2002/05/10 23:50:36 bozo Exp $ | * $Id: dr_0f.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_42.h | dr_42.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_42.h | * dr_42.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_42.h,v 1.2 2002/12/12 10:19:32 jobi Exp $ | * $Id: dr_42.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* Johan Bilien <jobi@via.ecp.fr> | * Johan Bilien <jobi@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_47.h | dr_47.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_47.h | * dr_47.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_47.h,v 1.2 2002/12/12 10:19:32 jobi Exp $ | * $Id: dr_47.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* Johan Bilien <jobi@via.ecp.fr> | * Johan Bilien <jobi@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_48.h | dr_48.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_48.h | * dr_48.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_48.h,v 1.2 2002/12/12 10:19:32 jobi Exp $ | * $Id: dr_48.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* Johan Bilien <jobi@via.ecp.fr> | * Johan Bilien <jobi@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
dr_59.h | dr_59.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dr_59.h | * dr_59.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dr_59.h,v 1.1 2003/11/06 16:20:30 nitrox Exp $ | * $Id: dr_59.h 93 2004-10-19 19:17:49Z massiot $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* Tristan Leteurtre <tristan.leteurtre@anevia.com> | * Tristan Leteurtre <tristan.leteurtre@anevia.com> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
skipping to change at line 45 | skipping to change at line 45 | |||
#define _DVBPSI_DR_59_H_ | #define _DVBPSI_DR_59_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_subtitle_t | * dvbpsi_subtitle_t | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \struct dvbpsi_subtitle_dr_s | * \struct dvbpsi_subtitle_s | |||
* \brief one subtitle structure. | * \brief one subtitle structure. | |||
* | * | |||
* This structure is used since subtitling_descriptor will contain several | * This structure is used since subtitling_descriptor will contain several | |||
* subtitles | * subtitles | |||
*/ | */ | |||
/*! | /*! | |||
* \typedef struct dvbpsi_subtitle_s dvbpsi_subtitle_t | * \typedef struct dvbpsi_subtitle_s dvbpsi_subtitle_t | |||
* \brief dvbpsi_subtitle_t type definition. | * \brief dvbpsi_subtitle_t type definition. | |||
*/ | */ | |||
typedef struct dvbpsi_subtitle_s | typedef struct dvbpsi_subtitle_s | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
dvbpsi.h | dvbpsi.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi.h | * dvbpsi.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: dvbpsi.h,v 1.7 2002/10/07 14:15:14 sam Exp $ | * $Id: dvbpsi.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
pat.h | pat.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* pat.h | * pat.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: pat.h,v 1.5 2002/05/08 13:00:40 bozo Exp $ | * $Id: pat.h 103 2005-01-21 14:34:51Z massiot $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
skipping to change at line 154 | skipping to change at line 154 | |||
/*! | /*! | |||
* \def dvbpsi_NewPAT(p_pat, i_ts_id, i_version, b_current_next) | * \def dvbpsi_NewPAT(p_pat, i_ts_id, i_version, b_current_next) | |||
* \brief Allocate and initialize a new dvbpsi_pat_t structure. | * \brief Allocate and initialize a new dvbpsi_pat_t structure. | |||
* \param p_pat pointer to the PAT structure | * \param p_pat pointer to the PAT structure | |||
* \param i_ts_id transport stream ID | * \param i_ts_id transport stream ID | |||
* \param i_version PAT version | * \param i_version PAT version | |||
* \param b_current_next current next indicator | * \param b_current_next current next indicator | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
#define dvbpsi_NewPAT(p_pat, i_ts_id, i_version, b_current_next) \ | #define dvbpsi_NewPAT(p_pat, i_ts_id, i_version, b_current_next) \ | |||
do { \ | ||||
p_pat = (dvbpsi_pat_t*)malloc(sizeof(dvbpsi_pat_t)); \ | p_pat = (dvbpsi_pat_t*)malloc(sizeof(dvbpsi_pat_t)); \ | |||
if(p_pat != NULL) \ | if(p_pat != NULL) \ | |||
dvbpsi_InitPAT(p_pat, i_ts_id, i_version, b_current_next); | dvbpsi_InitPAT(p_pat, i_ts_id, i_version, b_current_next); \ | |||
} while(0); | ||||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_EmptyPAT/dvbpsi_DeletePAT | * dvbpsi_EmptyPAT/dvbpsi_DeletePAT | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \fn void dvbpsi_EmptyPAT(dvbpsi_pat_t* p_pat) | * \fn void dvbpsi_EmptyPAT(dvbpsi_pat_t* p_pat) | |||
* \brief Clean a dvbpsi_pat_t structure. | * \brief Clean a dvbpsi_pat_t structure. | |||
* \param p_pat pointer to the PAT structure | * \param p_pat pointer to the PAT structure | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
void dvbpsi_EmptyPAT(dvbpsi_pat_t* p_pat); | void dvbpsi_EmptyPAT(dvbpsi_pat_t* p_pat); | |||
/*! | /*! | |||
* \def dvbpsi_DeletePAT(p_pat) | * \def dvbpsi_DeletePAT(p_pat) | |||
* \brief Clean and free a dvbpsi_pat_t structure. | * \brief Clean and free a dvbpsi_pat_t structure. | |||
* \param p_pat pointer to the PAT structure | * \param p_pat pointer to the PAT structure | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
#define dvbpsi_DeletePAT(p_pat) \ | #define dvbpsi_DeletePAT(p_pat) \ | |||
do { \ | ||||
dvbpsi_EmptyPAT(p_pat); \ | dvbpsi_EmptyPAT(p_pat); \ | |||
free(p_pat); | free(p_pat); \ | |||
} while(0); | ||||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_PATAddProgram | * dvbpsi_PATAddProgram | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \fn dvbpsi_pat_program_t* dvbpsi_PATAddProgram(dvbpsi_pat_t* p_pat, | * \fn dvbpsi_pat_program_t* dvbpsi_PATAddProgram(dvbpsi_pat_t* p_pat, | |||
uint16_t i_number, | uint16_t i_number, | |||
uint16_t i_pid) | uint16_t i_pid) | |||
* \brief Add a program at the end of the PAT. | * \brief Add a program at the end of the PAT. | |||
* \param p_pat pointer to the PAT structure | * \param p_pat pointer to the PAT structure | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 7 lines changed or added | |||
pmt.h | pmt.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* pmt.h | * pmt.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: pmt.h,v 1.5 2002/03/27 20:02:43 bozo Exp $ | * $Id: pmt.h 103 2005-01-21 14:34:51Z massiot $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
skipping to change at line 168 | skipping to change at line 168 | |||
* \brief Allocate and initialize a new dvbpsi_pmt_t structure. | * \brief Allocate and initialize a new dvbpsi_pmt_t structure. | |||
* \param p_pmt pointer to the PMT structure | * \param p_pmt pointer to the PMT structure | |||
* \param i_program_number program number | * \param i_program_number program number | |||
* \param i_version PMT version | * \param i_version PMT version | |||
* \param b_current_next current next indicator | * \param b_current_next current next indicator | |||
* \param i_pcr_pid PCR_PID | * \param i_pcr_pid PCR_PID | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
#define dvbpsi_NewPMT(p_pmt, i_program_number, \ | #define dvbpsi_NewPMT(p_pmt, i_program_number, \ | |||
i_version, b_current_next, i_pcr_pid) \ | i_version, b_current_next, i_pcr_pid) \ | |||
do { \ | ||||
p_pmt = (dvbpsi_pmt_t*)malloc(sizeof(dvbpsi_pmt_t)); \ | p_pmt = (dvbpsi_pmt_t*)malloc(sizeof(dvbpsi_pmt_t)); \ | |||
if(p_pmt != NULL) \ | if(p_pmt != NULL) \ | |||
dvbpsi_InitPMT(p_pmt, i_program_number, i_version, b_current_next, \ | dvbpsi_InitPMT(p_pmt, i_program_number, i_version, b_current_next, \ | |||
i_pcr_pid); | i_pcr_pid); \ | |||
} while(0); | ||||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_EmptyPMT/dvbpsi_DeletePMT | * dvbpsi_EmptyPMT/dvbpsi_DeletePMT | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \fn void dvbpsi_EmptyPMT(dvbpsi_pmt_t* p_pmt) | * \fn void dvbpsi_EmptyPMT(dvbpsi_pmt_t* p_pmt) | |||
* \brief Clean a dvbpsi_pmt_t structure. | * \brief Clean a dvbpsi_pmt_t structure. | |||
* \param p_pmt pointer to the PMT structure | * \param p_pmt pointer to the PMT structure | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
void dvbpsi_EmptyPMT(dvbpsi_pmt_t* p_pmt); | void dvbpsi_EmptyPMT(dvbpsi_pmt_t* p_pmt); | |||
/*! | /*! | |||
* \def dvbpsi_DeletePMT(p_pmt) | * \def dvbpsi_DeletePMT(p_pmt) | |||
* \brief Clean and free a dvbpsi_pmt_t structure. | * \brief Clean and free a dvbpsi_pmt_t structure. | |||
* \param p_pmt pointer to the PMT structure | * \param p_pmt pointer to the PMT structure | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
#define dvbpsi_DeletePMT(p_pmt) \ | #define dvbpsi_DeletePMT(p_pmt) \ | |||
do { \ | ||||
dvbpsi_EmptyPMT(p_pmt); \ | dvbpsi_EmptyPMT(p_pmt); \ | |||
free(p_pmt); | free(p_pmt); \ | |||
} while(0); | ||||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_PMTAddDescriptor | * dvbpsi_PMTAddDescriptor | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \fn dvbpsi_descriptor_t* dvbpsi_PMTAddDescriptor(dvbpsi_pmt_t* p_pmt, | * \fn dvbpsi_descriptor_t* dvbpsi_PMTAddDescriptor(dvbpsi_pmt_t* p_pmt, | |||
uint8_t i_tag, | uint8_t i_tag, | |||
uint8_t i_length, | uint8_t i_length, | |||
uint8_t* p_data) | uint8_t* p_data) | |||
* \brief Add a descriptor in the PMT. | * \brief Add a descriptor in the PMT. | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 7 lines changed or added | |||
psi.h | psi.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* psi.h | * psi.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: psi.h,v 1.6 2002/04/02 17:55:30 bozo Exp $ | * $Id: psi.h 88 2004-02-24 14:31:18Z sam $ | |||
* | * | |||
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
sdt.h | sdt.h | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* sdt.h | * sdt.h | |||
* (c)2001-2002 VideoLAN | * (c)2001-2002 VideoLAN | |||
* $Id: sdt.h,v 1.1 2002/12/11 13:04:57 jobi Exp $ | * $Id: sdt.h 103 2005-01-21 14:34:51Z massiot $ | |||
* | * | |||
* Authors: Johan Bilien <jobi@via.ecp.fr> | * Authors: Johan Bilien <jobi@via.ecp.fr> | |||
* | * | |||
* This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU General Public License | * modify it under the terms of the GNU General Public License | |||
* as published by the Free Software Foundation; either version 2 | * as published by the Free Software Foundation; either version 2 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
skipping to change at line 159 | skipping to change at line 159 | |||
* \fn void dvbpsi_InitSDT(dvbpsi_sdt_t* p_sdt, uint16_t i_ts_id, | * \fn void dvbpsi_InitSDT(dvbpsi_sdt_t* p_sdt, uint16_t i_ts_id, | |||
uint8_t i_version, int b_current_next, uint16_t i_network_id) | uint8_t i_version, int b_current_next, uint16_t i_network_id) | |||
* \brief Initialize a user-allocated dvbpsi_sdt_t structure. | * \brief Initialize a user-allocated dvbpsi_sdt_t structure. | |||
* \param p_sdt pointer to the SDT structure | * \param p_sdt pointer to the SDT structure | |||
* \param i_ts_id transport stream ID | * \param i_ts_id transport stream ID | |||
* \param i_version SDT version | * \param i_version SDT version | |||
* \param b_current_next current next indicator | * \param b_current_next current next indicator | |||
* \param i_network_id original network id | * \param i_network_id original network id | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
void dvbpsi_InitSDT(dvbpsi_sdt_t* p_sdt, uint16_t i_ts_id, uint8_t i_versio n, | void dvbpsi_InitSDT(dvbpsi_sdt_t *p_sdt, uint16_t i_ts_id, uint8_t i_versio n, | |||
int b_current_next, uint16_t i_network_id); | int b_current_next, uint16_t i_network_id); | |||
/*! | /*! | |||
* \def dvbpsi_NewSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_ id) | * \def dvbpsi_NewSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_ id) | |||
* \brief Allocate and initialize a new dvbpsi_sdt_t structure. | * \brief Allocate and initialize a new dvbpsi_sdt_t structure. | |||
* \param p_sdt pointer to the SDT structure | * \param p_sdt pointer to the SDT structure | |||
* \param i_ts_id transport stream ID | * \param i_ts_id transport stream ID | |||
* \param i_version SDT version | * \param i_version SDT version | |||
* \param b_current_next current next indicator | * \param b_current_next current next indicator | |||
* \param i_network_id original network id | * \param i_network_id original network id | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
#define dvbpsi_NewSDT(p_sdt, i_ts_id, i_version, b_current_next,i_network_i d) \ | #define dvbpsi_NewSDT(p_sdt, i_ts_id, i_version, b_current_next,i_network_i d) \ | |||
do { \ | ||||
p_sdt = (dvbpsi_sdt_t*)malloc(sizeof(dvbpsi_sdt_t)); \ | p_sdt = (dvbpsi_sdt_t*)malloc(sizeof(dvbpsi_sdt_t)); \ | |||
if(p_sdt != NULL) \ | if(p_sdt != NULL) \ | |||
dvbpsi_InitSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_id) | dvbpsi_InitSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_id) | |||
; | ; \ | |||
} while(0); | ||||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_EmptySDT/dvbpsi_DeleteSDT | * dvbpsi_EmptySDT/dvbpsi_DeleteSDT | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \fn void dvbpsi_EmptySDT(dvbpsi_sdt_t* p_sdt) | * \fn void dvbpsi_EmptySDT(dvbpsi_sdt_t* p_sdt) | |||
* \brief Clean a dvbpsi_sdt_t structure. | * \brief Clean a dvbpsi_sdt_t structure. | |||
* \param p_sdt pointer to the SDT structure | * \param p_sdt pointer to the SDT structure | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
void dvbpsi_EmptySDT(dvbpsi_sdt_t* p_sdt); | void dvbpsi_EmptySDT(dvbpsi_sdt_t *p_sdt); | |||
/*! | /*! | |||
* \def dvbpsi_DeleteSDT(p_sdt) | * \def dvbpsi_DeleteSDT(p_sdt) | |||
* \brief Clean and free a dvbpsi_sdt_t structure. | * \brief Clean and free a dvbpsi_sdt_t structure. | |||
* \param p_sdt pointer to the SDT structure | * \param p_sdt pointer to the SDT structure | |||
* \return nothing. | * \return nothing. | |||
*/ | */ | |||
#define dvbpsi_DeleteSDT(p_sdt) \ | #define dvbpsi_DeleteSDT(p_sdt) \ | |||
do { \ | ||||
dvbpsi_EmptySDT(p_sdt); \ | dvbpsi_EmptySDT(p_sdt); \ | |||
free(p_sdt); | free(p_sdt); \ | |||
} while(0); | ||||
/************************************************************************** *** | /************************************************************************** *** | |||
* dvbpsi_SDTAddService | * dvbpsi_SDTAddService | |||
************************************************************************** ***/ | ************************************************************************** ***/ | |||
/*! | /*! | |||
* \fn dvbpsi_sdt_service_t* dvbpsi_SDTAddService(dvbpsi_sdt_t* p_sdt, | * \fn dvbpsi_sdt_service_t* dvbpsi_SDTAddService(dvbpsi_sdt_t* p_sdt, | |||
uint16_t i_service_id, | uint16_t i_service_id, | |||
int b_eit_schedule, | int b_eit_schedule, | |||
int b_eit_present, | int b_eit_present, | |||
uint8_t i_running_status, | uint8_t i_running_status, | |||
int b_free_ca) | int b_free_ca) | |||
* \brief Add a service description at the end of the SDT. | * \brief Add a service description at the end of the SDT. | |||
* \param p_sdt pointer to the SDT structure | * \param p_sdt pointer to the SDT structure | |||
* \param i_service_id Service ID | * \param i_service_id Service ID | |||
* \param b_eit_schedule EIT Schedule flag | * \param b_eit_schedule EIT Schedule flag | |||
* \param b_eit_present EIT Present/Following flag | * \param b_eit_present EIT Present/Following flag | |||
* \param i_running_status Running status | * \param i_running_status Running status | |||
* \param b_free_ca Free CA flag | * \param b_free_ca Free CA flag | |||
* \return a pointer to the added service description. | * \return a pointer to the added service description. | |||
*/ | */ | |||
dvbpsi_sdt_service_t* dvbpsi_SDTAddService(dvbpsi_sdt_t* p_sdt, | dvbpsi_sdt_service_t *dvbpsi_SDTAddService(dvbpsi_sdt_t* p_sdt, | |||
uint16_t i_service_id, int b_eit_schedule, int b_eit_present, | uint16_t i_service_id, int b_eit_schedule, int b_eit_present, | |||
uint8_t i_running_status,int b_free_ca); | uint8_t i_running_status,int b_free_ca); | |||
/************************************************************************** | ||||
*** | ||||
* dvbpsi_GenSDTSections | ||||
************************************************************************** | ||||
*** | ||||
* Generate SDT sections based on the dvbpsi_sdt_t structure. | ||||
************************************************************************** | ||||
***/ | ||||
dvbpsi_psi_section_t *dvbpsi_GenSDTSections(dvbpsi_sdt_t * p_sdt); | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
}; | }; | |||
#endif | #endif | |||
#else | #else | |||
#error "Multiple inclusions of sdt.h" | #error "Multiple inclusions of sdt.h" | |||
#endif | #endif | |||
End of changes. 9 change blocks. | ||||
7 lines changed or deleted | 21 lines changed or added | |||