FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
aac_ac3_parser.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  AACAC3ParseContext
 

Enumerations

enum  AACAC3ParseError {
  AAC_AC3_PARSE_ERROR_SYNC = -0x1030c0a, AAC_AC3_PARSE_ERROR_BSID = -0x2030c0a, AAC_AC3_PARSE_ERROR_SAMPLE_RATE = -0x3030c0a, AAC_AC3_PARSE_ERROR_FRAME_SIZE = -0x4030c0a,
  AAC_AC3_PARSE_ERROR_FRAME_TYPE = -0x5030c0a, AAC_AC3_PARSE_ERROR_CRC = -0x6030c0a, AAC_AC3_PARSE_ERROR_CHANNEL_CFG = -0x7030c0a
}
 

Functions

int ff_aac_ac3_parse (AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Enumeration Type Documentation

Enumerator:
AAC_AC3_PARSE_ERROR_SYNC 
AAC_AC3_PARSE_ERROR_BSID 
AAC_AC3_PARSE_ERROR_SAMPLE_RATE 
AAC_AC3_PARSE_ERROR_FRAME_SIZE 
AAC_AC3_PARSE_ERROR_FRAME_TYPE 
AAC_AC3_PARSE_ERROR_CRC 
AAC_AC3_PARSE_ERROR_CHANNEL_CFG 

Definition at line 30 of file aac_ac3_parser.h.

Function Documentation

int ff_aac_ac3_parse ( AVCodecParserContext s1,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size 
)

Definition at line 27 of file aac_ac3_parser.c.