Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
fcb8d11c
Commit
fcb8d11c
authored
Jun 20, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATSC ETT: Refactor dvbpsi_atsc_GatherETTSections and fix dvbpsi_atsc_DecodeETTSections.
parent
9d700f4e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
240 additions
and
87 deletions
+240
-87
src/tables/atsc_ett.c
src/tables/atsc_ett.c
+224
-84
src/tables/atsc_ett.h
src/tables/atsc_ett.h
+16
-3
No files found.
src/tables/atsc_ett.c
View file @
fcb8d11c
This diff is collapsed.
Click to expand it.
src/tables/atsc_ett.h
View file @
fcb8d11c
...
@@ -34,24 +34,37 @@ extern "C" {
...
@@ -34,24 +34,37 @@ extern "C" {
* \struct dvbpsi_atsc_ett_s
* \struct dvbpsi_atsc_ett_s
* \brief ETT structure.
* \brief ETT structure.
*
*
* This structure is used to store a decoded ETT.
* The Extended Text Table (ETT) contains Extended Text Message (ETM) streams. They
* provide detailed descriptions of virtual channels (channel ETM) and (event ETM).
* An ETM consist of a multiple string data structure (see Section 6.10), and thus, it
* may represent a description in several different languages (each string corresponding
* to one language).
*/
*/
/*!
/*!
* \typedef struct dvbpsi_atsc_ett_s dvbpsi_atsc_ett_t
* \typedef struct dvbpsi_atsc_ett_s dvbpsi_atsc_ett_t
* \brief dvbpsi_atsc_ett_t type definition.
* \brief dvbpsi_atsc_ett_t type definition.
*
* This structure is used to store a decoded ETT.
* (ATSC document A/56-2009, section 6.6.)
*/
*/
typedef
struct
dvbpsi_atsc_ett_s
typedef
struct
dvbpsi_atsc_ett_s
{
{
/* general PSI table */
uint8_t
i_version
;
/*!< version_number */
uint8_t
i_version
;
/*!< version_number */
bool
b_current_next
;
/*!< current_next_indicator */
bool
b_current_next
;
/*!< current_next_indicator */
uint8_t
i_protocol
;
/*!< PSIP Protocol version */
uint8_t
i_protocol
;
/*!< PSIP Protocol version */
/* ETT specific */
uint16_t
i_ett_table_id
;
/*!< ETT Table ID extension,
uint16_t
i_ett_table_id
;
/*!< ETT Table ID extension,
normally 0x0000 */
normally 0x0000 */
uint32_t
i_etm_id
;
/*!< ETM Identifier, made up of
uint32_t
i_etm_id
;
/*!< ETM Identifier, made up of
source id and event id
source id and event id
(or 0 for channel ETT) */
(or 0 for channel ETT) */
uint16_t
i_etm_length
;
/*!< length of p_etm */
uint32_t
i_etm_length
;
/*!< length of p_etm_data */
uint8_t
*
p_etm
;
/*!< pointer to etm data */
uint8_t
*
p_etm_data
;
/*!< ETM data organized as a
multiple string structure */
dvbpsi_descriptor_t
*
p_first_descriptor
;
/*!< First descriptor. */
}
dvbpsi_atsc_ett_t
;
}
dvbpsi_atsc_ett_t
;
/*****************************************************************************
/*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment