FFmpeg
|
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | AACADTSHeaderInfo |
Functions | |
int | ff_adts_header_parse (GetBitContext *gbc, AACADTSHeaderInfo *hdr) |
Parse the ADTS frame header to the end of the variable header, which is the first 54 bits. More... | |
int | avpriv_adts_header_parse (AACADTSHeaderInfo **phdr, const uint8_t *buf, size_t size) |
Parse the ADTS frame header contained in the buffer, which is the first 54 bits. More... | |
int ff_adts_header_parse | ( | GetBitContext * | gbc, |
AACADTSHeaderInfo * | hdr | ||
) |
Parse the ADTS frame header to the end of the variable header, which is the first 54 bits.
[in] | gbc | BitContext containing the first 54 bits of the frame. |
[out] | hdr | Pointer to struct where header info is written. |
Definition at line 30 of file adts_header.c.
Referenced by aac_adtstoasc_filter(), aac_sync(), av_adts_header_parse(), avpriv_adts_header_parse(), ftr_decode_frame(), ftr_parse(), and parse_adts_frame_header().
int avpriv_adts_header_parse | ( | AACADTSHeaderInfo ** | phdr, |
const uint8_t * | buf, | ||
size_t | size | ||
) |
Parse the ADTS frame header contained in the buffer, which is the first 54 bits.
[in] | buf | Pointer to buffer containing the first 54 bits of the frame. |
[in] | size | Size of buffer containing the first 54 bits of the frame. |
[out] | phdr | Pointer to pointer to struct AACADTSHeaderInfo for which memory is allocated and header info is written into it. After using the header information, the allocated memory must be freed by using av_free. |
Definition at line 46 of file adts_parser.c.
Referenced by ff_aac_ac3_parse(), and get_next_adts_frame().