#define AV_CHANNEL_LAYOUT_STEREO
static const FFCodecDefault mp2_defaults[]
AVCodec p
The public AVCodec.
#define FF_CODEC_ENCODE_CB(func)
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
static int MPA_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
#define CODEC_LONG_NAME(str)
#define CODEC_CH_LAYOUTS(...)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
const FFCodec ff_mp2_encoder
#define CODEC_SAMPLEFMTS(...)
@ AV_SAMPLE_FMT_S16
signed 16 bits
const char * name
Name of the codec implementation.
static av_cold int MPA_encode_init(AVCodecContext *avctx)
#define AV_CHANNEL_LAYOUT_MONO
#define CODEC_SAMPLERATES(...)