FFmpeg
|
audiointerleave.h File Reference
Include dependency graph for audiointerleave.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | AudioInterleaveContext |
Typedefs | |
typedef struct AudioInterleaveContext | AudioInterleaveContext |
Functions | |
int | ff_audio_interleave_init (AVFormatContext *s, const int *samples_per_frame, AVRational time_base) |
void | ff_audio_interleave_close (AVFormatContext *s) |
int | ff_audio_rechunk_interleave (AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush, int(*get_packet)(AVFormatContext *, AVPacket *, AVPacket *, int), int(*compare_ts)(AVFormatContext *, AVPacket *, AVPacket *)) |
Rechunk audio PCM packets per AudioInterleaveContext->samples_per_frame and interleave them correctly. More... | |
Typedef Documentation
typedef struct AudioInterleaveContext AudioInterleaveContext |
Function Documentation
void ff_audio_interleave_close | ( | AVFormatContext * | s | ) |
Definition at line 29 of file audiointerleave.c.
Referenced by gxf_write_trailer(), and mxf_write_footer().
int ff_audio_interleave_init | ( | AVFormatContext * | s, |
const int * | samples_per_frame, | ||
AVRational | time_base | ||
) |
Definition at line 41 of file audiointerleave.c.
Referenced by gxf_write_header(), and mxf_write_header().
int ff_audio_rechunk_interleave | ( | AVFormatContext * | s, |
AVPacket * | out, | ||
AVPacket * | pkt, | ||
int | flush, | ||
int(*)(AVFormatContext *, AVPacket *, AVPacket *, int) | get_packet, | ||
int(*)(AVFormatContext *, AVPacket *, AVPacket *) | compare_ts | ||
) |
Rechunk audio PCM packets per AudioInterleaveContext->samples_per_frame and interleave them correctly.
The first element of AVStream->priv_data must be AudioInterleaveContext when using this function.
- Parameters
-
get_packet function will output a packet when streams are correctly interleaved. compare_ts function will compare AVPackets and decide interleaving order.
Definition at line 103 of file audiointerleave.c.
Referenced by gxf_interleave_packet(), and mxf_interleave().
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11