OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inIdx
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/media/libeffects/visualizer/
EffectVisualizer.cpp
326
uint32_t
inIdx
;
329
for (
inIdx
= 0 ;
inIdx
< inBuffer->frameCount * pContext->mChannelCount ;
inIdx
++) {
330
if (inBuffer->s16[
inIdx
] > maxSample) {
331
maxSample = inBuffer->s16[
inIdx
];
332
} else if (-inBuffer->s16[
inIdx
] > maxSample) {
333
maxSample = -inBuffer->s16[
inIdx
];
335
rmsSqAcc += (inBuffer->s16[
inIdx
] * inBuffer->s16[
inIdx
]);
[
all
...]
/frameworks/av/media/libeffects/loudness/
EffectLoudnessEnhancer.cpp
283
uint16_t
inIdx
;
286
for (
inIdx
= 0 ;
inIdx
< inBuffer->frameCount ;
inIdx
++) {
288
leftSample = inputAmp * (float)inBuffer->s16[2*
inIdx
];
289
rightSample = inputAmp * (float)inBuffer->s16[2*
inIdx
+1];
291
inBuffer->s16[2*
inIdx
] = (int16_t) leftSample;
292
inBuffer->s16[2*
inIdx
+1] = (int16_t) rightSample;
/device/htc/flounder/audio/visualizer/
nv_offload_visualizer.c
652
uint32_t
inIdx
;
655
for (
inIdx
= 0 ;
inIdx
< inBuffer->frameCount * visu_ctxt->channel_count ;
inIdx
++) {
656
if (inBuffer->s16[
inIdx
] > max_sample) {
657
max_sample = inBuffer->s16[
inIdx
];
658
} else if (-inBuffer->s16[
inIdx
] > max_sample) {
659
max_sample = -inBuffer->s16[
inIdx
];
661
rms_squared_acc += (inBuffer->s16[
inIdx
] * inBuffer->s16[
inIdx
]);
[
all
...]
/hardware/qcom/audio/visualizer/
offload_visualizer.c
727
uint32_t
inIdx
;
730
for (
inIdx
= 0 ;
inIdx
< inBuffer->frameCount * visu_ctxt->channel_count ;
inIdx
++) {
731
if (inBuffer->s16[
inIdx
] > max_sample) {
732
max_sample = inBuffer->s16[
inIdx
];
733
} else if (-inBuffer->s16[
inIdx
] > max_sample) {
734
max_sample = -inBuffer->s16[
inIdx
];
736
rms_squared_acc += (inBuffer->s16[
inIdx
] * inBuffer->s16[
inIdx
]);
[
all
...]
Completed in 244 milliseconds