#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.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:= {
.p.name = "roq_dpcm",
}
#define FF_CODEC_ENCODE_CB(func)
#define CODEC_LONG_NAME(str)
#define CODEC_SAMPLEFMTS(...)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_SAMPLE_FMT_S16
signed 16 bits
static av_cold int roq_dpcm_encode_close(AVCodecContext *avctx)
static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx)
static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition at line 191 of file roqaudioenc.c.