#include "parser.h"#include "aac_ac3_parser.h"#include "aac_parser.h"#include "bitstream.h"#include "mpeg4audio.h"Go to the source code of this file.
Defines | |
| #define | AAC_HEADER_SIZE 7 |
Functions | |
| int | ff_aac_parse_header (GetBitContext *gbc, AACADTSHeaderInfo *hdr) |
| Parses AAC frame header. | |
| static int | aac_sync (uint64_t state, AACAC3ParseContext *hdr_info, int *need_next_header, int *new_frame_start) |
| static av_cold int | aac_parse_init (AVCodecParserContext *s1) |
Variables | |
| AVCodecParser | aac_parser |
| #define AAC_HEADER_SIZE 7 |
Definition at line 29 of file aac_parser.c.
Referenced by aac_parse_init(), aac_sync(), and ff_aac_parse_header().
| static av_cold int aac_parse_init | ( | AVCodecParserContext * | s1 | ) | [static] |
Definition at line 102 of file aac_parser.c.
| static int aac_sync | ( | uint64_t | state, | |
| AACAC3ParseContext * | hdr_info, | |||
| int * | need_next_header, | |||
| int * | new_frame_start | |||
| ) | [static] |
| int ff_aac_parse_header | ( | GetBitContext * | gbc, | |
| AACADTSHeaderInfo * | hdr | |||
| ) |
Parses AAC frame header.
Parses the ADTS frame header to the end of the variable header, which is the first 54 bits.
| gbc[in] | BitContext containing the first 54 bits of the frame. | |
| hdr[out] | Pointer to struct where header info is written. |
Definition at line 31 of file aac_parser.c.
Referenced by aac_sync(), and parse_adts_frame_header().
Initial value:
{
{ CODEC_ID_AAC },
sizeof(AACAC3ParseContext),
aac_parse_init,
ff_aac_ac3_parse,
ff_parse_close,
}
Definition at line 111 of file aac_parser.c.
1.5.8