|
FFmpeg
|
ASTC decoder using ARM's astc-encoder library (astcenc C API). More...
#include <astcenc/astcenc.h>#include "avcodec.h"#include "codec_internal.h"#include "decode.h"#include "profiles.h"#include "libavutil/intreadwrite.h"#include "libavutil/mem.h"#include "libavutil/opt.h"Go to the source code of this file.
Data Structures | |
| struct | LibAstcDecContext |
Macros | |
| #define | ASTC_MAGIC 0x5CA1AB13 |
| #define | ASTC_HEADER_SIZE 16 |
| #define | ASTC_BLOCK_BYTES 16 |
| #define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
| #define | OFFSET(x) |
Functions | |
| static av_cold int | astcdec_configure (AVCodecContext *avctx, enum astcenc_profile prf) |
| static av_cold int | libastcdec_init (AVCodecContext *avctx) |
| static int | libastcdec_decode (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
| static av_cold int | libastcdec_close (AVCodecContext *avctx) |
Variables | |
| static const AVOption | dec_options [] |
| static const AVClass | libastcenc_dec_class |
| const FFCodec | ff_libastcenc_decoder |
ASTC decoder using ARM's astc-encoder library (astcenc C API).
Consumes the raw ASTC bitstream; block size and dimensions are recovered from the 16-byte .astc-style extradata published by the demuxer.
Definition in file libastcdec.c.
| #define ASTC_MAGIC 0x5CA1AB13 |
Definition at line 42 of file libastcdec.c.
Referenced by libastcdec_init(), and libastcenc_init().
| #define ASTC_HEADER_SIZE 16 |
Definition at line 43 of file libastcdec.c.
Referenced by astc_probe(), astc_read_header(), astc_write_header(), ktx_read_header(), ktx_write_header(), libastcdec_init(), and libastcenc_init().
| #define ASTC_BLOCK_BYTES 16 |
Definition at line 44 of file libastcdec.c.
Referenced by astc_read_header(), libastcdec_decode(), and libastcenc_encode().
| #define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 267 of file libastcdec.c.
| #define OFFSET | ( | x | ) |
Definition at line 268 of file libastcdec.c.
|
static |
Definition at line 57 of file libastcdec.c.
Referenced by libastcdec_init().
|
static |
Definition at line 93 of file libastcdec.c.
|
static |
Definition at line 174 of file libastcdec.c.
|
static |
Definition at line 257 of file libastcdec.c.
|
static |
Definition at line 270 of file libastcdec.c.
|
static |
Definition at line 280 of file libastcdec.c.
| const FFCodec ff_libastcenc_decoder |
Definition at line 287 of file libastcdec.c.