FFmpeg
|
aacadtsdec.h File Reference
Include dependency graph for aacadtsdec.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | AACADTSHeaderInfo |
Macros | |
#define | AAC_ADTS_HEADER_SIZE 7 |
Typedefs | |
typedef struct AACADTSHeaderInfo | AACADTSHeaderInfo |
Functions | |
int | avpriv_aac_parse_header (GetBitContext *gbc, AACADTSHeaderInfo *hdr) |
Parse AAC frame header. More... | |
Macro Definition Documentation
#define AAC_ADTS_HEADER_SIZE 7 |
Definition at line 29 of file aacadtsdec.h.
Referenced by aac_adtstoasc_filter(), aac_parse_init(), aac_sync(), avpriv_aac_parse_header(), ff_spdif_probe(), spdif_get_offset_and_codec(), and spdif_header_aac().
Typedef Documentation
typedef struct AACADTSHeaderInfo AACADTSHeaderInfo |
Function Documentation
int avpriv_aac_parse_header | ( | GetBitContext * | gbc, |
AACADTSHeaderInfo * | hdr | ||
) |
Parse AAC frame header.
Parse the ADTS frame header to the end of the variable header, which is the first 54 bits.
- Parameters
-
[in] gbc BitContext containing the first 54 bits of the frame. [out] hdr Pointer to struct where header info is written.
- Returns
- Returns 0 on success, -1 if there is a sync word mismatch, -2 if the version element is invalid, -3 if the sample rate element is invalid, or -4 if the bit rate element is invalid.
Definition at line 29 of file aacadtsdec.c.
Referenced by aac_adtstoasc_filter(), aac_sync(), parse_adts_frame_header(), spdif_get_offset_and_codec(), and spdif_header_aac().
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11