27 #include "libavutil/intreadwrite.h"
30 #define RAND_TAG MKBETAG('R','a','n','d')
69 for (i = 0; i < 16; i++)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
AVCodecContext * codec
Codec context associated with this stream.
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
enum AVPixelFormat pix_fmt
Pixel format, see AV_PIX_FMT_xxx.
static int write_trailer(AVFormatContext *s)
AVOutputFormat ff_filmstrip_muxer
static double av_q2d(AVRational a)
Convert rational to double.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
void * priv_data
Format private data.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int width
picture width / height.
AVStream ** streams
A list of all streams in the file.
AVIOContext * pb
I/O context.
static int write_packet(AVFormatContext *s, AVPacket *pkt)
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
This structure stores compressed data.
static int write_header(AVFormatContext *s)