#include "ttadata.h"
#include "ttaencdsp.h"
#include "avcodec.h"
#include "put_bits.h"
#include "internal.h"
#include "libavutil/crc.h"
Go to the source code of this file.
◆ BITSTREAM_WRITER_LE
#define BITSTREAM_WRITER_LE |
◆ PRED
#define PRED |
( |
|
x, |
|
|
|
k |
|
) |
| (int32_t)((((uint64_t)(x) << (k)) - (x)) >> (k)) |
◆ tta_encode_init()
◆ get_sample()
◆ tta_encode_frame()
◆ tta_encode_close()
◆ ff_tta_encoder
Initial value:= {
.name = "tta",
}
static av_cold int init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int tta_encode_close(AVCodecContext *avctx)
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
AVSampleFormat
Audio sample formats.
static av_cold int tta_encode_init(AVCodecContext *avctx)
#define AV_CODEC_CAP_LOSSLESS
Codec is lossless.
static enum AVSampleFormat sample_fmts[]
static int tta_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition at line 203 of file ttaenc.c.