Go to the documentation of this file.
35 #define EXTENDED_SAR 255
39 int aspect_ratio_info_present_flag;
43 aspect_ratio_info_present_flag =
get_bits1(gb);
44 if (aspect_ratio_info_present_flag) {
45 uint8_t aspect_ratio_idc =
get_bits(gb, 8);
53 "Unknown SAR index: %u.\n", aspect_ratio_idc);
#define AV_LOG_WARNING
Something somehow does not look correct.
enum AVColorSpace matrix_coeffs
enum AVColorPrimaries colour_primaries
int video_full_range_flag
int video_signal_type_present_flag
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
int chroma_loc_info_present_flag
const char * av_color_space_name(enum AVColorSpace space)
int chroma_sample_loc_type_bottom_field
#define FF_ARRAY_ELEMS(a)
int chroma_sample_loc_type_top_field
int overscan_appropriate_flag
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
int overscan_info_present_flag
int colour_description_present_flag
@ AVCHROMA_LOC_LEFT
MPEG-2/4 4:2:0, H.264 default for 4:2:0.
Rational number (pair of numerator and denominator).
static unsigned int get_bits1(GetBitContext *s)
const char * av_color_primaries_name(enum AVColorPrimaries primaries)
enum AVColorTransferCharacteristic transfer_characteristics
enum AVChromaLocation chroma_location
@ AVCHROMA_LOC_UNSPECIFIED
const AVRational ff_h2645_pixel_aspect[]
void ff_h2645_decode_common_vui_params(GetBitContext *gb, H2645VUI *vui, void *logctx)
static int get_ue_golomb_31(GetBitContext *gb)
read unsigned exp golomb code, constraint to a max of 31.
const char * av_color_transfer_name(enum AVColorTransferCharacteristic transfer)