#include <stdint.h>
#include "libavcodec/avcodec.h"
#include "avformat.h"
Go to the source code of this file.
Functions | |
uint64_t | ff_mov_get_channel_layout (uint32_t tag, uint32_t bitmap) |
mov 'chan' tag reading/writing. | |
uint32_t | ff_mov_get_channel_layout_tag (enum AVCodecID codec_id, uint64_t channel_layout, uint32_t *bitmap) |
Get the channel layout tag for the specified codec id and channel layout. | |
int | ff_mov_read_chan (AVFormatContext *s, AVIOContext *pb, AVStream *st, int64_t size) |
Read 'chan' tag from the input stream. |
uint64_t ff_mov_get_channel_layout | ( | uint32_t | tag, | |
uint32_t | bitmap | |||
) |
mov 'chan' tag reading/writing.
[in] | tag | channel layout tag |
[out] | bitmap | channel bitmap (only used if needed) |
Definition at line 453 of file mov_chan.c.
Referenced by ff_mov_read_chan().
uint32_t ff_mov_get_channel_layout_tag | ( | enum AVCodecID | codec_id, | |
uint64_t | channel_layout, | |||
uint32_t * | bitmap | |||
) |
Get the channel layout tag for the specified codec id and channel layout.
If the layout tag was not found, use a channel bitmap if possible.
[in] | codec_id | codec id |
[in] | channel_layout | channel layout |
[out] | bitmap | channel bitmap |
Definition at line 493 of file mov_chan.c.
Referenced by mov_write_chan_tag().
int ff_mov_read_chan | ( | AVFormatContext * | s, | |
AVIOContext * | pb, | |||
AVStream * | st, | |||
int64_t | size | |||
) |
Read 'chan' tag from the input stream.
s | AVFormatContext | |
pb | AVIOContext | |
st | The stream to set codec values for | |
size | Remaining size in the 'chan' tag |
Definition at line 546 of file mov_chan.c.