FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
s302menc.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"

Go to the source code of this file.

Data Structures

struct  S302MEncContext
 

Macros

#define AES3_HEADER_LEN   4
 

Functions

static av_cold int s302m_encode_init (AVCodecContext *avctx)
 
static int s302m_encode2_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 

Variables

AVCodec ff_s302m_encoder
 

Macro Definition Documentation

#define AES3_HEADER_LEN   4

Definition at line 27 of file s302menc.c.

Referenced by s302m_encode2_frame().

Function Documentation

static av_cold int s302m_encode_init ( AVCodecContext avctx)
static

Definition at line 33 of file s302menc.c.

static int s302m_encode2_frame ( AVCodecContext avctx,
AVPacket avpkt,
const AVFrame frame,
int *  got_packet_ptr 
)
static

Definition at line 68 of file s302menc.c.

Variable Documentation

AVCodec ff_s302m_encoder
Initial value:
= {
.name = "s302m",
.priv_data_size = sizeof(S302MEncContext),
.encode2 = s302m_encode2_frame,
.long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S32,
.supported_samplerates = (const int[]) { 48000, 0 },
}

Definition at line 164 of file s302menc.c.