Go to the source code of this file.
|
static int | generate_raw_frame (uint16_t *frame_data, int i, int sample_rate, int channels, int frame_size) |
|
static int | init_encoder (AVCodec *enc, AVCodecContext **enc_ctx, int64_t ch_layout, int sample_rate) |
|
static int | init_decoder (AVCodec *dec, AVCodecContext **dec_ctx, int64_t ch_layout) |
|
static int | run_test (AVCodec *enc, AVCodec *dec, AVCodecContext *enc_ctx, AVCodecContext *dec_ctx) |
|
static int | close_encoder (AVCodecContext **enc_ctx) |
|
static int | close_decoder (AVCodecContext **dec_ctx) |
|
int | main (void) |
|
◆ NUMBER_OF_AUDIO_FRAMES
#define NUMBER_OF_AUDIO_FRAMES 200 |
◆ NAME_BUFF_SIZE
#define NAME_BUFF_SIZE 100 |
◆ generate_raw_frame()
static int generate_raw_frame |
( |
uint16_t * |
frame_data, |
|
|
int |
i, |
|
|
int |
sample_rate, |
|
|
int |
channels, |
|
|
int |
frame_size |
|
) |
| |
|
static |
◆ init_encoder()
◆ init_decoder()
◆ run_test()
◆ close_encoder()
◆ close_decoder()
◆ main()