Browse code

swr: doxument matrix fields.

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

Michael Niedermayer authored on 2011/11/18 02:29:25
Showing 1 changed files
... ...
@@ -69,9 +69,9 @@ typedef struct SwrContext {
69 69
     struct AudioConvert *full_convert;              ///< full conversion context (single conversion for input and output)
70 70
     struct ResampleContext *resample;               ///< resampling context
71 71
 
72
-    float matrix[SWR_CH_MAX][SWR_CH_MAX];
73
-    int32_t matrix32[SWR_CH_MAX][SWR_CH_MAX];
74
-    uint8_t matrix_ch[SWR_CH_MAX][SWR_CH_MAX+1];
72
+    float matrix[SWR_CH_MAX][SWR_CH_MAX];           ///< floating point rematrixing coefficients
73
+    int32_t matrix32[SWR_CH_MAX][SWR_CH_MAX];       ///< 17.15 fixed point rematrixing coefficients
74
+    uint8_t matrix_ch[SWR_CH_MAX][SWR_CH_MAX+1];    ///< Lists of input channels per output channel that have non zero rematrixing coefficients
75 75
 
76 76
     /* TODO: callbacks for ASM optimizations */
77 77
 }SwrContext;