4/12/2023 0 Comments Doxygen layout![]() Examples decode_filter_audio.c, and transcode.c.ĭefinition at line 306 of file channel_layout.h. Examples encode_audio.c, mux.c, and resample_audio.c.ĭefinition at line 301 of file channel_layout.h. No new fields may be added to it without a major version bump, except for new elements of the union fitting in sizeof(uint64_t). ![]() The channel layout must be unitialized with av_channel_layout_uninit()Ĭopying an AVChannelLayout via assigning is forbidden, av_channel_layout_copy() must be used instead (and its return value should be checked) with a constructor function, such as av_channel_layout_default(), av_channel_layout_from_mask() or av_channel_layout_from_string().by assigning one of the predefined AV_CHANNEL_LAYOUT_* initializers.default initialization with, followed by setting all used fields correctly.it may be allocated on stack or embedded in caller-defined structs.ĪVChannelLayout can be initialized as follows: ![]() Unlike most structures in FFmpeg, sizeof(AVChannelLayout) is a part of the public ABI and may be used by the caller. ![]() All orders may be treated as if they were AV_CHANNEL_ORDER_UNSPEC by ignoring everything but the channel count, as long as av_channel_layout_check() considers they are valid. An AVChannelLayout holds information about the channel layout of audio data.Ī channel layout here is defined as a set of channels ordered in a specific way (unless the channel order is AV_CHANNEL_ORDER_UNSPEC, in which case an AVChannelLayout carries only the channel count). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |