FFmpeg
Data Structures | Macros | Enumerations
cbs_mpeg2.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "libavutil/buffer.h"

Go to the source code of this file.

Data Structures

struct  MPEG2RawSequenceHeader
 
struct  MPEG2RawUserData
 
struct  MPEG2RawSequenceExtension
 
struct  MPEG2RawSequenceDisplayExtension
 
struct  MPEG2RawGroupOfPicturesHeader
 
struct  MPEG2RawExtraInformation
 
struct  MPEG2RawPictureHeader
 
struct  MPEG2RawPictureCodingExtension
 
struct  MPEG2RawQuantMatrixExtension
 
struct  MPEG2RawPictureDisplayExtension
 
struct  MPEG2RawExtensionData
 
struct  MPEG2RawSliceHeader
 
struct  MPEG2RawSlice
 
struct  MPEG2RawSequenceEnd
 
struct  CodedBitstreamMPEG2Context
 

Macros

#define MPEG2_START_IS_SLICE(type)
 

Enumerations

enum  {
  MPEG2_START_PICTURE = 0x00, MPEG2_START_SLICE_MIN = 0x01, MPEG2_START_SLICE_MAX = 0xaf, MPEG2_START_USER_DATA = 0xb2,
  MPEG2_START_SEQUENCE_HEADER = 0xb3, MPEG2_START_SEQUENCE_ERROR = 0xb4, MPEG2_START_EXTENSION = 0xb5, MPEG2_START_SEQUENCE_END = 0xb7,
  MPEG2_START_GROUP = 0xb8
}
 
enum  {
  MPEG2_EXTENSION_SEQUENCE = 0x1, MPEG2_EXTENSION_SEQUENCE_DISPLAY = 0x2, MPEG2_EXTENSION_QUANT_MATRIX = 0x3, MPEG2_EXTENSION_COPYRIGHT = 0x4,
  MPEG2_EXTENSION_SEQUENCE_SCALABLE = 0x5, MPEG2_EXTENSION_PICTURE_DISPLAY = 0x7, MPEG2_EXTENSION_PICTURE_CODING = 0x8, MPEG2_EXTENSION_PICTURE_SPATIAL_SCALABLE = 0x9,
  MPEG2_EXTENSION_PICTURE_TEMPORAL_SCALABLE = 0xa, MPEG2_EXTENSION_CAMERA_PARAMETERS = 0xb, MPEG2_EXTENSION_ITU_T = 0xc
}
 

Macro Definition Documentation

◆ MPEG2_START_IS_SLICE

#define MPEG2_START_IS_SLICE (   type)
Value:

Definition at line 40 of file cbs_mpeg2.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MPEG2_START_PICTURE 
MPEG2_START_SLICE_MIN 
MPEG2_START_SLICE_MAX 
MPEG2_START_USER_DATA 
MPEG2_START_SEQUENCE_HEADER 
MPEG2_START_SEQUENCE_ERROR 
MPEG2_START_EXTENSION 
MPEG2_START_SEQUENCE_END 
MPEG2_START_GROUP 

Definition at line 28 of file cbs_mpeg2.h.

◆ anonymous enum

anonymous enum
Enumerator
MPEG2_EXTENSION_SEQUENCE 
MPEG2_EXTENSION_SEQUENCE_DISPLAY 
MPEG2_EXTENSION_QUANT_MATRIX 
MPEG2_EXTENSION_COPYRIGHT 
MPEG2_EXTENSION_SEQUENCE_SCALABLE 
MPEG2_EXTENSION_PICTURE_DISPLAY 
MPEG2_EXTENSION_PICTURE_CODING 
MPEG2_EXTENSION_PICTURE_SPATIAL_SCALABLE 
MPEG2_EXTENSION_PICTURE_TEMPORAL_SCALABLE 
MPEG2_EXTENSION_CAMERA_PARAMETERS 
MPEG2_EXTENSION_ITU_T 

Definition at line 44 of file cbs_mpeg2.h.

type
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
Definition: writing_filters.txt:86
MPEG2_START_SLICE_MIN
@ MPEG2_START_SLICE_MIN
Definition: cbs_mpeg2.h:30
MPEG2_START_SLICE_MAX
@ MPEG2_START_SLICE_MAX
Definition: cbs_mpeg2.h:31