Libav
h264_sei.h
Go to the documentation of this file.
1 /*
2  * This file is part of Libav.
3  *
4  * Libav is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * Libav is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with Libav; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVCODEC_H264_SEI_H
20 #define AVCODEC_H264_SEI_H
21 
22 #include "get_bits.h"
23 
27 typedef enum {
35 } SEI_Type;
36 
40 typedef enum {
51 
52 typedef struct H264SEIPictureTiming {
54 
60  int ct_type;
61 
66 
72 
73 typedef struct H264SEIAFD {
74  int present;
76 } H264SEIAFD;
77 
78 typedef struct H264SEIA53Caption {
82 
83 typedef struct H264SEIUnregistered {
86 
87 typedef struct H264SEIRecoveryPoint {
97 
98 typedef struct H264SEIBufferingPeriod {
99  int present;
100  int initial_cpb_removal_delay[32];
102 
103 typedef struct H264SEIFramePacking {
104  int present;
109 
111  int present;
113  int hflip, vflip;
115 
116 typedef struct H264SEIContext {
126 
127 struct H264ParamSets;
128 
130  const struct H264ParamSets *ps, void *logctx);
131 
136 
137 #endif /* AVCODEC_H264_SEI_H */
int recovery_frame_cnt
recovery_frame_cnt
Definition: h264_sei.h:95
SEI_Type
SEI message types.
Definition: h264_sei.h:27
picture timing
Definition: h264_sei.h:29
display orientation
Definition: h264_sei.h:34
3: top field, bottom field, in that order
Definition: h264_sei.h:44
H264SEIDisplayOrientation display_orientation
Definition: h264_sei.h:124
8: frame tripling
Definition: h264_sei.h:49
uint8_t
SEI_PicStructType
pic_struct in picture timing SEI message
Definition: h264_sei.h:40
bitstream reader API header.
H264SEIAFD afd
Definition: h264_sei.h:118
7: frame doubling
Definition: h264_sei.h:48
int a53_caption_size
Definition: h264_sei.h:79
void ff_h264_sei_uninit(H264SEIContext *h)
Reset SEI values at the beginning of the frame.
Definition: h264_sei.c:39
int present
Buffering period SEI flag.
Definition: h264_sei.h:99
registered user data as specified by Rec. ITU-T T.35
Definition: h264_sei.h:30
H264SEIUnregistered unregistered
Definition: h264_sei.h:120
uint8_t active_format_description
Definition: h264_sei.h:75
recovery point (frame # to decoder sync)
Definition: h264_sei.h:32
int ct_type
Bit set of clock types for fields/frames in picture timing SEI message.
Definition: h264_sei.h:60
buffering period (H.264, D.1.1)
Definition: h264_sei.h:28
int cpb_removal_delay
cpb_removal_delay in picture timing SEI message, see H.264 C.1.2
Definition: h264_sei.h:70
uint8_t * a53_caption
Definition: h264_sei.h:80
2: bottom field
Definition: h264_sei.h:43
SEI_PicStructType pic_struct
Definition: h264_sei.h:53
H264SEIA53Caption a53_caption
Definition: h264_sei.h:119
5: top field, bottom field, top field repeated, in that order
Definition: h264_sei.h:46
int content_interpretation_type
Definition: h264_sei.h:106
H264SEIBufferingPeriod buffering_period
Definition: h264_sei.h:122
H264SEIPictureTiming picture_timing
Definition: h264_sei.h:117
H264SEIRecoveryPoint recovery_point
Definition: h264_sei.h:121
int ff_h264_sei_decode(H264SEIContext *h, GetBitContext *gb, const struct H264ParamSets *ps, void *logctx)
int dpb_output_delay
dpb_output_delay in picture timing SEI message, see H.264 C.2.2
Definition: h264_sei.h:65
H264SEIFramePacking frame_packing
Definition: h264_sei.h:123
unregistered user data
Definition: h264_sei.h:31
int present
Definition: h264_sei.h:74
4: bottom field, top field, in that order
Definition: h264_sei.h:45
frame packing arrangement
Definition: h264_sei.h:33
1: top field
Definition: h264_sei.h:42
6: bottom field, top field, bottom field repeated, in that order
Definition: h264_sei.h:47