OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kChannels
(Results
1 - 15
of
15
) sorted by null
/external/chromium_org/remoting/codec/
audio_encoder_opus_unittest.cc
22
const int
kChannels
= 2;
71
std::vector<int16> data(samples *
kChannels
);
73
data[i *
kChannels
] = GetSampleValue(rate, frequency_hz, i + pos, 0);
74
data[i *
kChannels
+ 1] = GetSampleValue(rate, frequency_hz, i + pos, 1);
79
samples *
kChannels
* sizeof(int16));
92
i < received_data.size() /
kChannels
- 1; i++) {
93
int16 this_sample = received_data[i *
kChannels
];
94
int16 next_sample = received_data[(i + 1) *
kChannels
];
113
i < received_data.size() /
kChannels
; i++) {
114
double d = received_data[i *
kChannels
]
[
all
...]
/external/chromium_org/media/base/
audio_fifo_unittest.cc
28
static const int
kChannels
= 6;
30
AudioFifo fifo(
kChannels
, kMaxFrameCount);
36
static const int
kChannels
= 2;
38
AudioFifo fifo(
kChannels
, kMaxFrameCount);
41
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kMaxFrameCount / 2);
49
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kMaxFrameCount);
59
static const int
kChannels
= 2;
61
AudioFifo fifo(
kChannels
, kMaxFrameCount);
63
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kMaxFrameCount);
69
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kMaxFrameCount / 2)
[
all
...]
audio_pull_fifo_unittest.cc
21
static int
kChannels
= 2;
30
: pull_fifo_(
kChannels
, kMaxFramesInFifo, base::Bind(
32
audio_bus_(AudioBus::Create(
kChannels
, kMaxFramesInFifo)),
52
for (int j = 0; j <
kChannels
; ++j) {
audio_bus_unittest.cc
16
static const int
kChannels
= 6;
32
EXPECT_EQ(
kChannels
, bus->channels());
108
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kFrameCount);
124
data_.reserve(
kChannels
);
125
for (int i = 0; i <
kChannels
; ++i) {
169
scoped_ptr<AudioBus> bus1 = AudioBus::Create(
kChannels
, kFrameCount);
179
data_.reserve(
kChannels
);
180
for (int i = 0; i <
kChannels
; ++i) {
203
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kFrameCount);
386
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, kFrameCount)
[
all
...]
audio_splicer_unittest.cc
17
static const int
kChannels
= 1;
36
kChannels
,
48
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, frames);
/external/chromium_org/remoting/client/
audio_player.cc
14
const int
kChannels
= 2;
39
DCHECK_EQ(static_cast<int>(
kChannels
), packet->channels());
40
DCHECK_EQ(packet->data(0).size() % (
kChannels
* kSampleSizeBytes), 0u);
70
kMaxQueueLatencyMs * sampling_rate_ * kSampleSizeBytes *
kChannels
/
99
const size_t bytes_needed =
kChannels
* kSampleSizeBytes *
/external/chromium_org/remoting/host/
audio_capturer_win.cc
18
const int
kChannels
= 2;
123
wave_format_ex_->nChannels =
kChannels
;
125
wave_format_ex_->nBlockAlign =
kChannels
* kBytesPerSample;
127
sampling_rate_ *
kChannels
* kBytesPerSample;
146
wave_format_extensible->Format.nChannels =
kChannels
;
150
kChannels
* kBytesPerSample;
152
sampling_rate_ *
kChannels
* kBytesPerSample;
193
silence_detector_.Reset(sampling_rate_,
kChannels
);
247
reinterpret_cast<const int16*>(data), frames *
kChannels
)) {
/external/chromium_org/native_client_sdk/src/examples/api/audio/
audio.cc
26
const uint32_t
kChannels
= 2u;
72
(sizeof(*buff) *
kChannels
* instance->sample_frame_count_));
82
for (size_t channel = 0; channel <
kChannels
; ++channel) {
/external/chromium_org/media/filters/
audio_renderer_algorithm_unittest.cc
422
const int
kChannels
= 3;
426
scoped_ptr<AudioBus> a = AudioBus::Create(
kChannels
, kFrames);
427
scoped_ptr<AudioBus> b = AudioBus::Create(
kChannels
, kFrames);
429
scoped_ptr<float[]> dot_prod(new float[
kChannels
]);
455
const int
kChannels
= 2;
459
scoped_ptr<AudioBus> a = AudioBus::Create(
kChannels
, kFrames);
460
scoped_ptr<float[]> energies(new float[
kChannels
* kNumBlocks]);
493
const int
kChannels
= 2;
501
scoped_ptr<AudioBus> search_region = AudioBus::Create(
kChannels
,
515
scoped_ptr<AudioBus> target = AudioBus::Create(
kChannels
,
[
all
...]
audio_renderer_impl_unittest.cc
35
static int
kChannels
= ChannelLayoutToChannelCount(kChannelLayout);
236
kChannels
,
269
AudioBus::Create(
kChannels
, std::max(requested_frames, 1));
291
scoped_ptr<AudioBus> bus = AudioBus::Create(
kChannels
, 1024);
/external/chromium_org/remoting/host/linux/
audio_pipe_reader.cc
24
const int
kChannels
= 2;
27
kSamplesPerSecond *
kChannels
* kBytesPerSample;
151
int incomplete_samples_bytes = pos % (
kChannels
* kBytesPerSample);
/external/webrtc/src/common_audio/resampler/
resampler_unittest.cc
120
const int
kChannels
= 2;
128
int in_length =
kChannels
* kRates[i] / 100;
134
EXPECT_EQ(
kChannels
* kRates[j] / 100, out_length);
/external/chromium_org/chrome/installer/util/
channel_info.cc
28
const wchar_t* const
kChannels
[] = {
167
for (const wchar_t* const* scan = &
kChannels
[0],
168
*const* end = &
kChannels
[arraysize(
kChannels
)]; scan != end;
/external/chromium_org/media/audio/mac/
audio_synchronized_mac.cc
23
static const int
kChannels
= 2;
77
fifo_(
kChannels
, kFifoSize),
87
channels_(
kChannels
) {
98
if (params_.channels() !=
kChannels
) {
/external/opencv/cxcore/include/
cvwimage.h
264
enum {
kChannels
= C };
362
enum {
kChannels
= C };
458
enum {
kChannels
= C };
Completed in 130 milliseconds