World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
uint64_t | av_get_channel_layout (const char *name) |
int | av_get_extended_channel_layout (const char *name, uint64_t *channel_layout, int *nb_channels) |
void | av_get_channel_layout_string (char *buf, int buf_size, int nb_channels, uint64_t channel_layout) |
void | av_bprint_channel_layout (struct AVBPrint *bp, int nb_channels, uint64_t channel_layout) |
int | av_get_channel_layout_nb_channels (uint64_t channel_layout) |
int64_t | av_get_default_channel_layout (int nb_channels) |
int | av_get_channel_layout_channel_index (uint64_t channel_layout, uint64_t channel) |
uint64_t | av_channel_layout_extract_channel (uint64_t channel_layout, int index) |
const char * | av_get_channel_name (uint64_t channel) |
const char * | av_get_channel_description (uint64_t channel) |
int | av_get_standard_channel_layout (unsigned index, uint64_t *layout, const char **name) |
enum AVMatrixEncoding |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
См. определение в файле channel_layout.h строка 114
uint64_t av_get_channel_layout | ( | const char * | name | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Return a channel layout id that matches name, or 0 if no match is found.
name can be one or several of the following notations, separated by '+' or '|':
Example: "stereo+FC" = "2c+FC" = "2c+1c" = "0x7"
int av_get_extended_channel_layout | ( | const char * | name, |
uint64_t * | channel_layout, | ||
int * | nb_channels | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Return a channel layout and the number of channels based on the specified name.
This function is similar to (
[in] | name | channel layout specification string |
[out] | channel_layout | parsed channel layout (0 if unknown) |
[out] | nb_channels | number of channels |
void av_get_channel_layout_string | ( | char * | buf, |
int | buf_size, | ||
int | nb_channels, | ||
uint64_t | channel_layout | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Return a description of a channel layout. If nb_channels is <= 0, it is guessed from the channel_layout.
buf | put here the string containing the channel layout |
buf_size | size in bytes of the buffer |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Append a description of a channel layout to a bprint buffer.
int av_get_channel_layout_nb_channels | ( | uint64_t | channel_layout | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Return the number of channels in the channel layout.
int64_t av_get_default_channel_layout | ( | int | nb_channels | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Return default channel layout for a given number of channels.
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Get the index of a channel in channel_layout.
channel | a channel layout describing exactly one channel which must be present in channel_layout. |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Get the channel with the given index in channel_layout.
const char* av_get_channel_name | ( | uint64_t | channel | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Get the name of a given channel.
const char* av_get_channel_description | ( | uint64_t | channel | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Get the description of a given channel.
channel | a channel layout with a single channel |
int av_get_standard_channel_layout | ( | unsigned | index, |
uint64_t * | layout, | ||
const char ** | name | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/channel_layout.h>
Get the value and name of a standard channel layout.
[in] | index | index in an internal list, starting at 0 |
[out] | layout | channel layout mask |
[out] | name | name of the layout |