Home
last modified time | relevance | path

Searched full:frames (Results 1 – 25 of 13161) sorted by relevance

12345678910>>...527

/external/adhd/cras/src/tests/
Dfmt_conv_ops_unittest.cc92 const size_t frames = 4096; in TEST() local
96 U8Ptr src = CreateU8(frames * in_ch); in TEST()
97 S16LEPtr dst = CreateS16LE(frames * out_ch); in TEST()
99 convert_u8_to_s16le(src.get(), frames * in_ch, (uint8_t*)dst.get()); in TEST()
101 for (size_t i = 0; i < frames * in_ch; ++i) { in TEST()
109 const size_t frames = 4096; in TEST() local
113 S243LEPtr src = CreateS243LE(frames * in_ch); in TEST()
114 S16LEPtr dst = CreateS16LE(frames * out_ch); in TEST()
116 convert_s243le_to_s16le(src.get(), frames * in_ch, (uint8_t*)dst.get()); in TEST()
119 for (size_t i = 0; i < frames * in_ch; ++i) { in TEST()
[all …]
Da2dp_iodev_unittest.cc24 /* Fake the codec to encode (512/4) frames into 128 bytes. */
189 unsigned frames; in TEST_F() local
206 frames = 1500; in TEST_F()
207 iodev->get_buffer(iodev, &area1, &frames); in TEST_F()
208 ASSERT_EQ(1500, frames); in TEST_F()
209 ASSERT_EQ(1500, area1->frames); in TEST_F()
212 /* 1000 frames takes 8 encode call, FAKE_A2DP_CODE_SIZE / 4 = 128 in TEST_F()
223 frames = 1000; in TEST_F()
224 iodev->get_buffer(iodev, &area2, &frames); in TEST_F()
225 ASSERT_EQ(1000, frames); in TEST_F()
[all …]
/external/llvm/test/DebugInfo/
Ddwarfdump-debug-frame-simple.test1 …arfdump %p/Inputs/dwarfdump-test-32bit.elf.o -debug-dump=frames | FileCheck %s -check-prefix FRAMES
4 ; FRAMES: .debug_frame
5 ; FRAMES-NOT: .eh_frame
7 ; FRAMES: 00000000 00000010 ffffffff CIE
8 ; FRAMES: Version: 1
9 ; FRAMES: DW_CFA_def_cfa: reg4 +4
10 ; FRAMES-NEXT: DW_CFA_offset: reg8 -4
11 ; FRAMES-NEXT: DW_CFA_nop:
12 ; FRAMES-NEXT: DW_CFA_nop:
14 ; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022
[all …]
/external/llvm-project/llvm/test/DebugInfo/
Ddwarfdump-debug-frame-simple.test1 …vm-dwarfdump %p/Inputs/dwarfdump-test-32bit.elf.o --debug-frame | FileCheck %s -check-prefix FRAMES
5 ; FRAMES: .debug_frame
7 ; FRAMES: 00000000 00000010 ffffffff CIE
8 ; FRAMES: Version: 1
9 ; FRAMES: DW_CFA_def_cfa: {{reg4|ESP}} +4
10 ; FRAMES-NEXT: DW_CFA_offset: {{reg8|EIP}} -4
11 ; FRAMES-NEXT: DW_CFA_nop:
12 ; FRAMES-NEXT: DW_CFA_nop:
14 ; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022
15 ; FRAMES: DW_CFA_advance_loc: 3
[all …]
/external/elfutils/src/
Dstack.c1 /* Unwinding of frames like gstack/pstack.
63 struct frames struct
65 int frames; member
96 /* Whether any frames have been shown at all. Determines exit status. */
99 /* Program exit codes. All frames shown without any errors is GOOD.
100 Some frames shown with some non-fatal errors is an ERROR. A fatal
101 error or no frames shown at all is BAD. A command line USAGE exit
180 struct frames *frames = (struct frames *) arg; in frame_callback() local
181 int nr = frames->frames; in frame_callback()
182 if (! dwfl_frame_pc (state, &frames->frame[nr].pc, in frame_callback()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer_test.cc113 FrameView frames; in TEST_F() local
114 TF_EXPECT_OK(frames.InferFromGraphView(view)); in TEST_F()
116 EXPECT_EQ(frames.num_frames(), 1); in TEST_F()
120 ASSERT_EQ(frames.Frames(*invariant_add_node_def).size(), 1); in TEST_F()
121 EXPECT_EQ(frames.Frames(*invariant_add_node_def).back(), 0); in TEST_F()
125 ASSERT_EQ(frames.Frames(*variant_add_node_def).size(), 1); in TEST_F()
126 EXPECT_EQ(frames.Frames(*variant_add_node_def).back(), 0); in TEST_F()
133 FrameView frames; in TEST_F() local
134 TF_EXPECT_OK(frames.InferFromGraphView(view)); in TEST_F()
136 EXPECT_EQ(frames.num_frames(), 1); in TEST_F()
[all …]
/external/libvpx/libvpx/tools/3D-Reconstruction/genY4M/
DgenY4M.py15 def generate(args, frames): argument
16 if len(frames) == 0:
18 #sort the frames based on the frame index
19 frames = sorted(frames, key=lambda x: x[0])
20 #convert the frames to YUV form
21 frames = [f.convert("YCbCr") for _, f in frames]
23 header = "YUV4MPEG2 W%d H%d F%s %s A%s" % (frames[0].width, frames[0].height,
32 #write in frames
35 for f in frames:
47 frames = [] variable
[all …]
/external/adhd/cras/src/dsp/
Ddsp_util.c39 int frames) in deinterleave_stereo() argument
41 int chunk = frames >> 3; in deinterleave_stereo()
42 frames &= 7; in deinterleave_stereo()
43 /* Process 8 frames (16 samples) each loop. */ in deinterleave_stereo()
74 while (frames--) { in deinterleave_stereo()
94 int frames) in interleave_stereo() argument
96 /* Process 4 frames (8 samples) each loop. */ in interleave_stereo()
98 int chunk = frames >> 2; in interleave_stereo()
99 frames &= 3; in interleave_stereo()
130 while (frames--) { in interleave_stereo()
[all …]
/external/libvpx/libvpx/test/
Dsvc_end_to_end_test.cc25 // Inter-layer prediction is on on all frames.
27 // Inter-layer prediction is off on all frames.
29 // Inter-layer prediction is off on non-key frames and non-sync frames.
31 // Inter-layer prediction is on on all frames, but constrained such
60 // Keep track of number of non-reference frames, needed for mismatch check. in FramePktHook()
61 // Non-reference frames are top spatial and temporal layer frames, in FramePktHook()
104 // For this 3 temporal layer case, pattern repeats every 4 frames, so choose in TEST_P()
109 // The non-reference frames are expected to be mismatched frames as the in TEST_P()
110 // encoder will avoid loopfilter on these frames. in TEST_P()
152 // Decoder sets the color_space for Intra-only frames in PreEncodeFrameHook()
[all …]
/external/autotest/docs/
Dwifi-basics-codelab.md116 Our first goal is to initiate packet capture and record all of the frames that
191 Parses input frames and stores frames of type listed in filter_types.
192 If filter_types is empty, stores all parsed frames.
195 frames = []
206 frames.append([frametime, source_addr, dest_addr, frame_type])
207 return frames
220 the frames into a much more readable format:
225 frames = parse_frames(capture, frameTypesToFilter)
231 for packet in frames:
241 frames that are relevant to the connection/disconnection process, but first
[all …]
/external/oboe/src/flowgraph/resampler/
DREADME.md38 Note that the number of output frames generated for a given number of input frames can vary.
40 …Hz to 48000 Hz and using an input buffer with 960 frames. If you calculate the number of output fr…
44 …umber of frames. So the resampler will sometimes generate 1044 frames and sometimes 1045 frames. O…
46 You can either use a fixed number of input frames or a fixed number of output frames. The other fra…
48 ## Calling the Resampler with a fixed number of OUTPUT frames
50 …his example, suppose we have a fixed number of output frames and a variable number of input frames.
55 int numOutputFrames; // number of frames of output
71 ## Calling the Resampler with a fixed number of INPUT frames
73 …this example, suppose we have a fixed number of input frames and a variable number of output frame…
79 int numInputFrames; // number of frames of input
/external/adhd/cras/src/dsp/tests/
Dcrossover_test.c43 size_t frames; in main() local
58 data0 = read_raw(argv[1], &frames); in main()
59 data1 = (float *)malloc(sizeof(float) * frames * 2); in main()
60 data2 = (float *)malloc(sizeof(float) * frames * 2); in main()
64 process(&xo, frames, data0, data1, data2); in main()
67 tp_diff(&tp2, &tp1), frames); in main()
71 process(&xo, frames, data0 + frames, data1 + frames, data2 + frames); in main()
74 tp_diff(&tp2, &tp1), frames); in main()
77 write_raw(argv[3], data0, frames); in main()
78 write_raw(argv[4], data1, frames); in main()
[all …]
Dcrossover2_test.c45 size_t frames; in main() local
60 data0 = read_raw(argv[1], &frames); in main()
61 data1 = (float *)malloc(sizeof(float) * frames * 2); in main()
62 data2 = (float *)malloc(sizeof(float) * frames * 2); in main()
66 process(&xo2, frames, data0, data0 + frames, data1, data1 + frames, in main()
67 data2, data2 + frames); in main()
70 tp_diff(&tp2, &tp1), frames * 2); in main()
73 write_raw(argv[3], data0, frames); in main()
74 write_raw(argv[4], data1, frames); in main()
75 write_raw(argv[5], data2, frames); in main()
[all …]
/external/google-breakpad/src/processor/
Dstackwalker_address_list_unittest.cc107 const std::vector<StackFrame*>* frames = call_stack.frames(); in CheckCallStack() local
108 ASSERT_EQ(arraysize(kDummyFrames), frames->size()); in CheckCallStack()
110 ASSERT_EQ(kDummyFrames[i], frames->at(i)->instruction); in CheckCallStack()
111 ASSERT_EQ(StackFrame::FRAME_TRUST_PREWALKED, frames->at(i)->trust); in CheckCallStack()
113 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(0)->module); in CheckCallStack()
114 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(1)->module); in CheckCallStack()
115 ASSERT_EQ(static_cast<const CodeModule*>(&module2), frames->at(2)->module); in CheckCallStack()
116 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(3)->module); in CheckCallStack()
117 ASSERT_EQ(static_cast<const CodeModule*>(&module1), frames->at(4)->module); in CheckCallStack()
177 const std::vector<StackFrame*>* frames = call_stack.frames(); in TEST_F() local
[all …]
/external/openscreen/cast/streaming/
Dreceiver.h42 // Cast Streaming is a transport protocol which divides up the frames for one
51 // the frames of each stream to achieve lip-sync. See the discussion in
83 // // remaining frames that are ready.
91 // Internally, a queue of complete and partially-received frames is maintained.
95 // ranges of frames in the queue:
100 // 2. Checkpoint Frame: Indicates that all of the RTP packets for all frames
105 // related to the frame can be freed and/or re-used for later frames.
112 // Called whenever one or more frames have become ready for consumption. The
116 // check whether there are any more frames ready, but this is not mandatory.
135 // Set the Consumer receiving notifications when new frames are ready for
[all …]
/external/adhd/cras/client/libcras/src/
Daudio_socket.rs28 /// * `frames` - A `u32` indicating the read or written frame count.
31 frames: u32,
41 AudioMessage::Success { id, frames } => audio_message { in into()
44 frames, in into()
49 frames: 0, in into()
61 frames: message.frames, in from()
162 /// and frames or `Error` with error code.
179 /// * `frames` - An `u32` indicating the written frame count.
180 pub fn data_ready(&mut self, frames: u32) -> io::Result<()> { in data_ready()
183 frames, in data_ready()
[all …]
/external/tinyalsa_new/examples/
Dpcm-readi.c6 static size_t read_frames(void **frames) in read_frames() argument
36 *frames = malloc(frame_size * frames_per_sec); in read_frames()
37 if (*frames == NULL) { in read_frames()
38 fprintf(stderr, "failed to allocate frames\n"); in read_frames()
43 int read_count = pcm_readi(pcm, *frames, frames_per_sec); in read_frames()
52 static int write_file(const void *frames, size_t size) in write_file() argument
59 fwrite(frames, 1, size, output_file); in write_file()
66 void *frames = NULL; in main() local
69 size = read_frames(&frames); in main()
74 if (write_file(frames, size) < 0) { in main()
[all …]
/external/llvm-project/lldb/test/API/tools/lldb-vscode/stackTrace/
DTestVSCode_stackTrace.py77 # Verify we get all stack frames with no arguments
81 'verify we get at least 20 frames for all frames')
86 # Verify all stack frames by specifying startFrame = 0 and levels not
90 ('verify same number of frames with startFrame=%i') % (
94 # Verify all stack frames by specifying startFrame = 0 and levels = 0
99 ('verify same number of frames with startFrame=%i and'
113 # Get only the first 3 stack frames by sepcifying startFrame = 0 and
119 ('verify %i frames with startFrame=%i and'
123 # Get only the first 15 stack frames by sepcifying startFrame = 5 and
130 ('verify %i frames with startFrame=%i and'
[all …]
/external/libaom/libaom/aom_dsp/
Dvmaf.c39 FrameData *frames = (FrameData *)user_data; in read_frame() local
41 if (!frames->frame_set) { in read_frame()
42 const int width = frames->source->y_width; in read_frame()
43 const int height = frames->source->y_height; in read_frame()
44 assert(width == frames->distorted->y_width); in read_frame()
45 assert(height == frames->distorted->y_height); in read_frame()
47 if (frames->bit_depth > 8) { in read_frame()
48 const float scale_factor = 1.0f / (float)(1 << (frames->bit_depth - 8)); in read_frame()
49 uint16_t *ref_ptr = CONVERT_TO_SHORTPTR(frames->source->y_buffer); in read_frame()
50 uint16_t *main_ptr = CONVERT_TO_SHORTPTR(frames->distorted->y_buffer); in read_frame()
[all …]
/external/python/cpython3/Lib/test/
Daudiotests.py62 def check_file(self, testfile, nframes, frames): argument
68 self.assertEqual(f.readframes(nframes), frames)
73 f.writeframes(self.frames)
128 f.writeframes(self.frames)
131 self.check_file(TESTFN, self.nframes, self.frames)
136 f.writeframes(bytearray(self.frames))
139 self.check_file(TESTFN, self.nframes, self.frames)
144 f.writeframes(array.array('h', self.frames))
147 self.check_file(TESTFN, self.nframes, self.frames)
152 f.writeframes(memoryview(self.frames))
[all …]
/external/icing/icing/query/
Dquery-processor.cc176 std::stack<ParserStateFrame> frames; in ParseRawQuery() local
177 frames.emplace(); in ParseRawQuery()
188 frames.emplace(ParserStateFrame()); in ParseRawQuery()
192 if (frames.empty()) { in ParseRawQuery()
197 std::move(frames.top()), document_store_.last_added_document_id()); in ParseRawQuery()
198 frames.pop(); in ParseRawQuery()
202 if (frames.empty()) { in ParseRawQuery()
206 frames.top().saw_exclude = true; in ParseRawQuery()
210 if (frames.empty()) { in ParseRawQuery()
214 frames.top().saw_or = true; in ParseRawQuery()
[all …]
/external/webrtc/modules/audio_coding/codecs/opus/test/
Daudio_ring_buffer.cc33 size_t frames) { in Write() argument
36 const size_t written = WebRtc_WriteBuffer(buffers_[i], data[i], frames); in Write()
37 RTC_CHECK_EQ(written, frames); in Write()
41 void AudioRingBuffer::Read(float* const* data, size_t channels, size_t frames) { in Read() argument
45 WebRtc_ReadBuffer(buffers_[i], nullptr, data[i], frames); in Read()
46 RTC_CHECK_EQ(read, frames); in Read()
60 void AudioRingBuffer::MoveReadPositionForward(size_t frames) { in MoveReadPositionForward() argument
63 static_cast<size_t>(WebRtc_MoveReadPtr(buf, static_cast<int>(frames))); in MoveReadPositionForward()
64 RTC_CHECK_EQ(moved, frames); in MoveReadPositionForward()
68 void AudioRingBuffer::MoveReadPositionBackward(size_t frames) { in MoveReadPositionBackward() argument
[all …]
/external/python/cpython2/Lib/test/
Daudiotests.py79 def check_file(self, testfile, nframes, frames): argument
86 self.assertEqual(f.readframes(nframes), frames)
93 f.writeframes(self.frames)
101 f.writeframes(self.frames)
104 self.check_file(TESTFN, self.nframes, self.frames)
111 f.writeframes(self.frames)
116 self.check_file(testfile, self.nframes, self.frames)
124 f.writeframes(self.frames[:-framesize])
125 f.writeframes(self.frames[-framesize:])
130 self.check_file(testfile, self.nframes, self.frames)
[all …]
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker.cc119 // in practice the pseudo stack never grows higher than ~20 frames. in PushPseudoStackFrame()
181 auto* backtrace = std::begin(ctx->backtrace.frames); in GetContextSnapshot()
182 auto* backtrace_end = std::end(ctx->backtrace.frames); in GetContextSnapshot()
216 // Backtrace contract requires us to return bottom frames, i.e. in GetContextSnapshot()
217 // from main() and up. Stack unwinding produces top frames, i.e. in GetContextSnapshot()
219 // kMaxFrameCount + 1 frames, so that we know if there are more frames in GetContextSnapshot()
223 const void* frames[Backtrace::kMaxFrameCount + 1]; in GetContextSnapshot() local
224 static_assert(arraysize(frames) >= Backtrace::kMaxFrameCount, in GetContextSnapshot()
225 "not requesting enough frames to fill Backtrace"); in GetContextSnapshot()
228 frames, arraysize(frames)); in GetContextSnapshot()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DPopFrames002Test.java59 * This testcase exercises StackFrame.PopFrames command to discard several frames at once.
62 * <BR>Then the test performs StackFrame.PopFrame command to discard several frames at once,
63 * prints stack and checks that discarded frames are not returned
64 * by ThreadReference.Frames command.
99 // print stack frames in testPopSeveralFrames()
101 logWriter.println("=> Get frames before PopFrames command, thread = " + breakpointThreadID); in testPopSeveralFrames()
103 logWriter.println("=> Frames before popFrame"); in testPopSeveralFrames()
105 logWriter.println("=> Number of frames before command: " in testPopSeveralFrames()
132 // pop stack frames in testPopSeveralFrames()
133 logWriter.println("=> Pop " + NUMBER_OF_FRAMES_TO_POP + " frames at once"); in testPopSeveralFrames()
[all …]

12345678910>>...527