FFmpeg
 All Data Structures 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 = -1, AAC_AC3_PARSE_ERROR_BSID = -2, AAC_AC3_PARSE_ERROR_SAMPLE_RATE = -3, AAC_AC3_PARSE_ERROR_FRAME_SIZE = -4,
  AAC_AC3_PARSE_ERROR_FRAME_TYPE = -5, AAC_AC3_PARSE_ERROR_CRC = -6, AAC_AC3_PARSE_ERROR_CHANNEL_CFG = -7
}
 

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.