Go to the documentation of this file.
33 const uint8_t *buf_ptr, uint64_t
size)
49 buf = *buf_ptr++ << 8;
60 uint8_t buf = *buf_ptr++;
76 av_log(logctx,
AV_LOG_TRACE,
"DOVI in dvcC/dvvC/dvwC box, version: %d.%d, profile: %d, level: %d, "
77 "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d, compression: %d\n",
115 "DOVI in %s box, version: %d.%d, profile: %d, level: %d, "
116 "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d, "
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
static void av_unused put_bits32(PutBitContext *s, uint32_t value)
Write exactly 32 bits into a bitstream.
static void init_put_bits(PutBitContext *s, uint8_t *buffer, int buffer_size)
Initialize the PutBitContext s.
static void put_bits(Jpeg2000EncoderContext *s, int val, int n)
put n times val bit
@ AV_PKT_DATA_DOVI_CONF
DOVI configuration ref: dolby-vision-bitstreams-within-the-iso-base-media-file-format-v2....
uint8_t dv_md_compression
#define AV_LOG_TRACE
Extremely verbose debugging, useful for libav* development.
void ff_isom_put_dvcc_dvvc(void *logctx, uint8_t out[ISOM_DVCC_DVVC_SIZE], const AVDOVIDecoderConfigurationRecord *dovi)
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
int nb_coded_side_data
Amount of entries in coded_side_data.
AVCodecParameters * codecpar
Codec parameters associated with this stream.
uint8_t dv_bl_signal_compatibility_id
AVPacketSideData * av_packet_side_data_add(AVPacketSideData **psd, int *pnb_sd, enum AVPacketSideDataType type, void *data, size_t size, int flags)
Wrap existing data as packet side data.
int ff_isom_parse_dvcc_dvvc(void *logctx, AVStream *st, const uint8_t *buf_ptr, uint64_t size)
AVPacketSideData * coded_side_data
Additional data associated with the entire stream.
#define ISOM_DVCC_DVVC_SIZE
static void flush_put_bits(PutBitContext *s)
Pad the end of the output stream with zeros.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.