[FFmpeg-cvslog] swr: doxument matrix fields.

Michael Niedermayer git at videolan.org
Thu Nov 17 20:33:11 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 17 18:29:25 2011 +0100| [4fef94c6d2ea14c1ca9e1ca100428f1fcba896fc] | committer: Michael Niedermayer

swr: doxument matrix fields.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4fef94c6d2ea14c1ca9e1ca100428f1fcba896fc
---

 libswresample/swresample_internal.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index 7ca278a..0fc1c6b 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -69,9 +69,9 @@ typedef struct SwrContext {
     struct AudioConvert *full_convert;              ///< full conversion context (single conversion for input and output)
     struct ResampleContext *resample;               ///< resampling context
 
-    float matrix[SWR_CH_MAX][SWR_CH_MAX];
-    int32_t matrix32[SWR_CH_MAX][SWR_CH_MAX];
-    uint8_t matrix_ch[SWR_CH_MAX][SWR_CH_MAX+1];
+    float matrix[SWR_CH_MAX][SWR_CH_MAX];           ///< floating point rematrixing coefficients
+    int32_t matrix32[SWR_CH_MAX][SWR_CH_MAX];       ///< 17.15 fixed point rematrixing coefficients
+    uint8_t matrix_ch[SWR_CH_MAX][SWR_CH_MAX+1];    ///< Lists of input channels per output channel that have non zero rematrixing coefficients
 
     /* TODO: callbacks for ASM optimizations */
 }SwrContext;



More information about the ffmpeg-cvslog mailing list