Go to the documentation of this file.
46 int bits_per_sample = 0;
49 if (!strncmp(
data->sampling,
"YCbCr-4:2:2", 11)) {
53 if (
data->depth == 8) {
57 }
else if (
data->depth == 10) {
80 if (!strncmp(attr,
"width", 5))
82 else if (!strncmp(attr,
"height", 6))
84 else if (!strncmp(attr,
"sampling", 8))
86 else if (!strncmp(attr,
"depth", 5))
142 uint16_t seq,
int flags)
147 int payload_len =
len - 2;
148 int missed_last_packet = 0;
152 if (*timestamp !=
data->timestamp) {
162 missed_last_packet = 1;
168 data->timestamp = *timestamp;
184 cont = payload[4] & 0x80;
193 if (payload_len < data->pgroup)
213 dest =
data->frame + copy_offset;
214 memcpy(dest, payload,
length);
222 }
else if (missed_last_packet) {
static int rfc4175_finalize_packet(PayloadContext *data, AVPacket *pkt, int stream_index)
AVPixelFormat
Pixel format.
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 int rfc4175_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
#define MKTAG(a, b, c, d)
int ff_parse_fmtp(AVFormatContext *s, AVStream *stream, PayloadContext *data, const char *p, int(*parse_fmtp)(AVFormatContext *s, AVStream *stream, PayloadContext *data, const char *attr, const char *value))
#define RTP_FLAG_MARKER
RTP marker bit was set for this packet.
uint32_t codec_tag
Additional information about the codec (corresponds to the AVI FOURCC).
uint32_t timestamp
current frame timestamp
static int rfc4175_parse_fmtp(AVFormatContext *s, AVStream *stream, PayloadContext *data, const char *attr, const char *value)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
const RTPDynamicProtocolHandler ff_rfc4175_rtp_handler
AVCodecParameters * codecpar
Codec parameters associated with this stream.
#define AV_PIX_FMT_YUV422P10
int av_packet_from_data(AVPacket *pkt, uint8_t *data, int size)
Initialize a reference-counted packet from av_malloc()ed data.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf offset
int av_strstart(const char *str, const char *pfx, const char **ptr)
Return non-zero if pfx is a prefix of str.
static int rfc4175_parse_format(AVStream *stream, PayloadContext *data)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
FFmpeg currently uses a custom build this text attempts to document some of its obscure features and options Makefile the full command issued by make and its output will be shown on the screen DBG Preprocess x86 external assembler files to a dbg asm file in the object which then gets compiled Helps in developing those assembler files DESTDIR Destination directory for the install useful to prepare packages or install FFmpeg in cross environments GEN Set to ‘1’ to generate the missing or mismatched references Makefile builds all the libraries and the executables fate Run the fate test note that you must have installed it fate list List all fate regression test targets install Install headers
enum AVPixelFormat pixfmt
@ AV_PIX_FMT_UYVY422
packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
int index
stream index in AVFormatContext
char * av_strdup(const char *s)
Duplicate a string.
int bits_per_coded_sample
The number of bits per sample in the codedwords.
This structure stores compressed data.
#define flags(name, subs,...)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index, PayloadContext *data, const char *line)
RTP/JPEG specific private data.
The official guide to swscale for confused that consecutive non overlapping rectangles of slice_bottom special converter These generally are unscaled converters of common like for each output line the vertical scaler pulls lines from a ring buffer When the ring buffer does not contain the wanted line