FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
bmvaudio.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Functions

static av_cold int bmv_aud_decode_init (AVCodecContext *avctx)
 
static int bmv_aud_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 

Variables

static const int bmv_aud_mults [16]
 
AVCodec ff_bmv_audio_decoder
 

Function Documentation

static av_cold int bmv_aud_decode_init ( AVCodecContext avctx)
static

Definition at line 32 of file bmvaudio.c.

static int bmv_aud_decode_frame ( AVCodecContext avctx,
void data,
int got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 41 of file bmvaudio.c.

Variable Documentation

const int bmv_aud_mults[16]
static
Initial value:
= {
16512, 8256, 4128, 2064, 1032, 516, 258, 192, 129, 88, 64, 56, 48, 40, 36, 32
}

Definition at line 28 of file bmvaudio.c.

Referenced by bmv_aud_decode_frame().

AVCodec ff_bmv_audio_decoder
Initial value:
= {
.name = "bmv_audio",
.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
.capabilities = AV_CODEC_CAP_DR1,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int bmv_aud_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: bmvaudio.c:41
static av_cold int bmv_aud_decode_init(AVCodecContext *avctx)
Definition: bmvaudio.c:32
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:968

Definition at line 81 of file bmvaudio.c.