GstMpegvideoParser

Provides useful functions for mpeg videos bitstream parsing.

Functions

gst_mpeg_video_finalise_mpeg2_sequence_header

gboolean
gst_mpeg_video_finalise_mpeg2_sequence_header (GstMpegVideoSequenceHdr * hdr,
                                               GstMpegVideoSequenceExt * seqext,
                                               GstMpegVideoSequenceDisplayExt * displayext)

Parameters:

hdr
No description available
seqext
No description available
displayext
No description available
Returns (gboolean)
No description available

gst_mpeg_video_packet_parse_gop

gboolean
gst_mpeg_video_packet_parse_gop (const GstMpegVideoPacket * packet,
                                 GstMpegVideoGop * gop)

Parses the gop MPEG Video Group of Picture structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

gop

The GstMpegVideoGop structure to fill

Returns (gboolean)

TRUE if the gop could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_picture_extension

gboolean
gst_mpeg_video_packet_parse_picture_extension (const GstMpegVideoPacket * packet,
                                               GstMpegVideoPictureExt * picext)

Parse the ext MPEG Video Picture Extension structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

picext
No description available
Returns (gboolean)

TRUE if the picture extension could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_picture_header

gboolean
gst_mpeg_video_packet_parse_picture_header (const GstMpegVideoPacket * packet,
                                            GstMpegVideoPictureHdr * pichdr)

Parsers the pichdr MPEG Video Picture Header structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

pichdr

The GstMpegVideoPictureHdr structure to fill

Returns (gboolean)

TRUE if the picture sequence could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_quant_matrix_extension

gboolean
gst_mpeg_video_packet_parse_quant_matrix_extension (const GstMpegVideoPacket * packet,
                                                    GstMpegVideoQuantMatrixExt * quant)

Parses the quant MPEG Video Quantization Matrix Extension structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

quant

The GstMpegVideoQuantMatrixExt structure to fill

Returns (gboolean)

TRUE if the quant matrix extension could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_sequence_display_extension

gboolean
gst_mpeg_video_packet_parse_sequence_display_extension (const GstMpegVideoPacket * packet,
                                                        GstMpegVideoSequenceDisplayExt * seqdisplayext)

Parses the seqext MPEG Video Sequence Display Extension structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

seqdisplayext

The GstMpegVideoSequenceDisplayExt structure to fill

Returns (gboolean)

TRUE if the seqext could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_sequence_extension

gboolean
gst_mpeg_video_packet_parse_sequence_extension (const GstMpegVideoPacket * packet,
                                                GstMpegVideoSequenceExt * seqext)

Parses the seqext MPEG Video Sequence Extension structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

seqext

The GstMpegVideoSequenceExt structure to fill

Returns (gboolean)

TRUE if the seqext could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_sequence_header

gboolean
gst_mpeg_video_packet_parse_sequence_header (const GstMpegVideoPacket * packet,
                                             GstMpegVideoSequenceHdr * seqhdr)

Parses the seqhdr MPEG Video Sequence Header structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

seqhdr

The GstMpegVideoSequenceHdr structure to fill

Returns (gboolean)

TRUE if the seqhdr could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_sequence_scalable_extension

gboolean
gst_mpeg_video_packet_parse_sequence_scalable_extension (const GstMpegVideoPacket * packet,
                                                         GstMpegVideoSequenceScalableExt * seqscaleext)

Parses the seqscaleext MPEG Video Sequence Scalable Extension structure members from video packet

Parameters:

packet

The GstMpegVideoPacket that carries the data

seqscaleext

The GstMpegVideoSequenceScalableExt structure to fill

Returns (gboolean)

TRUE if the seqext could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_packet_parse_slice_header

gboolean
gst_mpeg_video_packet_parse_slice_header (const GstMpegVideoPacket * packet,
                                          GstMpegVideoSliceHdr * slice_hdr,
                                          GstMpegVideoSequenceHdr * seq_hdr,
                                          GstMpegVideoSequenceScalableExt * seqscaleext)

Parses the GstMpegVideoSliceHdr structure members from data

Parameters:

packet

The GstMpegVideoPacket that carries the data

slice_hdr

The GstMpegVideoSliceHdr structure to fill

seq_hdr
No description available
seqscaleext

The GstMpegVideoSequenceScalableExt header

Returns (gboolean)

TRUE if the slice could be parsed correctly, FALSE otherwise.

