#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "mathops.h"
Go to the source code of this file.
◆ ROQ_FRAME_SIZE
#define ROQ_FRAME_SIZE 735 |
◆ ROQ_HEADER_SIZE
#define ROQ_HEADER_SIZE 8 |
◆ MAX_DPCM
#define MAX_DPCM (127*127) |
◆ roq_dpcm_encode_close()
◆ roq_dpcm_encode_init()
◆ dpcm_predict()
static unsigned char dpcm_predict |
( |
short * |
previous, |
|
|
short |
current |
|
) |
| |
|
static |
◆ roq_dpcm_encode_frame()
◆ ff_roq_dpcm_encoder
Initial value:= {
.name = "roq_dpcm",
}
static av_cold int init(AVCodecContext *avctx)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static av_cold int roq_dpcm_encode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx)
AVSampleFormat
Audio sample formats.
static enum AVSampleFormat sample_fmts[]
Definition at line 192 of file roqaudioenc.c.