OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:audioFrame
(Results
1 - 9
of
9
) sorted by null
/external/webrtc/webrtc/modules/utility/source/
coder.cc
51
int32_t AudioCoder::Decode(
AudioFrame
& decodedAudio,
71
int32_t AudioCoder::PlayoutData(
AudioFrame
& decodedAudio,
77
int32_t AudioCoder::Encode(const
AudioFrame
& audio,
83
AudioFrame
audioFrame
;
84
audioFrame
.CopyFrom(audio);
85
audioFrame
.timestamp_ = _encodeTimestamp;
86
_encodeTimestamp += static_cast<uint32_t>(
audioFrame
.samples_per_channel_);
91
if(_acm->Add10MsData((
AudioFrame
&)
audioFrame
) == -1
[
all
...]
/external/webrtc/webrtc/modules/audio_coding/test/
SpatialAudio.cc
153
AudioFrame
audioFrame
;
161
_inFile.Read10MsData(
audioFrame
);
162
for (size_t n = 0; n <
audioFrame
.samples_per_channel_; n++) {
163
audioFrame
.data_[n] = (int16_t) floor(
164
audioFrame
.data_[n] * leftPanning + 0.5);
166
CHECK_ERROR(_acmLeft->Add10MsData(
audioFrame
));
168
for (size_t n = 0; n <
audioFrame
.samples_per_channel_; n++) {
169
audioFrame
.data_[n] = (int16_t) floor(
170
audioFrame
.data_[n] * rightToLeftRatio + 0.5)
[
all
...]
TestRedFec.cc
454
AudioFrame
audioFrame
;
462
EXPECT_GT(_inFileA.Read10MsData(
audioFrame
), 0);
463
EXPECT_GE(_acmA->Add10MsData(
audioFrame
), 0);
464
EXPECT_EQ(0, _acmB->PlayoutData10Ms(outFreqHzB, &
audioFrame
));
465
_outFileB.Write10MsData(
audioFrame
.data_,
audioFrame
.samples_per_channel_);
iSACTest.cc
198
AudioFrame
audioFrame
;
199
EXPECT_GT(_inFileA.Read10MsData(
audioFrame
), 0);
200
EXPECT_GE(_acmA->Add10MsData(
audioFrame
), 0);
201
EXPECT_GE(_acmB->Add10MsData(
audioFrame
), 0);
202
EXPECT_EQ(0, _acmA->PlayoutData10Ms(32000, &
audioFrame
));
203
_outFileA.Write10MsData(
audioFrame
);
204
EXPECT_EQ(0, _acmB->PlayoutData10Ms(32000, &
audioFrame
));
205
_outFileB.Write10MsData(
audioFrame
);
EncodeDecodeTest.cc
210
AudioFrame
audioFrame
;
212
int32_t ok =_acm->PlayoutData10Ms(_frequency, &
audioFrame
);
220
_pcmFile.Write10MsData(
audioFrame
.data_,
221
audioFrame
.samples_per_channel_ *
audioFrame
.num_channels_);
TwoWayCommunication.cc
251
AudioFrame
audioFrame
;
262
EXPECT_GT(_inFileA.Read10MsData(
audioFrame
), 0);
263
EXPECT_GE(_acmA->Add10MsData(
audioFrame
), 0);
264
EXPECT_GE(_acmRefA->Add10MsData(
audioFrame
), 0);
266
EXPECT_GT(_inFileB.Read10MsData(
audioFrame
), 0);
268
EXPECT_GE(_acmB->Add10MsData(
audioFrame
), 0);
269
EXPECT_GE(_acmRefB->Add10MsData(
audioFrame
), 0);
270
EXPECT_EQ(0, _acmA->PlayoutData10Ms(outFreqHzA, &
audioFrame
));
271
_outFileA.Write10MsData(
audioFrame
);
[
all
...]
APITest.cc
325
AudioFrame
audioFrame
;
326
if (_acmA->PlayoutData10Ms(_outFreqHzA, &
audioFrame
) < 0) {
337
_outFileA.Write10MsData(
audioFrame
);
345
AudioFrame
audioFrame
;
346
if (_acmB->PlayoutData10Ms(_outFreqHzB, &
audioFrame
) < 0) {
358
_outFileB.Write10MsData(
audioFrame
);
366
AudioFrame
audioFrame
;
[
all
...]
/frameworks/av/media/libstagefright/webm/
WebmFrameThread.cpp
207
const sp<WebmFrame>
audioFrame
= mAudioFrames.peek();
208
ALOGV("a frame: %p",
audioFrame
.get());
210
if (videoFrame->mEos &&
audioFrame
->mEos) {
214
if (*
audioFrame
< *videoFrame) {
217
outstandingFrames.push_back(
audioFrame
);
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
audio_conference_mixer_impl.cc
24
AudioFrame
*
audioFrame
;
35
void MixFrames(
AudioFrame
* mixed_frame,
AudioFrame
* frame, bool use_limiter) {
142
MemoryPool<
AudioFrame
>::CreateMemoryPool(_audioFramePool,
174
MemoryPool<
AudioFrame
>::DeleteMemoryPool(_audioFramePool);
264
// Get an
AudioFrame
for mixing from the memory pool.
265
AudioFrame
* mixedAudio = NULL;
286
AudioFrame
::kNormalSpeech,
287
AudioFrame
::kVadPassive, num_mixed_channels)
[
all
...]
Completed in 94 milliseconds