31 #define RAW_PACKET_SIZE 1024
48 }
else if (ret < size) {
95 #if FF_API_R_FRAME_RATE
107 #define OFFSET(x) offsetof(FFRawVideoDemuxerContext, x)
108 #define DEC AV_OPT_FLAG_DECODING_PARAM
114 #if CONFIG_LATM_DEMUXER
121 .extensions =
"latm",
126 #if CONFIG_MJPEG_DEMUXER
130 #if CONFIG_MLP_DEMUXER
142 #if CONFIG_TRUEHD_DEMUXER
154 #if CONFIG_SHORTEN_DEMUXER
166 #if CONFIG_VC1_DEMUXER
#define AVFMT_NO_BYTE_SEEK
char * framerate
String describing framerate, set by a private option.
void av_free_packet(AVPacket *pkt)
Free a packet.
int av_parse_video_rate(AVRational *rate, const char *arg)
Parse str and store the detected values in *rate.
int64_t pos
byte position in stream, -1 if unknown
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
#define AVFMT_NOGENSEARCH
enum AVStreamParseType need_parsing
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
void av_log(void *avcl, int level, const char *fmt,...)
AVStream * avformat_new_stream(AVFormatContext *s, AVCodec *c)
Add a new stream to a media file.
int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
AVRational avg_frame_rate
Average framerate.
AVCodecContext * codec
Codec context associated with this stream.
enum AVMediaType codec_type
AVIOContext * pb
I/O context.
rational number numerator/denominator
#define AVFMT_NOBINSEARCH
#define FF_INPUT_BUFFER_PADDING_SIZE
int64_t start_time
Decoding: pts of the first frame of the stream, in stream time base.
struct AVInputFormat * iformat
Can only be iformat or oformat, not both at the same time.
void * priv_data
Format private data.
This structure stores compressed data.
#define AVFMT_GENERIC_INDEX