|
FFmpeg
|
ASTC (Adaptive Scalable Texture Compression) demuxer. More...
#include "config_components.h"#include <inttypes.h>#include <limits.h>#include "avformat.h"#include "avio.h"#include "avio_internal.h"#include "demux.h"#include "internal.h"#include "libavutil/intreadwrite.h"Go to the source code of this file.
Data Structures | |
| struct | ASTCDemuxerContext |
Macros | |
| #define | ASTC_HEADER_SIZE 16 |
| #define | ASTC_BLOCK_BYTES 16 |
Functions | |
| static int | astc_probe (const AVProbeData *p) |
| static int | astc_read_header (AVFormatContext *s) |
| static int | astc_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
| static const uint8_t | astc_magic [4] = { 0x13, 0xAB, 0xA1, 0x5C } |
| const FFInputFormat | ff_astc_demuxer |
ASTC (Adaptive Scalable Texture Compression) demuxer.
Reads the 16-byte .astc header, exposes it as extradata to the decoder, and emits the raw ASTC bitstream as a single packet.
Definition in file astcdec.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 44 of file astcdec.c.
Referenced by astc_probe(), astc_read_header(), ktx_read_header(), and ktx_write_header().
| const FFInputFormat ff_astc_demuxer |