130 if (
frame_info->color_description_present_flag) {
189 if (
frame_info->color_description_present_flag) {
262 ret = ff_lavf_cbs_read(apvc->
cbc, &apvc->
frag,
pkt->buf,
pkt->data,
pkt->size);
304 frame_info.color_description_present_flag =
header->color_description_present_flag;
305 if (
frame_info.color_description_present_flag) {
347 ff_lavf_cbs_fragment_reset(&apvc->
frag);
386 ff_lavf_cbs_fragment_free(&apvc->
frag);
387 ff_lavf_cbs_close(&apvc->
cbc);
static void bit_depth(AudioStatsContext *s, const uint64_t *const mask, uint8_t *depth)
static const CodedBitstreamUnitType decompose_unit_types[]
simple assert() macros that are a bit more flexible than ISO C assert().
#define av_assert0(cond)
assert() equivalent, that is always enabled.
void avio_w8(AVIOContext *s, int b)
void avio_wb32(AVIOContext *s, unsigned int val)
static int FUNC frame_info(CodedBitstreamContext *ctx, RWContext *rw, APVRawFrameInfo *current)
#define i(width, name, range_min, range_max)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AV_LOG_TRACE
Extremely verbose debugging, useful for libav* development.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
void * av_realloc_array(void *ptr, size_t nmemb, size_t size)
@ APV_PBU_NON_PRIMARY_FRAME
uint32_t CodedBitstreamUnitType
The codec-specific type of a bitstream unit.
Memory handling functions.
static const uint8_t header[24]
#define FF_ARRAY_ELEMS(a)
APVDecoderFrameInfo * frame_info
uint8_t number_of_frame_info
APVDecoderConfigurationEntry * configuration_entry
uint8_t configurationVersion
CodedBitstreamFragment frag
CodedBitstreamContext * cbc
uint8_t number_of_configuration_entry
uint8_t color_description_present_flag
uint8_t capture_time_distance
uint8_t chroma_format_idc
uint8_t matrix_coefficients
uint8_t capture_time_distance_ignored
uint8_t transfer_characteristics
uint8_t chroma_format_idc
uint8_t capture_time_distance
This structure stores compressed data.
Context structure for coded bitstream operations.
const CodedBitstreamUnitType * decompose_unit_types
Array of unit types which should be decomposed when reading.
int nb_decompose_unit_types
Length of the decompose_unit_types array.
Coded bitstream fragment structure, combining one or more units.
CodedBitstreamUnit * units
Pointer to an array of units of length nb_units_allocated.
int nb_units
Number of units in this fragment.
Coded bitstream unit structure.
void * content
Pointer to the decomposed form of this unit.
CodedBitstreamUnitType type
Codec-specific type of this unit.