FFmpeg
|
latmenc.c File Reference
#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/mpeg4audio.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "rawenc.h"
Include dependency graph for latmenc.c:
Go to the source code of this file.
Data Structures | |
struct | LATMContext |
Macros | |
#define | MAX_EXTRADATA_SIZE 1024 |
Functions | |
static int | latm_decode_extradata (LATMContext *ctx, uint8_t *buf, int size) |
static int | latm_write_header (AVFormatContext *s) |
static void | latm_write_frame_header (AVFormatContext *s, PutBitContext *bs) |
static int | latm_write_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVOption | options [] |
static const AVClass | latm_muxer_class |
AVOutputFormat | ff_latm_muxer |
Macro Definition Documentation
#define MAX_EXTRADATA_SIZE 1024 |
Definition at line 30 of file latmenc.c.
Referenced by latm_decode_extradata(), and latm_write_packet().
Function Documentation
|
static |
Definition at line 55 of file latmenc.c.
Referenced by latm_write_header().
|
static |
Definition at line 99 of file latmenc.c.
Referenced by latm_write_packet().
|
static |
|
static |
Variable Documentation
AVOutputFormat ff_latm_muxer |
Initial value:
= {
.name = "latm",
.long_name = NULL_IF_CONFIG_SMALL("LOAS/LATM"),
.mime_type = "audio/MP4A-LATM",
.extensions = "latm,loas",
.priv_data_size = sizeof(LATMContext),
.audio_codec = AV_CODEC_ID_AAC,
.video_codec = AV_CODEC_ID_NONE,
.priv_class = &latm_muxer_class,
}
Definition: libavcodec/avcodec.h:100
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/assenc.c:63
Definition: libavcodec/avcodec.h:383
Definition: libavcodec/aacdec.c:2719
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int latm_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: latmenc.c:144
|
static |
Initial value:
= {
.class_name = "LATM/LOAS muxer",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
}
|
static |
Initial value:
= {
{"smc-interval", "StreamMuxConfig interval.",
offsetof(LATMContext, mod), AV_OPT_TYPE_INT, {.i64 = 0x0014}, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM},
{NULL},
}
Definition: opt.h:222
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
Definition: opt.h:281
Definition: libavcodec/aacdec.c:2719
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11