#include "libavutil/attributes.h"
#include "avcodec.h"
#include "internal.h"
#include "wma.h"
#include <assert.h>
Go to the source code of this file.
|
static av_cold int | encode_init (AVCodecContext *avctx) |
|
static void | apply_window_and_mdct (AVCodecContext *avctx, const AVFrame *frame) |
|
static void | init_exp (WMACodecContext *s, int ch, const int *exp_param) |
|
static void | encode_exp_vlc (WMACodecContext *s, int ch, const int *exp_param) |
|
static int | encode_block (WMACodecContext *s, float(*src_coefs)[BLOCK_MAX_SIZE], int total_gain) |
|
static int | encode_frame (WMACodecContext *s, float(*src_coefs)[BLOCK_MAX_SIZE], uint8_t *buf, int buf_size, int total_gain) |
|
static int | encode_superframe (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
|
static int encode_block |
( |
WMACodecContext * |
s, |
|
|
float(*) |
src_coefs[BLOCK_MAX_SIZE], |
|
|
int |
total_gain |
|
) |
| |
|
static |
static int encode_frame |
( |
WMACodecContext * |
s, |
|
|
float(*) |
src_coefs[BLOCK_MAX_SIZE], |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size, |
|
|
int |
total_gain |
|
) |
| |
|
static |
Initial value:= {
.name = "wmav1",
}
static int encode_superframe(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int ff_wma_end(AVCodecContext *avctx)
AVSampleFormat
Audio Sample Formats.
static void close(AVCodecParserContext *s)
static av_cold int encode_init(AVCodecContext *avctx)
static av_cold int init(AVCodecParserContext *s)
Definition at line 418 of file wmaenc.c.
Initial value:= {
.name = "wmav2",
}
static int encode_superframe(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int ff_wma_end(AVCodecContext *avctx)
AVSampleFormat
Audio Sample Formats.
static void close(AVCodecParserContext *s)
static av_cold int encode_init(AVCodecContext *avctx)
static av_cold int init(AVCodecParserContext *s)
Definition at line 431 of file wmaenc.c.