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.

Data Structures

struct  S302MDecodeContext
 

Macros

#define AES3_HEADER_LEN   4
 

Typedefs

typedef struct S302MDecodeContext S302MDecodeContext
 

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)
 
static int s302m_decode_init (AVCodecContext *avctx)
 

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().

Typedef Documentation

Function Documentation

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

Definition at line 82 of file s302m.c.

static int s302m_decode_init ( AVCodecContext avctx)
static

Definition at line 148 of file s302m.c.

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

Definition at line 35 of file s302m.c.

Referenced by s302m_decode_frame().

Variable Documentation

AVCodec ff_s302m_decoder
Initial value:
= {
.name = "s302m",
.priv_data_size = sizeof(S302MDecodeContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
}
struct S302MDecodeContext S302MDecodeContext
static int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
Definition: mimic.c:228
static int init(AVCodecParserContext *s)
Definition: h264_parser.c:335
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:88
static int s302m_decode_init(AVCodecContext *avctx)
Definition: s302m.c:148
static int s302m_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: s302m.c:82

Definition at line 159 of file s302m.c.