#include "avcodec.h"
#include <gsm.h>
Go to the source code of this file.
Defines | |
| #define | GSM_BLOCK_SIZE 33 |
| #define | GSM_MS_BLOCK_SIZE 65 |
| #define | GSM_FRAME_SIZE 160 |
Functions | |
| static av_cold int | libgsm_init (AVCodecContext *avctx) |
| static av_cold int | libgsm_close (AVCodecContext *avctx) |
| static int | libgsm_encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) |
| static int | libgsm_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
Variables | |
| AVCodec | libgsm_encoder |
| AVCodec | libgsm_ms_encoder |
| AVCodec | libgsm_decoder |
| AVCodec | libgsm_ms_decoder |
Definition in file libgsm.c.
| #define GSM_BLOCK_SIZE 33 |
| #define GSM_FRAME_SIZE 160 |
Definition at line 36 of file libgsm.c.
Referenced by libgsm_decode_frame(), libgsm_encode_frame(), and libgsm_init().
| #define GSM_MS_BLOCK_SIZE 65 |
| static av_cold int libgsm_close | ( | AVCodecContext * | avctx | ) | [static] |
| static int libgsm_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static int libgsm_encode_frame | ( | AVCodecContext * | avctx, | |
| unsigned char * | frame, | |||
| int | buf_size, | |||
| void * | data | |||
| ) | [static] |
| static av_cold int libgsm_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
"libgsm",
CODEC_TYPE_AUDIO,
CODEC_ID_GSM,
0,
libgsm_init,
NULL,
libgsm_close,
libgsm_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"),
}
Initial value:
{
"libgsm",
CODEC_TYPE_AUDIO,
CODEC_ID_GSM,
0,
libgsm_init,
libgsm_encode_frame,
libgsm_close,
.sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"),
}
Initial value:
{
"libgsm_ms",
CODEC_TYPE_AUDIO,
CODEC_ID_GSM_MS,
0,
libgsm_init,
NULL,
libgsm_close,
libgsm_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"),
}
Initial value:
{
"libgsm_ms",
CODEC_TYPE_AUDIO,
CODEC_ID_GSM_MS,
0,
libgsm_init,
libgsm_encode_frame,
libgsm_close,
.sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"),
}
1.5.8