22 #include "libavutil/intreadwrite.h"
28 #define TXD_EXTRA 0x03
29 #define TXD_TEXTURE 0x15
30 #define TXD_TEXTURE_DATA 0x01
31 #define TXD_MARKER 0x1803ffff
32 #define TXD_MARKER2 0x1003ffff
57 unsigned int id, chunk_size, marker;
#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...
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
#define AVERROR_EOF
End of file.
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
#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. ...
AVRational avg_frame_rate
Average framerate.
enum AVMediaType codec_type
AVIOContext * pb
I/O context.
This structure contains the data a format has to probe a file.
static av_always_inline AVRational av_inv_q(AVRational q)
Invert a rational.
int eof_reached
true if eof reached
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.