Since : 1.2


gst_mpeg_video_parse

gboolean
gst_mpeg_video_parse (GstMpegVideoPacket * packet,
                      const guint8 * data,
                      gsize size,
                      guint offset)

Parses the MPEG 1/2 video bitstream contained in data, and returns the offset, and if known also the size, in packet. This function will scan the data to find the next packet if needed.

Parameters:

packet

a GstMpegVideoPacket to fill with the data and offset of the next packet found

data

The data to parse

size

The size of data

offset

The offset from which to start parsing

Returns (gboolean)

TRUE if a packet start code was found, otherwise FALSE.


gst_mpeg_video_quant_matrix_get_raster_from_zigzag

void 
gst_mpeg_video_quant_matrix_get_raster_from_zigzag (guint8 [64]  out_quant,
                                                    const guint8 [64]  quant)

Converts quantization matrix quant from zigzag scan order to raster scan order and store the resulting factors into out_quant.

Note: it is an error to pass the same table in both quant and out_quant arguments.

Parameters:

out_quant

The resulting quantization matrix

quant

The source quantization matrix

Returns (void )
No description available

Since : 1.2


gst_mpeg_video_quant_matrix_get_zigzag_from_raster

void 
gst_mpeg_video_quant_matrix_get_zigzag_from_raster (guint8 [64]  out_quant,
                                                    const guint8 [64]  quant)

Converts quantization matrix quant from raster scan order to zigzag scan order and store the resulting factors into out_quant.

Note: it is an error to pass the same table in both quant and out_quant arguments.

Parameters:

out_quant

The resulting quantization matrix

quant

The source quantization matrix

Returns (void )
No description available

Since : 1.2


Structures

GstMpegVideoGop

struct _GstMpegVideoGop
{
  guint8 drop_frame_flag;

  guint8 hour, minute, second, frame;

  guint8 closed_gop;
  guint8 broken_link;
};

The Mpeg Video Group of Picture structure.

Fields

drop_frame_flag (guint8) –

Drop Frame Flag

hour (guint8) –

Hour (0-23)

minute (guint8) –

Minute (O-59)

second (guint8) –

Second (0-59)

frame (guint8) –

Frame (0-59)

closed_gop (guint8) –

Closed Gop

broken_link (guint8) –

Broken link


GstMpegVideoPacket

struct _GstMpegVideoPacket
{
  const guint8 *data;
  guint8 type;
  guint  offset;
  gint   size;
};

A structure that contains the type of a packet, its offset and its size

Fields

data (const guint8 *) –

the data containing the packet starting at offset

type (guint8) –

the type of the packet that start at offset, as a GstMpegVideoPacketTypeCode

offset (guint) –

the offset of the packet start in bytes from data. This is the start of the packet itself without the sync code

size (gint) –

The size in bytes of the packet or -1 if the end wasn't found. This is the size of the packet itself without the sync code


GstMpegVideoPictureExt

struct _GstMpegVideoPictureExt
{
  guint8 f_code[2][2];

  guint8 intra_dc_precision;
  guint8 picture_structure;
  guint8 top_field_first;
  guint8 frame_pred_frame_dct;
  guint8 concealment_motion_vectors;
  guint8 q_scale_type;
  guint8 intra_vlc_format;
  guint8 alternate_scan;
  guint8 repeat_first_field;
  guint8 chroma_420_type;
  guint8 progressive_frame;
  guint8 composite_display;
  guint8 v_axis;
  guint8 field_sequence;
  guint8 sub_carrier;
  guint8 burst_amplitude;
  guint8 sub_carrier_phase;
};

The Mpeg2 Video Picture Extension structure.

Fields

f_code (guint8 [2][2] ) –
No description available
intra_dc_precision (guint8) –

Intra DC precision

picture_structure (guint8) –

Structure of the picture

top_field_first (guint8) –

Top field first

frame_pred_frame_dct (guint8) –

Frame

concealment_motion_vectors (guint8) –

Concealment Motion Vectors

q_scale_type (guint8) –

Q Scale Type

intra_vlc_format (guint8) –

Intra Vlc Format

alternate_scan (guint8) –

Alternate Scan

repeat_first_field (guint8) –

Repeat First Field

chroma_420_type (guint8) –

Chroma 420 Type

progressive_frame (guint8) –

TRUE if the frame is progressive FALSE otherwise

