|
FFmpeg
|
MPEG Audio header decoder. More...
#include <stdint.h>#include "libavutil/attributes.h"#include "codec_id.h"#include "version_major.h"Go to the source code of this file.
Data Structures | |
| struct | MPADecodeHeader2 |
| Same as MPADecodeHeader, plus the header fields that carry no decoding information. More... | |
Macros | |
| #define | MP3_MASK 0xFFFE0CCF |
| #define | FF_MPEGAUDIO_LEGACY_DECODE_HEADER (LIBAVCODEC_VERSION_MAJOR < 64) |
Functions | |
| int | avpriv_mpegaudio_decode_header2 (MPADecodeHeader2 **phdr, uint32_t header) |
| Decode an MPEG audio header into *phdr, which is allocated if it is NULL. | |
| int | ff_mpegaudio_decode_header (MPADecodeHeader2 *s, uint32_t header) |
| int | ff_mpa_decode_header (uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate, enum AVCodecID *codec_id) |
| static int | ff_mpa_check_header (uint32_t header) |
| static uint32_t | ff_mpa_encode_header (const MPADecodeHeader2 *s) |
MPEG Audio header decoder.
Definition in file mpegaudiodecheader.h.
| #define MP3_MASK 0xFFFE0CCF |
Definition at line 37 of file mpegaudiodecheader.h.
Referenced by mp3_read_header(), and mp3_read_probe().
| #define FF_MPEGAUDIO_LEGACY_DECODE_HEADER (LIBAVCODEC_VERSION_MAJOR < 64) |
Definition at line 39 of file mpegaudiodecheader.h.
| int avpriv_mpegaudio_decode_header2 | ( | MPADecodeHeader2 ** | phdr, |
| uint32_t | header ) |
Decode an MPEG audio header into *phdr, which is allocated if it is NULL.
The header must have been checked beforehand, as no consistency check is done here.
Definition at line 128 of file mpegaudiodecheader.c.
Referenced by check(), main(), mp3_parse_vbr_tags(), mp3_read_probe(), mp3_write_audio_packet(), and mp3_write_xing().
| int ff_mpegaudio_decode_header | ( | MPADecodeHeader2 * | s, |
| uint32_t | header ) |
Definition at line 38 of file mpegaudiodecheader.c.
Referenced by avpriv_mpegaudio_decode_header2(), decode_frame(), ff_mpa_decode_header(), libshine_encode_frame(), and mp3lame_encode_frame().
| int ff_mpa_decode_header | ( | uint32_t | head, |
| int * | sample_rate, | ||
| int * | channels, | ||
| int * | frame_size, | ||
| int * | bitrate, | ||
| enum AVCodecID * | codec_id ) |
Definition at line 176 of file mpegaudiodecheader.c.
Referenced by ffat_create_decoder(), and mpegaudio_parse().
|
inlinestatic |
Definition at line 109 of file mpegaudiodecheader.h.
Referenced by avpriv_mpegaudio_decode_header2(), check(), ff_mpegaudio_decode_header(), main(), and mov_read_packet().
|
inlinestatic |
Definition at line 128 of file mpegaudiodecheader.h.
Referenced by main(), and mp3_update_xing().