31 #define RAW_PACKET_SIZE 1024
48 }
else if (ret < size) {
104 #define OFFSET(x) offsetof(FFRawVideoDemuxerContext, x)
105 #define DEC AV_OPT_FLAG_DECODING_PARAM
111 #if CONFIG_LATM_DEMUXER
118 .extensions =
"latm",
123 #if CONFIG_MJPEG_DEMUXER
127 #if CONFIG_MLP_DEMUXER
139 #if CONFIG_TRUEHD_DEMUXER
151 #if CONFIG_SHORTEN_DEMUXER
163 #if CONFIG_VC1_DEMUXER
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)
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 AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#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.
#define FF_INPUT_BUFFER_PADDING_SIZE
Required number of additionally allocated bytes at the end of the input bitstream for decoding...
enum AVMediaType codec_type
AVIOContext * pb
I/O context.
rational number numerator/denominator
int64_t start_time
Decoding: pts of the first frame of the stream, in stream time base.
struct AVInputFormat * iformat
The input container format.
void * priv_data
Format private data.
This structure stores compressed data.