composite_display (guint8) –
No description available
v_axis (guint8) –
No description available
field_sequence (guint8) –
No description available
sub_carrier (guint8) –
No description available
burst_amplitude (guint8) –
No description available
sub_carrier_phase (guint8) –
No description available

GstMpegVideoPictureHdr

struct _GstMpegVideoPictureHdr
{
  guint16 tsn;
  guint8 pic_type;
  guint16 vbv_delay;

  guint8 full_pel_forward_vector, full_pel_backward_vector;

  guint8 f_code[2][2];
};

The Mpeg2 Video Picture Header structure.

Fields

tsn (guint16) –

Temporal Sequence Number

pic_type (guint8) –

Type of the frame

vbv_delay (guint16) –
No description available
full_pel_forward_vector (guint8) –

the full pel forward flag of the frame: 0 or 1.

full_pel_backward_vector (guint8) –

the full pel backward flag of the frame: 0 or 1.

f_code (guint8 [2][2] ) –

F code


GstMpegVideoQuantMatrixExt

struct _GstMpegVideoQuantMatrixExt
{
 guint8 load_intra_quantiser_matrix;
 guint8 intra_quantiser_matrix[64];
 guint8 load_non_intra_quantiser_matrix;
 guint8 non_intra_quantiser_matrix[64];
 guint8 load_chroma_intra_quantiser_matrix;
 guint8 chroma_intra_quantiser_matrix[64];
 guint8 load_chroma_non_intra_quantiser_matrix;
 guint8 chroma_non_intra_quantiser_matrix[64];
};

The Quant Matrix Extension structure that exposes quantization matrices in zigzag scan order. i.e. the original encoded scan order.

Fields

load_intra_quantiser_matrix (guint8) –
No description available
intra_quantiser_matrix (guint8 [64] ) –
No description available
load_non_intra_quantiser_matrix (guint8) –
No description available
non_intra_quantiser_matrix (guint8 [64] ) –
No description available
load_chroma_intra_quantiser_matrix (guint8) –
No description available
chroma_intra_quantiser_matrix (guint8 [64] ) –
No description available
load_chroma_non_intra_quantiser_matrix (guint8) –
No description available
chroma_non_intra_quantiser_matrix (guint8 [64] ) –
No description available

GstMpegVideoSequenceDisplayExt

struct _GstMpegVideoSequenceDisplayExt
{
  guint8 video_format;
  guint8 colour_description_flag;

  /* if colour_description_flag: */
    guint8 colour_primaries;
    guint8 transfer_characteristics;
    guint8 matrix_coefficients;

  guint16 display_horizontal_size;
  guint16 display_vertical_size;
};

Fields

video_format (guint8) –

3-bit video_format field indicating PAL/NTSC etc.

colour_description_flag (guint8) –

TRUE if colour information was provided

colour_primaries (guint8) –

Valid if colour_description_flag is set

transfer_characteristics (guint8) –

Valid if colour_description_flag is set

matrix_coefficients (guint8) –

Valid if colour_description_flag is set

display_horizontal_size (guint16) –

width of decoded frame sub-region to display

display_vertical_size (guint16) –

height of decoded frame sub-region to display


GstMpegVideoSequenceExt

struct _GstMpegVideoSequenceExt
{
  /* mpeg2 decoder profile */
  guint8 profile;
  /* mpeg2 decoder level */
  guint8 level;

  guint8 progressive;
  guint8 chroma_format;

  guint8 horiz_size_ext, vert_size_ext;

  guint16 bitrate_ext;
  guint8 vbv_buffer_size_extension;
  guint8 low_delay;
  guint8 fps_n_ext, fps_d_ext;

  /* Additional information */
  guint8 profile_level_escape_bit;
};

The Mpeg2 Video Sequence Extension structure.

Fields

profile (guint8) –

mpeg2 decoder profile

level (guint8) –

mpeg2 decoder level

progressive (guint8) –

TRUE if the frames are progressive FALSE otherwise

chroma_format (guint8) –

indicates the chrominance format

horiz_size_ext (guint8) –

Horizontal size

vert_size_ext (guint8) –

Vertical size

bitrate_ext (guint16) –

The bitrate

vbv_buffer_size_extension (guint8) –

VBV buffer size

low_delay (guint8) –

TRUE if the sequence doesn't contain any B-pictures, FALSE otherwise

fps_n_ext (guint8) –

Framerate nominator code

