101 #define RAW_PACKET_SIZE 1024
172 #define OFFSET(x) offsetof(FFRawVideoDemuxerContext, x)
173 #define DEC AV_OPT_FLAG_DECODING_PARAM
179 #if CONFIG_G722_DEMUXER
186 .extensions =
"g722,722",
191 #if CONFIG_LATM_DEMUXER
198 .extensions =
"latm",
203 #if CONFIG_MJPEG_DEMUXER
207 #if CONFIG_MLP_DEMUXER
219 #if CONFIG_TRUEHD_DEMUXER
231 #if CONFIG_SHORTEN_DEMUXER
243 #if CONFIG_VC1_DEMUXER
enum PixelFormat pix_fmt
Pixel format, see PIX_FMT_xxx.
char * framerate
String describing framerate, set by a private option.
int av_parse_video_rate(AVRational *rate, const char *arg)
Parse str and store the detected values in *rate.
int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str)
Parse str and put in width_ptr and height_ptr the detected values.
int64_t pos
byte position in stream, -1 if unknown
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
char * video_size
String describing video size, set by a private option.
int block_align
number of bytes per packet if constant and known or 0 Used by some WAV based audio codecs...
enum AVStreamParseType need_parsing
void av_free_packet(AVPacket *pkt)
Free a packet.
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
int bits_per_coded_sample
bits per sample/pixel from the demuxer (needed for huffyuv).
int av_get_bits_per_sample(enum CodecID codec_id)
Return codec bits per sample.
#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.
char * pixel_format
Set by a private option.
AVCodecContext * codec
codec context
int width
picture width / height.
enum AVMediaType codec_type
int sample_rate
samples per second
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
rational number numerator/denominator
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.
CodecID
Identify the syntax and semantics of the bitstream.
int channels
number of audio channels
void * priv_data
Format private data.
AVRational r_frame_rate
Real base framerate of the stream.
enum PixelFormat av_get_pix_fmt(const char *name)
Return the pixel format corresponding to name.