#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/mpeg4audio.h"
#include "avformat.h"
#include "adts.h"
Go to the source code of this file.
Defines | |
#define | ADTS_MAX_FRAME_BYTES ((1 << 13) - 1) |
Functions | |
int | ff_adts_decode_extradata (AVFormatContext *s, ADTSContext *adts, uint8_t *buf, int size) |
static int | adts_write_header (AVFormatContext *s) |
int | ff_adts_write_frame_header (ADTSContext *ctx, uint8_t *buf, int size, int pce_size) |
static int | adts_write_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
AVOutputFormat | ff_adts_muxer |
#define ADTS_MAX_FRAME_BYTES ((1 << 13) - 1) |
static int adts_write_header | ( | AVFormatContext * | s | ) | [static] |
static int adts_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
int ff_adts_decode_extradata | ( | AVFormatContext * | s, | |
ADTSContext * | adts, | |||
uint8_t * | buf, | |||
int | size | |||
) |
Definition at line 32 of file adtsenc.c.
Referenced by adts_write_header(), and mpegts_write_header().
int ff_adts_write_frame_header | ( | ADTSContext * | ctx, | |
uint8_t * | buf, | |||
int | size, | |||
int | pce_size | |||
) |
Definition at line 93 of file adtsenc.c.
Referenced by adts_write_packet(), and mpegts_write_packet().
Initial value:
{ .name = "adts", .long_name = NULL_IF_CONFIG_SMALL("ADTS AAC"), .mime_type = "audio/aac", .extensions = "aac,adts", .priv_data_size = sizeof(ADTSContext), .audio_codec = CODEC_ID_AAC, .video_codec = CODEC_ID_NONE, .write_header = adts_write_header, .write_packet = adts_write_packet, }