Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-09-15 19:46:24 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-09-15 19:46:24 +0400
commit88174d2d1720fc8341ee21f0967e7aa726a2c3e8 (patch)
tree970b020eac57e2f6b7ec9c1bba66bbedc74b5d4c /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h
parent08fabf0cb807f2cb1d5b2fc9dca3c180827e07c3 (diff)
merge changes from trunk r2365-r2561
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/branches/legacy@2562 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h')
-rw-r--r--src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h
index 81b6cded3..349065edc 100644
--- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h
+++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/audioconvert.h
@@ -29,6 +29,7 @@
*/
+#include "libavutil/cpu.h"
#include "avcodec.h"
@@ -60,6 +61,11 @@ enum SampleFormat avcodec_get_sample_fmt(const char* name);
const char *avcodec_get_channel_name(int channel_id);
/**
+ * @return channel layout that matches name, 0 if no match
+ */
+int64_t avcodec_get_channel_layout(const char *name);
+
+/**
* Return description of channel layout
*/
void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels, int64_t channel_layout);
@@ -88,7 +94,7 @@ typedef struct AVAudioConvert AVAudioConvert;
* @param in_fmt Input sample format
* @param in_channels Number of input channels
* @param[in] matrix Channel mixing matrix (of dimension in_channel*out_channels). Set to NULL to ignore.
- * @param flags See FF_MM_xx
+ * @param flags See AV_CPU_FLAG_xx
* @return NULL on error
*/
AVAudioConvert *av_audio_convert_alloc(enum SampleFormat out_fmt, int out_channels,