fps_d_ext (guint8) –

Framerate denominator code

profile_level_escape_bit (guint8) –

Escape bit. If set, the meaning of the profile and level fields is different.


GstMpegVideoSequenceHdr

struct _GstMpegVideoSequenceHdr
{
  guint16 width, height;
  guint8  aspect_ratio_info;
  guint8  frame_rate_code;
  guint32 bitrate_value;
  guint16 vbv_buffer_size_value;

  guint8  constrained_parameters_flag;

  guint8  load_intra_quantiser_matrix;
  guint8  intra_quantizer_matrix[64];
  guint8  load_non_intra_quantiser_matrix;
  guint8  non_intra_quantizer_matrix[64];

  /* Calculated values */
  guint   par_w, par_h;
  guint   fps_n, fps_d;
  guint   bitrate;
};

The Mpeg2 Video Sequence Header structure.

Fields

width (guint16) –

Width of each frame

height (guint16) –

Height of each frame

aspect_ratio_info (guint8) –
No description available
frame_rate_code (guint8) –
No description available
bitrate_value (guint32) –

Value of the bitrate as is in the stream (400bps unit)

vbv_buffer_size_value (guint16) –
No description available
constrained_parameters_flag (guint8) –

TRUE if this stream uses constrained parameters.

load_intra_quantiser_matrix (guint8) –

TRUE indicates the presence of intra_quantiser_matrix

intra_quantizer_matrix (guint8 [64] ) –

intra-quantization table, in zigzag scan order

load_non_intra_quantiser_matrix (guint8) –

TRUE indicates the presence of non_intra_quantiser_matrix

non_intra_quantizer_matrix (guint8 [64] ) –

non-intra quantization table, in zigzag scan order

par_w (guint) –

Calculated Pixel Aspect Ratio width

par_h (guint) –

Calculated Pixel Aspect Ratio height

fps_n (guint) –

Calculated Framrate nominator

fps_d (guint) –

Calculated Framerate denominator

bitrate (guint) –

the real bitrate of the Mpeg video stream in bits per second, 0 if VBR stream


GstMpegVideoSequenceScalableExt

struct _GstMpegVideoSequenceScalableExt
{
  guint8 scalable_mode;
  guint8 layer_id;

  /* if spatial scalability */
  guint16 lower_layer_prediction_horizontal_size;
  guint16 lower_layer_prediction_vertical_size;
  guint8 horizontal_subsampling_factor_m;
  guint8 horizontal_subsampling_factor_n;
  guint8 vertical_subsampling_factor_m;
  guint8 vertical_subsampling_factor_n;

  /* if temporal scalability */
  guint8 picture_mux_enable;
  guint8 mux_to_progressive_sequence;
  guint8 picture_mux_order;
  guint8 picture_mux_factor;
};

The Sequence Scalable Extension structure.

Fields

scalable_mode (guint8) –
No description available
layer_id (guint8) –
No description available
lower_layer_prediction_horizontal_size (guint16) –
No description available
lower_layer_prediction_vertical_size (guint16) –
No description available
horizontal_subsampling_factor_m (guint8) –
No description available
horizontal_subsampling_factor_n (guint8) –
No description available
vertical_subsampling_factor_m (guint8) –
No description available
vertical_subsampling_factor_n (guint8) –
No description available
picture_mux_enable (guint8) –
No description available
mux_to_progressive_sequence (guint8) –
No description available
picture_mux_order (guint8) –
No description available
picture_mux_factor (guint8) –
No description available

Since : 1.2


GstMpegVideoSliceHdr

struct _GstMpegVideoSliceHdr
{
  guint8 vertical_position;
  guint8 vertical_position_ext;

  guint8 priority_breakpoint;
  guint8 quantiser_scale_code;
  guint8 slice_ext_flag;
  guint8 intra_slice;
  guint8 slice_picture_id_enable;
  guint8 slice_picture_id;

  /* Calculated values */
  guint header_size;            /* slice_header size in bits */
  gint mb_row;                  /* macroblock row */
  gint mb_column;               /* macroblock column */
};

The Mpeg2 Video Slice Header structure.

Fields

vertical_position (guint8) –

slice vertical position

vertical_position_ext (guint8) –
No description available
priority_breakpoint (guint8) –

Point where the bitstream shall be partitioned

quantiser_scale_code (guint8) –

Quantiser value (range: 1-31)

slice_ext_flag (guint8) –

Slice Extension flag

intra_slice (guint8) –

Equal to one if all the macroblocks are intra macro blocks.

slice_picture_id_enable (guint8) –

controls the semantics of slice_picture_id

slice_picture_id (guint8) –

Intended to aid recovery on severe bursts of errors for certain types of applications

header_size (guint) –
No description available
mb_row (gint) –
No description available
mb_column (gint) –
No description available

Since : 1.2


Enumerations

GstMpegVideoChromaFormat

typedef enum {
  GST_MPEG_VIDEO_CHROMA_RES = 0x00,
  GST_MPEG_VIDEO_CHROMA_420 = 0x01,
  GST_MPEG_VIDEO_CHROMA_422 = 0x02,
  GST_MPEG_VIDEO_CHROMA_444 = 0x03,
} GstMpegVideoChromaFormat;

Chroma subsampling type.

Members

GST_MPEG_VIDEO_CHROMA_RES (0) –

Invalid (reserved for future use)

GST_MPEG_VIDEO_CHROMA_420 (1) –

4:2:0 subsampling

GST_MPEG_VIDEO_CHROMA_422 (2) –

4:2:2 subsampling

GST_MPEG_VIDEO_CHROMA_444 (3) –

4:4:4 (non-subsampled)


GstMpegVideoLevel

typedef enum {
 GST_MPEG_VIDEO_LEVEL_HIGH_P    = 0x02,
 GST_MPEG_VIDEO_LEVEL_HIGH      = 0x04,
 GST_MPEG_VIDEO_LEVEL_HIGH_1440 = 0x06,
 GST_MPEG_VIDEO_LEVEL_MAIN      = 0x08,
 GST_MPEG_VIDEO_LEVEL_LOW       = 0x0a
} GstMpegVideoLevel;

Mpeg-2 Levels.

Members

GST_MPEG_VIDEO_LEVEL_HIGH_P (2) –

High-P level (HL Progressive)

GST_MPEG_VIDEO_LEVEL_HIGH (4) –

High level (HL)

GST_MPEG_VIDEO_LEVEL_HIGH_1440 (6) –

High 1440 level (H-14)

GST_MPEG_VIDEO_LEVEL_MAIN (8) –

Main level (ML)

GST_MPEG_VIDEO_LEVEL_LOW (10) –

Low level (LL)


GstMpegVideoPacketExtensionCode

typedef enum {
  GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE          = 0x01,
  GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_DISPLAY  = 0x02,
  GST_MPEG_VIDEO_PACKET_EXT_QUANT_MATRIX      = 0x03,
  GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_SCALABLE = 0x05,
  GST_MPEG_VIDEO_PACKET_EXT_PICTURE           = 0x08
} GstMpegVideoPacketExtensionCode;

Indicates what type of packets are in this block, some are mutually exclusive though - ie, sequence packs are accumulated separately. GOP & Picture may occur together or separately.

Members

GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE (1) –

Sequence extension code

GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_DISPLAY (2) –

Sequence Display extension code

GST_MPEG_VIDEO_PACKET_EXT_QUANT_MATRIX (3) –

Quantization Matrix extension code

GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_SCALABLE (5) –

Sequence Scalable extension code

GST_MPEG_VIDEO_PACKET_EXT_PICTURE (8) –

Picture coding extension


GstMpegVideoPacketTypeCode

typedef enum {
  GST_MPEG_VIDEO_PACKET_PICTURE      = 0x00,
  GST_MPEG_VIDEO_PACKET_SLICE_MIN    = 0x01,
  GST_MPEG_VIDEO_PACKET_SLICE_MAX    = 0xaf,
  GST_MPEG_VIDEO_PACKET_USER_DATA    = 0xb2,
  GST_MPEG_VIDEO_PACKET_SEQUENCE     = 0xb3,
  GST_MPEG_VIDEO_PACKET_EXTENSION    = 0xb5,
  GST_MPEG_VIDEO_PACKET_SEQUENCE_END = 0xb7,
  GST_MPEG_VIDEO_PACKET_GOP          = 0xb8,
  GST_MPEG_VIDEO_PACKET_NONE         = 0xff
} GstMpegVideoPacketTypeCode;

Indicates the type of MPEG packet

Members

GST_MPEG_VIDEO_PACKET_PICTURE (0) –

Picture packet starting code

GST_MPEG_VIDEO_PACKET_SLICE_MIN (1) –

