FFmpeg
|
#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.
Data Structures | |
struct | ROQDPCMContext |
Macros | |
#define | ROQ_FRAME_SIZE 735 |
#define | ROQ_HEADER_SIZE 8 |
#define | MAX_DPCM (127*127) |
Functions | |
static av_cold int | roq_dpcm_encode_close (AVCodecContext *avctx) |
static av_cold int | roq_dpcm_encode_init (AVCodecContext *avctx) |
static unsigned char | dpcm_predict (short *previous, short current) |
static int | roq_dpcm_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Variables | |
const FFCodec | ff_roq_dpcm_encoder |
#define ROQ_FRAME_SIZE 735 |
Definition at line 31 of file roqaudioenc.c.
#define ROQ_HEADER_SIZE 8 |
Definition at line 32 of file roqaudioenc.c.
#define MAX_DPCM (127*127) |
Definition at line 34 of file roqaudioenc.c.
|
static |
Definition at line 46 of file roqaudioenc.c.
|
static |
Definition at line 55 of file roqaudioenc.c.
Definition at line 83 of file roqaudioenc.c.
Referenced by roq_dpcm_encode_frame().
|
static |
Definition at line 123 of file roqaudioenc.c.
const FFCodec ff_roq_dpcm_encoder |
Definition at line 191 of file roqaudioenc.c.