libdvbv5 1.26.1
Library to work with Digital TV devices on Linux
mpeg_es.h File Reference

Provides the table parser for the MPEG-TS Elementary Stream. More...

#include <stdint.h>
#include <unistd.h>

Go to the source code of this file.

Data Structures

struct  dvb_mpeg_es_seq_start
 MPEG ES Sequence header. More...
 
struct  dvb_mpeg_es_pic_start
 MPEG ES Picture start header. More...
 

Macros

#define DVB_MPEG_ES_PIC_START
 Picture Start.
 
#define DVB_MPEG_ES_USER_DATA
 User Data.
 
#define DVB_MPEG_ES_SEQ_START
 Sequence Start.
 
#define DVB_MPEG_ES_SEQ_EXT
 Extension.
 
#define DVB_MPEG_ES_GOP
 Group Of Pictures.
 
#define DVB_MPEG_ES_SLICES
 Slices.
 

Enumerations

enum  dvb_mpeg_es_frame_t {
  DVB_MPEG_ES_FRAME_UNKNOWN , DVB_MPEG_ES_FRAME_I , DVB_MPEG_ES_FRAME_P , DVB_MPEG_ES_FRAME_B ,
  DVB_MPEG_ES_FRAME_D
}
 

Functions

int dvb_mpeg_es_seq_start_init (const uint8_t *buf, ssize_t buflen, struct dvb_mpeg_es_seq_start *seq_start)
 Initialize a struct dvb_mpeg_es_seq_start from buffer.
 
void dvb_mpeg_es_seq_start_print (struct dvb_v5_fe_parms *parms, struct dvb_mpeg_es_seq_start *seq_start)
 Print details of struct dvb_mpeg_es_seq_start.
 
int dvb_mpeg_es_pic_start_init (const uint8_t *buf, ssize_t buflen, struct dvb_mpeg_es_pic_start *pic_start)
 Initialize a struct dvb_mpeg_es_pic_start from buffer.
 
void dvb_mpeg_es_pic_start_print (struct dvb_v5_fe_parms *parms, struct dvb_mpeg_es_pic_start *pic_start)
 Print details of struct dvb_mpeg_es_pic_start.
 

Variables

const char * dvb_mpeg_es_frame_names [5]
 Vector that translates from enum dvb_mpeg_es_frame_t to string.
 

Detailed Description

Provides the table parser for the MPEG-TS Elementary Stream.

Author
Andre Roth
Relevant specs
The table described herein is defined in ISO 13818-2
See also
http://dvd.sourceforge.net/dvdinfo/mpeghdrs.html
Bug Report
Please submit bug reports and patches to linux.nosp@m.-med.nosp@m.ia@vg.nosp@m.er.k.nosp@m.ernel.nosp@m..org

Definition in file mpeg_es.h.

Enumeration Type Documentation

◆ dvb_mpeg_es_frame_t

Enumerator
DVB_MPEG_ES_FRAME_UNKNOWN 

Unknown frame.

DVB_MPEG_ES_FRAME_I 

I frame.

DVB_MPEG_ES_FRAME_P 

P frame.

DVB_MPEG_ES_FRAME_B 

B frame.

DVB_MPEG_ES_FRAME_D 

D frame.

Definition at line 165 of file mpeg_es.h.