FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ac3_parser.c File Reference
#include "config.h"
#include "libavutil/channel_layout.h"
#include "parser.h"
#include "ac3_parser.h"
#include "ac3_parser_internal.h"
#include "aac_ac3_parser.h"
#include "get_bits.h"

Go to the source code of this file.

Macros

#define AC3_HEADER_SIZE   7
 

Functions

int avpriv_ac3_parse_header (AC3HeaderInfo **phdr, const uint8_t *buf, size_t size)
 
int av_ac3_parse_header (const uint8_t *buf, size_t size, uint8_t *bitstream_id, uint16_t *frame_size)
 Extract the bitstream ID and the frame size from AC-3 data. More...
 

Macro Definition Documentation

#define AC3_HEADER_SIZE   7

Definition at line 33 of file ac3_parser.c.

Function Documentation

int avpriv_ac3_parse_header ( AC3HeaderInfo **  phdr,
const uint8_t buf,
size_t  size 
)

Definition at line 247 of file ac3_parser.c.

int av_ac3_parse_header ( const uint8_t buf,
size_t  size,
uint8_t bitstream_id,
uint16_t *  frame_size 
)

Extract the bitstream ID and the frame size from AC-3 data.

Definition at line 253 of file ac3_parser.c.

Referenced by ac3_eac3_probe().