FFmpeg: libavcodec/cbs_mpeg2.h Source File
Go to the documentation of this file. 1 /*
2 * This file is part of FFmpeg.
3 *
4 * FFmpeg 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 * FFmpeg 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 FFmpeg; 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_CBS_MPEG2_H
20 #define AVCODEC_CBS_MPEG2_H
21
22 #include <stddef.h>
23 #include <stdint.h>
24
26
27
28 enum {
38 };
39
40 #define MPEG2_START_IS_SLICE(type) \
41 ((type) >= MPEG2_START_SLICE_MIN && \
42 (type) <= MPEG2_START_SLICE_MAX)
43
44 enum {
56 };
57
58
61
69
75
78
83
96
99
104
108
111
116
122
125
129
134
137
140
152
160
171
176
180
181 union {
189
192
195
197
202
205
208
214
218
219
221 // Elements stored in headers which are required for other decoding.
229
230
231 #endif /* AVCODEC_CBS_MPEG2_H */
@ MPEG2_EXTENSION_PICTURE_DISPLAY
@ MPEG2_EXTENSION_SEQUENCE_SCALABLE
uint8_t user_data_start_code
@ MPEG2_EXTENSION_QUANT_MATRIX
MPEG2RawSequenceDisplayExtension sequence_display
@ MPEG2_EXTENSION_PICTURE_SPATIAL_SCALABLE
uint8_t vbv_buffer_size_extension
uint8_t vertical_size_extension
uint16_t display_horizontal_size
@ MPEG2_START_SEQUENCE_HEADER
uint8_t frame_pred_frame_dct
uint8_t extension_start_code
uint8_t concealment_motion_vectors
uint8_t colour_description
uint8_t composite_display_flag
uint8_t intra_quantiser_matrix[64]
MPEG2RawSliceHeader header
int16_t frame_centre_horizontal_offset[3]
int16_t frame_centre_vertical_offset[3]
@ MPEG2_START_SEQUENCE_ERROR
uint8_t horizontal_size_extension
uint8_t sequence_end_code
uint8_t repeat_first_field
union MPEG2RawExtensionData::@42 data
uint16_t bit_rate_extension
AVBufferRef * user_data_ref
uint8_t non_intra_quantiser_matrix[64]
@ MPEG2_EXTENSION_SEQUENCE
uint8_t load_chroma_non_intra_quantiser_matrix
uint8_t load_non_intra_quantiser_matrix
uint8_t matrix_coefficients
MPEG2RawSequenceExtension sequence
uint8_t number_of_frame_centre_offsets
MPEG2RawPictureDisplayExtension picture_display
uint8_t extension_start_code_identifier
@ MPEG2_EXTENSION_CAMERA_PARAMETERS
@ MPEG2_EXTENSION_PICTURE_TEMPORAL_SCALABLE
@ MPEG2_EXTENSION_SEQUENCE_DISPLAY
@ MPEG2_EXTENSION_PICTURE_CODING
uint8_t chroma_intra_quantiser_matrix[64]
uint8_t load_chroma_intra_quantiser_matrix
uint8_t progressive_sequence
uint8_t profile_and_level_indication
uint8_t progressive_sequence
uint8_t load_intra_quantiser_matrix
uint8_t chroma_non_intra_quantiser_matrix[64]
uint8_t transfer_characteristics
@ MPEG2_START_SEQUENCE_END
MPEG2RawPictureCodingExtension picture_coding
@ MPEG2_EXTENSION_COPYRIGHT
uint8_t picture_structure
uint16_t display_vertical_size
MPEG2RawQuantMatrixExtension quant_matrix
A reference to a data buffer.
uint8_t intra_dc_precision
uint8_t frame_rate_extension_n
uint8_t frame_rate_extension_d
uint8_t sub_carrier_phase
uint8_t progressive_frame
Generated on Tue Feb 28 2023 21:33:10 for FFmpeg by
doxygen
1.8.17