Libav
Data Structures | Enumerations | Functions
h264_sei.h File Reference
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  H264SEIPictureTiming
 
struct  H264SEIAFD
 
struct  H264SEIA53Caption
 
struct  H264SEIUnregistered
 
struct  H264SEIRecoveryPoint
 
struct  H264SEIBufferingPeriod
 
struct  H264SEIFramePacking
 
struct  H264SEIDisplayOrientation
 
struct  H264SEIContext
 

Enumerations

enum  SEI_Type {
  SEI_TYPE_BUFFERING_PERIOD = 0, SEI_TYPE_PIC_TIMING = 1, SEI_TYPE_USER_DATA_REGISTERED = 4, SEI_TYPE_USER_DATA_UNREGISTERED = 5,
  SEI_TYPE_RECOVERY_POINT = 6, SEI_TYPE_FRAME_PACKING = 45, SEI_TYPE_DISPLAY_ORIENTATION = 47
}
 SEI message types. More...
 
enum  SEI_PicStructType {
  SEI_PIC_STRUCT_FRAME = 0, SEI_PIC_STRUCT_TOP_FIELD = 1, SEI_PIC_STRUCT_BOTTOM_FIELD = 2, SEI_PIC_STRUCT_TOP_BOTTOM = 3,
  SEI_PIC_STRUCT_BOTTOM_TOP = 4, SEI_PIC_STRUCT_TOP_BOTTOM_TOP = 5, SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM = 6, SEI_PIC_STRUCT_FRAME_DOUBLING = 7,
  SEI_PIC_STRUCT_FRAME_TRIPLING = 8
}
 pic_struct in picture timing SEI message More...
 

Functions

int ff_h264_sei_decode (H264SEIContext *h, GetBitContext *gb, const struct H264ParamSets *ps, void *logctx)
 
void ff_h264_sei_uninit (H264SEIContext *h)
 Reset SEI values at the beginning of the frame. More...
 

Enumeration Type Documentation

◆ SEI_Type

enum SEI_Type

SEI message types.

Enumerator
SEI_TYPE_BUFFERING_PERIOD 

buffering period (H.264, D.1.1)

SEI_TYPE_PIC_TIMING 

picture timing

SEI_TYPE_USER_DATA_REGISTERED 

registered user data as specified by Rec. ITU-T T.35

SEI_TYPE_USER_DATA_UNREGISTERED 

unregistered user data

SEI_TYPE_RECOVERY_POINT 

recovery point (frame # to decoder sync)

SEI_TYPE_FRAME_PACKING 

frame packing arrangement

SEI_TYPE_DISPLAY_ORIENTATION 

display orientation

Definition at line 27 of file h264_sei.h.

◆ SEI_PicStructType

pic_struct in picture timing SEI message

Enumerator
SEI_PIC_STRUCT_FRAME 

0: frame

SEI_PIC_STRUCT_TOP_FIELD 

1: top field

SEI_PIC_STRUCT_BOTTOM_FIELD 

2: bottom field

SEI_PIC_STRUCT_TOP_BOTTOM 

3: top field, bottom field, in that order

SEI_PIC_STRUCT_BOTTOM_TOP 

4: bottom field, top field, in that order

SEI_PIC_STRUCT_TOP_BOTTOM_TOP 

5: top field, bottom field, top field repeated, in that order

SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM 

6: bottom field, top field, bottom field repeated, in that order

SEI_PIC_STRUCT_FRAME_DOUBLING 

7: frame doubling

SEI_PIC_STRUCT_FRAME_TRIPLING 

8: frame tripling

Definition at line 40 of file h264_sei.h.

Function Documentation

◆ ff_h264_sei_decode()

int ff_h264_sei_decode ( H264SEIContext h,
GetBitContext gb,
const struct H264ParamSets ps,
void logctx 
)

◆ ff_h264_sei_uninit()

void ff_h264_sei_uninit ( H264SEIContext h)

Reset SEI values at the beginning of the frame.

Definition at line 39 of file h264_sei.c.

Referenced by decode_nal_units(), flush_dpb(), h264_close(), h264_init_context(), and parse_nal_units().