Home
last modified time | relevance | path

Searched refs:kNumFrames (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/common_audio/
Daudio_util_unittest.cc141 const size_t kNumFrames = 4; in TEST() local
143 const int16_t interleaved[kNumChannels * kNumFrames] = {1, 2, -1, -3}; in TEST()
144 int16_t deinterleaved[kNumFrames]; in TEST()
146 DownmixInterleavedToMono(interleaved, kNumFrames, kNumChannels, in TEST()
152 const size_t kNumFrames = 2; in TEST() local
154 const int16_t interleaved[kNumChannels * kNumFrames] = {10, 20, -10, -30}; in TEST()
155 int16_t deinterleaved[kNumFrames]; in TEST()
157 DownmixInterleavedToMono(interleaved, kNumFrames, kNumChannels, in TEST()
159 const int16_t expected[kNumFrames] = {15, -20}; in TEST()
164 const size_t kNumFrames = 3; in TEST() local
[all …]
Dblocker_unittest.cc127 const size_t kNumFrames = 10; in TEST_F() local
132 const float kInput[kNumInputChannels][kNumFrames] = { in TEST_F()
136 ChannelBuffer<float> input_cb(kNumFrames, kNumInputChannels); in TEST_F()
139 const float kExpectedOutput[kNumInputChannels][kNumFrames] = { in TEST_F()
142 ChannelBuffer<float> expected_output_cb(kNumFrames, kNumInputChannels); in TEST_F()
148 ChannelBuffer<float> actual_output_cb(kNumFrames, kNumOutputChannels); in TEST_F()
163 kNumFrames, in TEST_F()
174 kNumFrames); in TEST_F()
180 const size_t kNumFrames = 12; in TEST_F() local
185 const float kInput[kNumInputChannels][kNumFrames] = { in TEST_F()
[all …]
Daudio_ring_buffer_unittest.cc95 const size_t kNumFrames = sizeof(kInputArray) / sizeof(*kInputArray); in TEST_F() local
96 ChannelBuffer<float> input(kNumFrames, kNumChannels); in TEST_F()
97 input.SetDataForTesting(kInputArray, kNumFrames); in TEST_F()
98 AudioRingBuffer buf(kNumChannels, kNumFrames); in TEST_F()
99 buf.Write(input.channels(), kNumChannels, kNumFrames); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/
Dreceiver_unittest.cc180 const int kNumFrames = kDefaultFrameRate * kMaxNonDecodableDuration / 1000; in TEST_F() local
181 for (int i = 0; i < kNumFrames; ++i) { in TEST_F()
470 const size_t kNumFrames = 100; in TEST_F() local
472 int64_t arrive_timestamps[kNumFrames]; in TEST_F()
473 int64_t render_timestamps[kNumFrames]; in TEST_F()
479 for (size_t i = 0; i < kNumFrames; i++) { in TEST_F()
488 clock_.SetFrames(arrive_timestamps, render_timestamps, kNumFrames); in TEST_F()
498 while (num_frames_return < kNumFrames) { in TEST_F()
527 const size_t kNumFrames = 100; in TEST_F() local
530 int64_t arrive_timestamps[kNumFrames]; in TEST_F()
[all …]
/external/libvpx/libvpx/test/
Ddecode_svc_test.cc22 const unsigned int kNumFrames = 19; variable
66 ASSERT_EQ(total_frames_, kNumFrames); in TEST_P()
83 ASSERT_EQ(total_frames_, kNumFrames); in TEST_P()
100 ASSERT_EQ(total_frames_, kNumFrames); in TEST_P()
118 ASSERT_EQ(total_frames_, kNumFrames); in TEST_P()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dscreenshare_layers_unittest.cc191 const int kNumFrames = kSyncPeriodSeconds * kFrameRate * 2 - 1; variable
192 for (int i = 0; i < kNumFrames; ++i) {
211 const int kNumFrames = kMaxSyncPeriodSeconds * kFrameRate * 2 - 1; variable
212 for (int i = 0; i < kNumFrames; ++i) {
239 const int kNumFrames = (kSyncPeriodSeconds + variable
242 for (int i = 0; i < kNumFrames; ++i) {
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dobject_tracker.h180 if (curr_num_frame_pairs_ > kNumFrames) { in IncrementFrameIndex()
189 return (first_frame_index_ + offset) % kNumFrames; in GetNthIndexFromStart()
215 FramePair frame_pairs_[kNumFrames];
Dconfig.h100 static const int kNumFrames = 512; variable
Dobject_tracker.cc56 for (int i = 0; i < kNumFrames; ++i) { in ObjectTracker()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc34 const int kNumFrames = 30; variable
263 for (int frame = 0; frame < kNumFrames; ++frame) { in RunRtxTest()
308 for (int frame = 0; frame < kNumFrames; ++frame) { in TEST_F()
Dproducer_fec_unittest.cc153 const int kNumFrames = 2; in TEST_F() local
159 for (int i = 0; i < kNumFrames; ++i) { in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc638 const int kNumFrames = 3000; // Needed for convergence. in TEST_F() local
642 while (frame_index < kNumFrames) { in TEST_F()
669 const int kNumFrames = 5000; // Needed for convergence. in TEST_F() local
673 for (int i = 0; i < kNumFrames; ++i) { in TEST_F()