#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "mathops.h"
Go to the source code of this file.
#define ROQ_FRAME_SIZE 735 |
#define ROQ_HEADER_SIZE 8 |
#define MAX_DPCM (127*127) |
static unsigned char dpcm_predict |
( |
short * |
previous, |
|
|
short |
current |
|
) |
| |
|
static |
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.