FFmpeg
Macros | Functions
ac3_parser.c File Reference
#include "config_components.h"
#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "parser.h"
#include "ac3defs.h"
#include "ac3tab.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

◆ AC3_HEADER_SIZE

#define AC3_HEADER_SIZE   7

Definition at line 36 of file ac3_parser.c.

Function Documentation

◆ avpriv_ac3_parse_header()

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

◆ av_ac3_parse_header()

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 273 of file ac3_parser.c.

Referenced by ac3_eac3_probe().