46 const uint8_t *buf,
int len, uint16_t seq,
49 int config_packet, start_packet, end_packet;
54 config_packet = buf[0] & 0x40;
55 start_packet = buf[0] & 0x20;
56 end_packet = buf[0] & 0x10;
110 .enc_name =
"X-SV3V-ES",
static av_cold void close(AVCodecParserContext *s)
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
int avio_open_dyn_buf(AVIOContext **s)
Open a write only memory stream.
void ffio_free_dyn_buf(AVIOContext **s)
Free a dynamic buffer.
#define flags(name, subs,...)
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
int ff_rtp_finalize_packet(AVPacket *pkt, AVIOContext **dyn_buf, int stream_idx)
Close the dynamic buffer and make a packet from it.
static int svq3_parse_packet(AVFormatContext *s, PayloadContext *sv, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
return 0 on packet, <0 on partial packet or error...
static void svq3_close_context(PayloadContext *sv)
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
This structure stores compressed data.
AVCodecParameters * codecpar
Codec parameters associated with this stream.
int index
stream index in AVFormatContext
RTP/AV1 specific private data.
uint32_t timestamp
last received timestamp for frame