libavcodec/s302m.c File Reference

#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  S302MDecodeContext

Defines

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

Variables

AVCodec ff_s302m_decoder


Define Documentation

#define AES3_HEADER_LEN   4

Definition at line 27 of file s302m.c.

Referenced by s302m_decode_frame(), and s302m_parse_frame_header().


Function Documentation

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

Definition at line 93 of file s302m.c.

static int s302m_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 159 of file s302m.c.

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

Definition at line 33 of file s302m.c.

Referenced by s302m_decode_frame().


Variable Documentation

Initial value:

 {
    .name           = "s302m",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = AV_CODEC_ID_S302M,
    .priv_data_size = sizeof(S302MDecodeContext),
    .init           = s302m_decode_init,
    .decode         = s302m_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
}

Definition at line 170 of file s302m.c.


Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8