OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // m_dbKnee is the number of dB above the threshold before we enter the "rat
io" portion of the curve. | 118 // m_dbKnee is the number of dB above the threshold before we enter the "rat
io" portion of the curve. |
119 // m_kneeThresholdDb = m_dbThreshold + m_dbKnee | 119 // m_kneeThresholdDb = m_dbThreshold + m_dbKnee |
120 // The portion between m_dbThreshold and m_kneeThresholdDb is the "soft knee
" portion of the curve | 120 // The portion between m_dbThreshold and m_kneeThresholdDb is the "soft knee
" portion of the curve |
121 // which transitions smoothly from the linear portion to the ratio portion. | 121 // which transitions smoothly from the linear portion to the ratio portion. |
122 float m_dbKnee; | 122 float m_dbKnee; |
123 float m_kneeThreshold; | 123 float m_kneeThreshold; |
124 float m_kneeThresholdDb; | 124 float m_kneeThresholdDb; |
125 float m_ykneeThresholdDb; | 125 float m_ykneeThresholdDb; |
126 | 126 |
127 // Internal parameter for the knee portion of the curve. | 127 // Internal parameter for the knee portion of the curve. |
128 float m_K; | 128 float m_knee; |
129 }; | 129 }; |
130 | 130 |
131 } // namespace blink | 131 } // namespace blink |
132 | 132 |
133 #endif // DynamicsCompressorKernel_h | 133 #endif // DynamicsCompressorKernel_h |
OLD | NEW |