|
FFmpeg
|
ASTC encoder using ARM's astc-encoder library (astcenc C API). More...
#include <astcenc/astcenc.h>#include <limits.h>#include "avcodec.h"#include "codec_internal.h"#include "encode.h"#include "profiles.h"#include "libavutil/intreadwrite.h"#include "libavutil/pixdesc.h"#include "libavutil/mem.h"#include "libavutil/opt.h"Go to the source code of this file.
Data Structures | |
| struct | LibAstcEncContext |
Macros | |
| #define | ASTC_MAGIC 0x5CA1AB13 |
| #define | ASTC_HEADER_SIZE 16 |
| #define | ASTC_BLOCK_BYTES 16 |
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
| #define | OFFSET(x) |
Functions | |
| static av_cold int | libastcenc_init (AVCodecContext *avctx) |
| static int | libastcenc_encode (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
| static av_cold int | libastcenc_close (AVCodecContext *avctx) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | libastcenc_class |
| const FFCodec | ff_libastcenc_encoder |
ASTC encoder using ARM's astc-encoder library (astcenc C API).
Output is the raw ASTC bitstream (16 bytes per block). The container (.astc / .ktx) is added by the corresponding FFmpeg muxer.
Definition in file libastcenc.c.
| #define ASTC_MAGIC 0x5CA1AB13 |
Definition at line 45 of file libastcenc.c.
| #define ASTC_HEADER_SIZE 16 |
Definition at line 46 of file libastcenc.c.
| #define ASTC_BLOCK_BYTES 16 |
Definition at line 47 of file libastcenc.c.
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 366 of file libastcenc.c.
| #define OFFSET | ( | x | ) |
Definition at line 367 of file libastcenc.c.
|
static |
Definition at line 67 of file libastcenc.c.
|
static |
Definition at line 230 of file libastcenc.c.
|
static |
Definition at line 356 of file libastcenc.c.
|
static |
Definition at line 369 of file libastcenc.c.
|
static |
Definition at line 387 of file libastcenc.c.
| const FFCodec ff_libastcenc_encoder |
Definition at line 394 of file libastcenc.c.