FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
s302m.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "avcodec.h"
#include "internal.h"
#include "mathops.h"

Go to the source code of this file.

Macros

#define AES3_HEADER_LEN   4
 

Functions

static int s302m_parse_frame_header (AVCodecContext *avctx, const uint8_t *buf, int buf_size)
 
static int s302m_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 

Variables

AVCodec ff_s302m_decoder
 

Macro Definition Documentation

#define AES3_HEADER_LEN   4

Definition at line 29 of file s302m.c.

Referenced by s302m_decode_frame(), and s302m_parse_frame_header().

Function Documentation

static int s302m_parse_frame_header ( AVCodecContext avctx,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 31 of file s302m.c.

Referenced by s302m_decode_frame().

static int s302m_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 91 of file s302m.c.

Variable Documentation

AVCodec ff_s302m_decoder
Initial value:
= {
.name = "s302m",
.decode = s302m_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
}

Definition at line 156 of file s302m.c.