Home
last modified time | relevance | path

Searched refs:kSamples (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dtransform_unittest.cc14 static const int kSamples = FRAMESAMPLES/2; variable
15 static int32_t spec2time_out_expected_1[kSamples] = {-3366470, -2285227,
48 static int32_t spec2time_out_expected_2[kSamples]= {1691694, -2499988, -2035547,
82 static int16_t time2spec_out_expected_1[kSamples]= {20342, 23889, -10063, -9419,
102 static int16_t time2spec_out_expected_2[kSamples]= {14283, -11552, -15335, 6626,
133 int16_t data_in_1[kSamples] = {0}; in Time2SpecTester()
134 int16_t data_in_2[kSamples] = {0}; in Time2SpecTester()
135 int16_t data_out_1[kSamples] = {0}; in Time2SpecTester()
136 int16_t data_out_2[kSamples] = {0}; in Time2SpecTester()
138 for(int i = 0; i < kSamples; i++) { in Time2SpecTester()
[all …]
Dfilterbanks_unittest.cc24 const int kSamples = QLOOKAHEAD; in CalculateResidualEnergyTester() local
26 int16_t data_ch1[kSamples] = {0}; in CalculateResidualEnergyTester()
27 int16_t data_ch2[kSamples] = {0}; in CalculateResidualEnergyTester()
32 const int32_t out_data_ch1[kSamples] = {0, 0, 347, 10618, 16718, -7089, in CalculateResidualEnergyTester()
35 const int32_t out_data_ch2[kSamples] = {0, 0, 3010, 22351, 21106, 16969, in CalculateResidualEnergyTester()
40 for (int i = 0; i < kSamples; i++) { in CalculateResidualEnergyTester()
50 kSamples, in CalculateResidualEnergyTester()
54 for (int i = 0; i < kSamples; i++) { in CalculateResidualEnergyTester()
77 const int kSamples = 20; in TEST_F() local
78 int16_t in[kSamples]; in TEST_F()
[all …]
/external/chromium_org/remoting/host/
Daudio_silence_detector_unittest.cc45 const int16 kSamples[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in TEST() local
48 TestSilenceDetector(&target, kSamples, arraysize(kSamples), true); in TEST()
52 const int16 kSamples[] = {65, 73, 83, 89, 92, -1, 5, 9, 123, 0}; in TEST() local
55 TestSilenceDetector(&target, kSamples, arraysize(kSamples), false); in TEST()
59 const int16 kSamples[] = {0, 0, 0, 0, 1, 0, 0, -1, 0, 0}; in TEST() local
62 TestSilenceDetector(&target1, kSamples, arraysize(kSamples), false); in TEST()
65 TestSilenceDetector(&target2, kSamples, arraysize(kSamples), true); in TEST()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
Dinput_audio_file_unittest.cc21 static const size_t kSamples = 10; in TEST() local
23 int16_t input[kSamples]; in TEST()
24 for (size_t i = 0; i < kSamples; ++i) { in TEST()
27 int16_t output[kSamples * kChannels]; in TEST()
28 InputAudioFile::DuplicateInterleaved(input, kSamples, kChannels, output); in TEST()
32 for (size_t i = 0; i < kSamples; ++i) { in TEST()
40 static const size_t kSamples = 10; in TEST() local
42 int16_t input[kSamples * kChannels]; in TEST()
43 for (size_t i = 0; i < kSamples; ++i) { in TEST()
46 InputAudioFile::DuplicateInterleaved(input, kSamples, kChannels, input); in TEST()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
Disacfix_unittest.cc73 const int kSamples = 20; in TEST_F() local
74 int16_t in[kSamples]; in TEST_F()
77 int32_t out[kSamples] = {-1040, -1035, -22875, -1397, -27604, 20018, 7917, in TEST_F()
81 int32_t out[kSamples] = {-1040, -1035, -22875, -1397, -27604, 20017, 7915, in TEST_F()
86 for(int i = 0; i < kSamples; i++) { in TEST_F()
90 WebRtcIsacfix_HighpassFilterFixDec32(in, kSamples, in TEST_F()
93 for(int i = 0; i < kSamples; i++) { in TEST_F()
/external/chromium_org/gpu/command_buffer/service/
Drenderbuffer_manager_unittest.cc137 const GLsizei kSamples = 4; in TEST_F() local
141 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight); in TEST_F()
142 EXPECT_EQ(kSamples, renderbuffer1->samples()); in TEST_F()
155 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight); in TEST_F()
175 const GLsizei kSamples = 4; in TEST_F() local
183 kWidth, kHeight1, kSamples, kFormat, &expected_size_1); in TEST_F()
185 kWidth, kHeight2, kSamples, kFormat, &expected_size_2); in TEST_F()
188 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight1); in TEST_F()
193 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight2); in TEST_F()
211 const GLsizei kSamples = 4; in TEST_F() local
[all …]
Dframebuffer_manager_unittest.cc698 const GLsizei kSamples = 0; in TEST_F() local
709 GL_COLOR_ATTACHMENT0, texture.get(), kTarget, kLevel, kSamples); in TEST_F()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc453 const int kSamples = 10 * 16; in TEST_F() local
454 const int kPayloadBytes = kSamples * 2; in TEST_F()
456 uint16_t payload[kSamples] = {0}; in TEST_F()
459 rtp_info.header.timestamp = i * kSamples; in TEST_F()
497 uint16_t payload[kSamples] = {0}; in TEST_F()
500 rtp_info.header.timestamp = i * kSamples; in TEST_F()
523 const int kSamples = 10 * 16; in TEST_F() local
524 const int kPayloadBytes = kSamples * 2; in TEST_F()
532 PopulateRtpInfo(frame_index, frame_index * kSamples, &rtp_info); in TEST_F()
554 const int kSamples = 10 * 16; in TEST_F() local
[all …]
/external/chromium_org/third_party/webrtc/common_audio/
Dwav_writer_unittest.cc23 static const float kSamples[] = {0.0, 10.0, 4e4, -1e9}; variable
34 w.WriteSamples(kSamples, kNumSamples); in TEST()
75 rtc_WavWriteSamples(w, &kSamples[0], 2); in TEST()
77 rtc_WavWriteSamples(w, &kSamples[2], kNumSamples - 2); in TEST()
/external/chromium_org/chrome/browser/media/
Dcast_transport_host_filter_unittest.cc103 const int kSamples = 47; in TEST_F() local
106 audio_frame.data = std::string(kSamples * kBytesPerSample * kChannels, 'q'); in TEST_F()
/external/chromium_org/gpu/command_buffer/common/
Dgles2_cmd_utils.cc798 const int32 kSamples = 0x3031; // EGL_SAMPLES variable
852 attribs->push_back(kSamples); in Serialize()
903 case kSamples: in Parse()
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h168 kSamples enumerator
/external/chromium_org/third_party/icu/source/i18n/
Dplurrule_impl.h168 kSamples enumerator