Slice min packet starting code

GST_MPEG_VIDEO_PACKET_SLICE_MAX (175) –

Slice max packet starting code

GST_MPEG_VIDEO_PACKET_USER_DATA (178) –

User data packet starting code

GST_MPEG_VIDEO_PACKET_SEQUENCE (179) –

Sequence packet starting code

GST_MPEG_VIDEO_PACKET_EXTENSION (181) –

Extension packet starting code

GST_MPEG_VIDEO_PACKET_SEQUENCE_END (183) –

Sequence end packet code

GST_MPEG_VIDEO_PACKET_GOP (184) –

Group of Picture packet starting code

GST_MPEG_VIDEO_PACKET_NONE (255) –

None packet code


GstMpegVideoPictureStructure

typedef enum {
    GST_MPEG_VIDEO_PICTURE_STRUCTURE_TOP_FIELD    = 0x01,
    GST_MPEG_VIDEO_PICTURE_STRUCTURE_BOTTOM_FIELD = 0x02,
    GST_MPEG_VIDEO_PICTURE_STRUCTURE_FRAME        = 0x03
} GstMpegVideoPictureStructure;

Picture structure type.

Members

GST_MPEG_VIDEO_PICTURE_STRUCTURE_TOP_FIELD (1) –

Top field

GST_MPEG_VIDEO_PICTURE_STRUCTURE_BOTTOM_FIELD (2) –

Bottom field

GST_MPEG_VIDEO_PICTURE_STRUCTURE_FRAME (3) –

Frame picture


GstMpegVideoPictureType

typedef enum {
  GST_MPEG_VIDEO_PICTURE_TYPE_I = 0x01,
  GST_MPEG_VIDEO_PICTURE_TYPE_P = 0x02,
  GST_MPEG_VIDEO_PICTURE_TYPE_B = 0x03,
  GST_MPEG_VIDEO_PICTURE_TYPE_D = 0x04
} GstMpegVideoPictureType;

Picture type.

Members

GST_MPEG_VIDEO_PICTURE_TYPE_I (1) –

Intra-coded (I) frame

GST_MPEG_VIDEO_PICTURE_TYPE_P (2) –

Predictive-codec (P) frame

GST_MPEG_VIDEO_PICTURE_TYPE_B (3) –

Bidirectionally predictive-coded (B) frame

GST_MPEG_VIDEO_PICTURE_TYPE_D (4) –

D frame


GstMpegVideoProfile

typedef enum {
  GST_MPEG_VIDEO_PROFILE_422                 = 0x00,
  GST_MPEG_VIDEO_PROFILE_HIGH                = 0x01,
  GST_MPEG_VIDEO_PROFILE_SPATIALLY_SCALABLE  = 0x02,
  GST_MPEG_VIDEO_PROFILE_SNR_SCALABLE        = 0x03,
  GST_MPEG_VIDEO_PROFILE_MAIN                = 0x04,
  GST_MPEG_VIDEO_PROFILE_SIMPLE              = 0x05
} GstMpegVideoProfile;

Mpeg-2 Profiles.

Members

GST_MPEG_VIDEO_PROFILE_422 (0) –

4:2:2 profile (422)

GST_MPEG_VIDEO_PROFILE_HIGH (1) –

High profile (HP)

GST_MPEG_VIDEO_PROFILE_SPATIALLY_SCALABLE (2) –

Spatially Scalable profile (Spatial)

GST_MPEG_VIDEO_PROFILE_SNR_SCALABLE (3) –

SNR Scalable profile (SNR)

GST_MPEG_VIDEO_PROFILE_MAIN (4) –

Main profile (MP)

GST_MPEG_VIDEO_PROFILE_SIMPLE (5) –

Simple profile (SP)


GstMpegVideoSequenceScalableMode

typedef enum {
  GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_DATA_PARTITIONING  = 0x00,
  GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_SPATIAL            = 0x01,
  GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_SNR                = 0x02,
  GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_TEMPORAL           = 0x03
} GstMpegVideoSequenceScalableMode;

Members

GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_DATA_PARTITIONING (0) –

Data partitioning

GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_SPATIAL (1) –

Spatial Scalability

GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_SNR (2) –

SNR Scalability

GST_MPEG_VIDEO_SEQ_SCALABLE_MODE_TEMPORAL (3) –

Temporal Scalability


The results of the search are