HomeSort by relevance Sort by last modified time
    Searched full:energy (Results 1 - 25 of 297) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /gdk/samples/PhotoEditor/jni/
duotone.cpp 65 for (uint32_t energy = 0; energy < kEnergyLevels; energy++) {
66 r_table[energy] = (uint8_t)(red1 + energy * r_delta / kEnergyLevels);
67 g_table[energy] = (uint8_t)(green1 + energy * g_delta / kEnergyLevels);
68 b_table[energy] = (uint8_t)(blue1 + energy * b_delta / kEnergyLevels);
77 uint32_t energy = src->rgba8[0] + src->rgba8[1] + src->rgba8[2] local
    [all...]
heq.cpp 133 // The energy has the range of [0, kEnergyLevels]
137 // Store all the energy in the dst_pixels
181 // significant for greater energy. For the smaller part, the mask does the
184 // curve based on the energy 'e', for the smaller part, e^2 is used. For the
185 // greater part, e^1.5 is used. That is, for pixel with energy 'e', the mask
204 if (!dp->rgba32) { // the energy is 0, no changes will be made.
207 uint32_t energy = dp->rgba32; local
209 int mask_value = energy - energy_middle;
220 // The final picture is masked by the original energy.
221 // Assumption: Lower energy can result in low-confidence information an
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
block_switch.h 31 #define BLOCK_SWITCH_WINDOWS TRANS_FAC /* number of windows for energy calculation */
32 #define BLOCK_SWITCH_WINDOW_LEN FRAME_LEN_SHORT /* minimal granularity of energy calculation */
47 Word32 windowNrg[2][BLOCK_SWITCH_WINDOWS]; /* time signal energy in Subwindows (last and current) */
48 Word32 windowNrgF[2][BLOCK_SWITCH_WINDOWS]; /* filtered time signal energy in segments (last and current) */
50 Word32 maxWindowNrg; /* max energy in subwindows */
band_nrg.h 19 Content: Band/Line energy calculations functions
spreading.h 19 Content: Spreading of energy functions
psy_configuration.h 33 Word16 sfbActive; /* number of sf bands containing energy after lowpass */
63 Word16 sfbActive; /* number of sf bands containing energy after lowpass */
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
EnergyProbe.java 23 * The EnergyProbe class provides audio signal energy measurements based on the FFT returned
25 * value has no unit and is just proportional to the amount of energy present around the
57 int energy = 0; local
70 energy += (int)mFft[0] * (int)mFft[0];
83 energy += tmp/j;
97 return energy/count;
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
grp_data.c 125 Word32 energy = sfbEnergy->sfbShort[wnd][sfb]; local
127 energy = L_add(energy, sfbEnergy->sfbShort[wnd+j][sfb]);
129 sfbEnergy->sfbLong[i] = energy;
140 Word32 energy = sfbEnergyMS->sfbShort[wnd][sfb]; local
142 energy = L_add(energy, sfbEnergyMS->sfbShort[wnd+j][sfb]);
144 sfbEnergyMS->sfbLong[i] = energy;
155 Word32 energy = sfbSpreadedEnergy->sfbShort[wnd][sfb]; local
157 energy = L_add(energy, sfbSpreadedEnergy->sfbShort[wnd+j][sfb])
    [all...]
spreading.c 19 Content: Spreading of energy function
30 * description: spreading the energy
  /cts/tests/tests/media/src/android/media/cts/
VisualizerTest.java 135 int energy = computeEnergy(data, true); local
136 assertEquals("getWaveForm reports energy for silence",
137 0, energy);
139 energy = computeEnergy(data, false);
140 assertEquals("getFft reports energy for silence",
141 0, energy);
179 int energy = computeEnergy(mWaveform, true); local
180 assertEquals("getWaveForm reports energy for silence",
181 0, energy);
195 energy = computeEnergy(mFft, false)
214 int energy = 0; local
    [all...]
  /external/opencv/cv/src/
cvsnakes.cpp 58 // alpha - pointer to coefficient of continuity energy,
59 // beta - pointer to coefficient of curvature energy,
60 // gamma - pointer to coefficient of image energy,
64 // scheme - image energy scheme
65 // if _CV_SNAKE_IMAGE - image intensity is energy
66 // if _CV_SNAKE_GRAD - magnitude of gradient is energy
216 float energy; local
228 Econt[(j + centery) * win.width + k + centerx] = energy =
232 maxEcont = MAX( maxEcont, energy );
233 minEcont = MIN( minEcont, energy );
251 float energy; local
286 float energy; local
    [all...]
  /external/webrtc/src/common_audio/vad/
vad_filterbank.c 162 // Energy in 3000 Hz - 4000 Hz
167 // Energy in 2000 Hz - 3000 Hz
181 // Energy in 1000 Hz - 2000 Hz
196 // Energy in 500 Hz - 1000 Hz
211 // Energy in 250 Hz - 500 Hz
234 int32_t energy = WebRtcSpl_Energy(vector, vector_length, &shfts); local
236 if (energy > 0) {
238 shfts2 = 16 - WebRtcSpl_NormW32(energy);
242 energy_s16 = (int16_t) WEBRTC_SPL_SHIFT_W32(energy, -shfts2);
  /cts/suite/audio_quality/lib/src/
BuiltinProcessing.cpp 58 double energy = 0.0f; local
60 energy += (rawData[i] * rawData[i]);
62 rms = (int64_t)sqrt(energy/samples);
  /external/aac/libAACenc/src/
grp_data.cpp 199 FIXP_DBL energy = sfbEnergy->Short[wnd][sfb]; local
202 energy = nrgAddSaturate(energy, sfbEnergy->Short[wnd+j][sfb]);
204 sfbEnergy->Long[i++] = energy;
217 FIXP_DBL energy = sfbEnergyMS->Short[wnd][sfb]; local
220 energy = nrgAddSaturate(energy, sfbEnergyMS->Short[wnd+j][sfb]);
222 sfbEnergyMS->Long[i++] = energy;
235 FIXP_DBL energy = sfbSpreadEnergy->Short[wnd][sfb]; local
238 energy = nrgAddSaturate(energy, sfbSpreadEnergy->Short[wnd+j][sfb])
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaVisualizerTest.java 259 int energy = computeEnergy(data, true); local
260 assertEquals(msg +": getWaveForm reports energy for silence",
261 0, energy);
263 energy = computeEnergy(data, false);
264 assertEquals(msg +": getFft reports energy for silence",
265 0, energy);
271 energy = computeEnergy(data, true);
273 energy > 0);
275 energy = computeEnergy(data, false);
277 energy > 0)
358 int energy = computeEnergy(mWaveform, true); local
527 int energy = 0; local
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/
COPYING 3 which operates under a contract with the Department of Energy:
13 Department of Energy and the University of California.
  /prebuilts/misc/darwin-x86/flex/
NOTICE 3 which operates under a contract with the Department of Energy:
13 Department of Energy and the University of California.
  /prebuilts/misc/linux-x86/flex/
NOTICE 3 which operates under a contract with the Department of Energy:
13 Department of Energy and the University of California.
  /prebuilts/misc/windows/flex/
NOTICE 3 which operates under a contract with the Department of Energy:
13 Department of Energy and the University of California.
  /external/webrtc/src/modules/audio_processing/aecm/
aecm_core.h 54 // Energy parameters
55 #define MAX_BUF_LEN 64 // History length of energy signals
57 #define FAR_ENERGY_MIN 1025 // Lowest Far energy level: At least 2 in energy
60 #define ENERGY_DEV_OFFSET 0 // The energy error offset in Q8
61 #define ENERGY_DEV_TOL 400 // The energy estimation tolerance in Q8
64 #define MU_MIN 10 // Min stepsize 2^-MU_MIN (far end energy dependent)
65 #define MU_MAX 1 // Max stepsize 2^-MU_MAX (far end energy dependent)
69 // energy to compare channel estimates
75 #define CHANNEL_VAD 16 // Minimum energy in frequency band to update channe
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
calc_en.cpp 42 This file contains the functions that calculate the energy coefficients
44 the target energy.
98 frac_en = energy coefficients (4), fraction part, buffer type Word16
99 exp_en = energy coefficients (4), exponent part, buffer type Word16
104 frac_en buffer containing new fractional parts of energy coefficients
105 exp_en buffer containing new exponential parts of energy coefficients
121 This function calculates several energy coefficients for unfiltered
124 frac_en[0]*2^exp_en[0] = <res res> LP residual energy
125 frac_en[1]*2^exp_en[1] = <exc exc> LTP residual energy
127 frac_en[3]*2^exp_en[3] = <lres lres> LTP residual energy
    [all...]
  /external/webrtc/src/modules/audio_processing/agc/
analog_agc.h 78 WebRtc_Word32 upperLimit; // Upper limit for mic energy
79 WebRtc_Word32 lowerLimit; // Lower limit for mic energy
80 WebRtc_Word32 Rxx160w32; // Average energy for one frame
83 WebRtc_Word32 Rxx16_LPw32Max; // Keeps track of largest energy subframe
85 WebRtc_Word32 Rxx16w32_array[2][5];// Energy values of microphone signal
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DuotoneFilter.java 54 " float energy = (color.r + color.g + color.b) * 0.3333;\n" +
55 " vec3 new_color = (1.0 - energy) * first + energy * second;\n" +
  /frameworks/wilhelm/src/android/
android_Effect.h 101 * sendLevel is the total energy going to the send bus. This implies that the volume attenuation
108 * sendLevel is the total energy going to the send bus. This implies that the volume attenuation
116 * sendLevel is the total energy going to the send bus. This implies that the volume attenuation
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java 628 private static final int NUM_PERIODS_BLOCK = 10; // number of sine periods in one energy averaging block
629 private static final int THRESHOLD = 8; // absolute pseudo energy threshold
632 private static final int TOP = 2; // beep constant energy detected
636 int blockSize = 2 * sampleCount; // energy averaging block
648 long prevE = 0; // previous pseudo energy
650 int threshold = THRESHOLD*sampleCount; // absolute energy threshold
663 // compute pseudo energy
673 long energy = (sumxx*sampleCount - sumx*sumx)/(sampleCount*sampleCount); local
674 Log.d(TAG, "sumx " + sumx + " sumxx " + sumxx + " ee " + energy);
678 if (energy > threshold && energy > (prevE * 2) && prevE != 0)
    [all...]

Completed in 2879 milliseconds

1 2 3 4 5 6 7 8 91011>>