Home
last modified time | relevance | path

Searched refs:in_file (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer_test.cc45 WavReader in_file(FLAGS_i); in main() local
46 WavWriter out_file(FLAGS_o, in_file.sample_rate(), 1); in main()
48 const size_t num_mics = in_file.num_channels(); in main()
54 bf.Initialize(kChunkSizeMs, in_file.sample_rate()); in main()
57 FLAGS_i.c_str(), in_file.num_channels(), in_file.sample_rate()); in main()
62 rtc::CheckedDivExact(in_file.sample_rate(), kChunksPerSecond), in main()
63 in_file.num_channels()); in main()
69 while (in_file.ReadSamples(interleaved.size(), in main()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPjitter.cc100 FILE* in_file=fopen(argv[1],"rb"); in main() local
101 CHECK_NOT_NULL(in_file); in main()
132 rtp_vec = (unsigned char *) malloc(sizeof(unsigned char)*filelen(in_file)); in main()
139 EXPECT_TRUE(fgets(firstline, FIRSTLINELEN, in_file) != NULL); in main()
142 in_file)); in main()
151 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); in main()
156 len-2, in_file)!=(unsigned) (len-2)) { in main()
164 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); in main()
212 fclose(in_file); in main()
DRTPchange.cc27 FILE* in_file = fopen(argv[1], "rb"); in main() local
28 if (!in_file) { in main()
73 if (fgets(first_line, FIRSTLINELEN, in_file) == NULL) { in main()
80 if (fread(first_line, 1, kRtpDumpHeaderSize, in_file) in main()
100 if (new_packet->readFromFile(in_file) < 0) { in main()
129 fclose(in_file); in main()
Daudio_classifier_test.cc59 FILE* in_file = fopen(input_filename.c_str(), "rb"); in main() local
60 if (!in_file) { in main()
75 data_size, in_file) == (size_t) data_size) { in main()
102 fclose(in_file); in main()
DRTPencode.cc465 FILE* in_file = fopen(argv[1], "rb"); in main() local
466 CHECK_NOT_NULL(in_file); in main()
612 len = fread(org_data, 2, packet_size * numChannels, in_file) / numChannels; in main()
812 len = fread(org_data, 2, packet_size * numChannels, in_file) / numChannels; in main()
827 fclose(in_file); in main()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram_unittest.cc50 FILE* in_file = fopen(filename, "rb"); in RunTest() local
51 ASSERT_TRUE(in_file != NULL); in RunTest()
54 EXPECT_EQ(fread(&buffer_size, sizeof(buffer_size), 1, in_file), 1u); in RunTest()
64 while (fread(&io, sizeof(InputOutput), 1, in_file) == 1) { in RunTest()
72 if (fread(&io, sizeof(InputOutput), 1, in_file) != 1) in RunTest()
89 fclose(in_file); in RunTest()
/external/webrtc/webrtc/modules/audio_coding/test/
DTestVADDTX.cc87 PCMFile in_file; in Run() local
88 in_file.Open(in_filename, frequency, "rb"); in Run()
89 in_file.ReadStereo(channels > 1); in Run()
91 in_file.SetNum10MsBlocksToRead(100); in Run()
94 in_file.FastForward(50); in Run()
103 uint16_t frame_size_samples = in_file.PayloadLength10Ms(); in Run()
106 while (!in_file.EndOfFile()) { in Run()
107 in_file.Read10MsData(audio_frame); in Run()
115 in_file.Close(); in Run()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc77 bool ReadBuffers(FILE* in_file, in ReadBuffers() argument
95 in_file) != num_channels * audio_buffer_size) { in ReadBuffers()
148 FILE* in_file = fopen(FLAGS_in_file_name.c_str(), "rb"); in void_main() local
149 ASSERT_TRUE(in_file != NULL); in void_main()
197 while (ReadBuffers(in_file, in void_main()
233 fclose(in_file); in void_main()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.cc45 scoped_ptr<WavReader> in_file, in WavFileProcessor() argument
48 in_buf_(GetChannelBuffer(*in_file)), in WavFileProcessor()
50 input_config_(GetStreamConfig(*in_file)), in WavFileProcessor()
52 buffer_reader_(std::move(in_file)), in WavFileProcessor()
Daudioproc_float.cc135 auto in_file = rtc_make_scoped_ptr(new WavReader(FLAGS_i)); in main() local
136 std::cout << FLAGS_i << ": " << in_file->FormatAsString() << std::endl; in main()
137 processor.reset(new WavFileProcessor(std::move(ap), std::move(in_file), in main()
Ddebug_dump_test.cc272 FILE* in_file = fopen(in_filename.c_str(), "rb"); in VerifyDebugDump() local
273 ASSERT_TRUE(in_file); in VerifyDebugDump()
276 while (ReadMessageFromFile(in_file, &event_msg)) { in VerifyDebugDump()
295 fclose(in_file); in VerifyDebugDump()
Daudio_file_processor.h88 rtc::scoped_ptr<WavReader> in_file,
Daudio_processing_unittest.cc1714 FILE* in_file = fopen(in_filename.c_str(), "rb"); in ProcessDebugDump() local
1715 ASSERT_TRUE(in_file != NULL); in ProcessDebugDump()
1719 while (ReadMessageFromFile(in_file, &event_msg)) { in ProcessDebugDump()
1798 fclose(in_file); in ProcessDebugDump()
/external/owasp/sanitizer/tools/
Dcut_release.py121 in_file = open(path, "r")
123 file_content = in_file.read()
125 in_file.close()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/
Dintelligibility_proc.cc101 WavReader in_file(FLAGS_clear_file); in void_main() local
103 in_file.ReadSamples(samples, &in_fpcm[0]); in void_main()
/external/selinux/secilc/docs/
Dcil_container_statements.md241 (typetransition process msg_filter.move_file.in_queue file msg_filter.move_file.in_file)
243 (allow process msg_filter.move_file.in_file (file (write create getattr)))
244 (allow msg_filter.move_file.in_file unconfined.object (filesystem (associate)))
/external/autotest/client/tests/kvm/scripts/
Dvirtio_console_guest.py524 def open(self, in_file): argument
531 name = self.ports[in_file]["path"]
534 if (self.ports[in_file]["is_console"] == "yes"):
/external/autotest/client/cros/audio/
Daudio_helper.py362 def noise_reduce_file(in_file, noise_file, out_file, argument
378 (SOX_PATH, sox_format, in_file, sox_format, out_file))
/external/webp/
DREADME148 cwebp [-preset <...>] [options] in_file [-o out_file]
264 Usage: dwebp in_file [options] [-o out_file]
302 Usage: vwebp in_file [options]
/external/vulkan-validation-layers/
Dvk_helper.py1746 …def __init__(self, enum_type_dict=None, enum_val_dict=None, typedef_fwd_dict=None, in_file=None, o… argument
1750 self.in_file = in_file
1804 header.append('#include <vulkan/%s>\n\n\n' % self.in_file)