#include "ttadata.h"
#include "avcodec.h"
#include "put_bits.h"
#include "internal.h"
#include "libavutil/crc.h"
Go to the source code of this file.
#define BITSTREAM_WRITER_LE |
#define PRED |
( |
|
x, |
|
|
|
k |
|
) |
| (int32_t)((((uint64_t)(x) << (k)) - (x)) >> (k)) |
Initial value:= {
.name = "tta",
}
static av_cold int tta_encode_init(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static av_cold int tta_encode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
AVSampleFormat
Audio sample formats.
#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 218 of file ttaenc.c.