35#define ASTC_HEADER_SIZE 16
47 "(block size / dimensions) from the encoder.\n");
61 if (
ctx->wrote_image) {
63 ".astc muxer supports a single image per file.\n");
75 .p.mime_type =
"image/astc",
76 .p.extensions =
"astc",
static AVFormatContext * ctx
static int astc_write_packet(AVFormatContext *s, AVPacket *pkt)
static int astc_write_header(AVFormatContext *s)
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
static void write_header(FFV1Context *f)
#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.
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
int extradata_size
Size of the extradata content in bytes.
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
This structure stores compressed data.
AVCodecParameters * codecpar
Codec parameters associated with this stream.