Go to the source code of this file.
◆ AES3_HEADER_LEN
| #define AES3_HEADER_LEN 4 |
◆ FLAGS
◆ s302m_parse_frame_header()
| static int s302m_parse_frame_header |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | buf, |
|
|
int | buf_size ) |
|
static |
◆ s302m_decode_frame()
◆ s302m_options
Initial value:= {
{
"non_pcm_mode",
"Chooses what to do with NON-PCM", 0x42 ,
AV_OPT_TYPE_INT, {.i64 = 3}, 0, 3,
FLAGS, .unit =
"non_pcm_mode"},
{
"copy" ,
"Pass NON-PCM through unchanged" , 0,
AV_OPT_TYPE_CONST, {.i64 = 0}, 0, 3,
FLAGS, .unit =
"non_pcm_mode"},
{
"decode_copy" ,
"Decode if possible else passthrough", 0,
AV_OPT_TYPE_CONST, {.i64 = 2}, 0, 3,
FLAGS, .unit =
"non_pcm_mode"},
{
"decode_drop" ,
"Decode if possible else drop" , 0,
AV_OPT_TYPE_CONST, {.i64 = 3}, 0, 3,
FLAGS, .unit =
"non_pcm_mode"},
}
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 213 of file s302m.c.
◆ s302m_class
Initial value:= {
.class_name = "SMPTE 302M Decoder",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
static const AVOption s302m_options[]
Definition at line 222 of file s302m.c.
◆ ff_s302m_decoder
Initial value:= {
.p.name = "s302m",
}
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
static int s302m_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
static const AVClass s302m_class
Definition at line 229 of file s302m.c.