The specific meanings of these channels can be found in SMPTE 428M.
---
doc/APIchanges | 4 ++++
libavutil/audioconvert.c | 4 ++++
libavutil/audioconvert.h | 4 ++++
libavutil/avutil.h | 2 +-
4 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 0ab658d..46f29a1 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,10 @@ libavutil: 2011-04-18
API changes, most recent first:
+2011-xx-xx - xxxxxxx - lavu 51.7.0 - audioconvert.h
+ add channel flags: AV_CH_WIDE_LEFT, AV_CH_WIDE_RIGHT,
+ AV_CH_SURROUND_DIRECT_LEFT, and AV_CH_SURROUND_DIRECT_RIGHT
+
2011-06-xx - xxxxxxx - lavu 51.6.0 - opt.h
Add av_opt_flag_is_set().
diff --git a/libavutil/audioconvert.c b/libavutil/audioconvert.c
index fa27f01..1519884 100644
--- a/libavutil/audioconvert.c
+++ b/libavutil/audioconvert.c
@@ -33,6 +33,10 @@ static const char * const channel_names[] = {
"TBC", "TBR",
[29] = "DL",
[30] = "DR",
+ [31] = "WL",
+ [32] = "WR",
+ [33] = "SDL",
+ [34] = "SDR",
};
static const char *get_channel_name(int channel_id)
diff --git a/libavutil/audioconvert.h b/libavutil/audioconvert.h
index e37a2e8..3fe9d7d 100644
--- a/libavutil/audioconvert.h
+++ b/libavutil/audioconvert.h
@@ -50,6 +50,10 @@
#define AV_CH_TOP_BACK_RIGHT 0x00020000
#define AV_CH_STEREO_LEFT 0x20000000 ///< Stereo downmix.
#define AV_CH_STEREO_RIGHT 0x40000000 ///< See AV_CH_STEREO_LEFT.
+#define AV_CH_WIDE_LEFT 0x80000000
+#define AV_CH_WIDE_RIGHT 0x100000000
+#define AV_CH_SURROUND_DIRECT_LEFT 0x200000000
+#define AV_CH_SURROUND_DIRECT_RIGHT 0x400000000
/** Channel mask value used for AVCodecContext.request_channel_layout
to indicate that the user requests the channel order of the decoder output
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 0299bdf..d943136 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -40,7 +40,7 @@
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR 51
-#define LIBAVUTIL_VERSION_MINOR 6
+#define LIBAVUTIL_VERSION_MINOR 7
#define LIBAVUTIL_VERSION_MICRO 0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel