/external/chromium_org/third_party/webrtc/common_audio/resampler/ |
push_sinc_resampler.cc | 80 void PushSincResampler::Run(int frames, float* destination) { 83 assert(source_available_ == frames); 88 memset(destination, 0, frames * sizeof(float)); 94 memcpy(destination, source_ptr_, frames * sizeof(float)); 96 for (int i = 0; i < frames; ++i) 99 source_available_ -= frames;
|
/external/e2fsprogs/debian/scripts/ |
test-backtrace | 15 int frames; 17 frames = backtrace(stack_syms, 32); 18 backtrace_symbols_fd(stack_syms, frames, 0);
|
/external/chromium_org/tools/android/heap_profiler/ |
heap_profiler_unittest.cc | 26 uintptr_t frames[HEAP_PROFILER_MAX_DEPTH]; member in struct:__anon21038::HeapProfilerTest::StackTrace 34 st.frames[i] = base + i * 0x10UL; 49 EXPECT_EQ(st.frames[j], alloc.st->frames[j]) 90 heap_profiler_alloc((void*)0x1000, 1024, st1.frames, st1.depth, 0); 91 heap_profiler_alloc((void*)0x2000, 2048, st1.frames, st1.depth, 0); 103 heap_profiler_alloc((void*)0x1000, 1024, st1.frames, st1.depth, 0); 104 heap_profiler_alloc((void*)0x2000, 2048, st2.frames, st2.depth, 0); 105 heap_profiler_alloc((void*)0x3000, 32, st1.frames, st1.depth, 0); 117 heap_profiler_alloc((void*)0x1000, 1024, st1.frames, st1.depth, 0) 407 uintptr_t frames[1]; local [all...] |
/bionic/libc/bionic/ |
debug_stacktrace.cpp | 85 uintptr_t* frames; member in struct:stack_crawl_state_t 90 stack_crawl_state_t(uintptr_t* frames, size_t max_depth) 91 : frames(frames), frame_count(0), max_depth(max_depth), have_skipped_self(false) { 124 state->frames[state->frame_count++] = ip; 128 __LIBC_HIDDEN__ int get_backtrace(uintptr_t* frames, size_t max_depth) { 131 stack_crawl_state_t state(frames, max_depth); 136 __LIBC_HIDDEN__ void log_backtrace(uintptr_t* frames, size_t frame_count) { 140 if (frames == NULL) { 142 frames = self_bt [all...] |
/development/perftests/panorama/feature_mos/src/mosaic/ |
Mosaic.cpp | 41 if (frames[i]) 42 delete frames[i]; 44 delete frames; 76 frames = new MosaicFrame *[max_frames]; 83 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 90 frames[i] = NULL; 136 if(frames[frames_size]==NULL) 137 frames[frames_size] = new MosaicFrame(this->width,this->height,false); 139 MosaicFrame *frame = frames[frames_size]; 204 ret = blender->runBlend((MosaicFrame **) frames, (MosaicFrame **) rframes, [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 44 if (frames[i]) 45 delete frames[i]; 47 delete frames; 79 frames = new MosaicFrame *[max_frames]; 86 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 93 frames[i] = NULL; 102 LOGV("Max num frames %d", max_frames); 144 if(frames[frames_size]==NULL) 145 frames[frames_size] = new MosaicFrame(this->width,this->height,false); 147 MosaicFrame *frame = frames[frames_size] [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 44 if (frames[i]) 45 delete frames[i]; 47 delete frames; 75 frames = new MosaicFrame *[max_frames]; 82 frames[i] = new MosaicFrame(this->width,this->height,false); // Do no allocate memory for YUV data 89 frames[i] = NULL; 97 LOGV("Max num frames %d", max_frames); 131 if(frames[frames_size]==NULL) 132 frames[frames_size] = new MosaicFrame(this->width,this->height,false); 134 MosaicFrame *frame = frames[frames_size] [all...] |
/external/chromium_org/media/base/ |
audio_fifo.cc | 40 AudioFifo::AudioFifo(int channels, int frames) 41 : audio_bus_(AudioBus::Create(channels, frames)), 42 max_frames_(frames), 50 int AudioFifo::frames() const { function in class:media::AudioFifo 60 const int source_size = source->frames(); 61 CHECK_LE(source_size + frames(), max_frames_); 83 DCHECK_LE(frames(), max_frames()); 94 CHECK_LE(frames_to_consume, frames()); 98 CHECK_LE(frames_to_consume + start_frame, destination->frames());
|
audio_converter.cc | 135 CreateUnmixedAudioIfNecessary(dest->frames()); 147 resampler_->Resample(temp_dest->frames(), temp_dest); 154 DCHECK_EQ(temp_dest->frames(), dest->frames()); 167 mixer_input_audio_bus_->frames() != dest->frames()) { 169 AudioBus::Create(input_channel_count_, dest->frames()); 176 CreateUnmixedAudioIfNecessary(dest->frames()); 181 DCHECK_EQ(temp_dest->frames(), mixer_input_audio_bus_->frames()); [all...] |
audio_hash.cc | 23 void AudioHash::Update(const AudioBus* audio_bus, int frames) { 27 for (uint32 i = 0; i < static_cast<uint32>(frames); ++i) { 43 sample_count_ += static_cast<uint32>(frames);
|
multi_channel_resampler.h | 24 // frames are available to satisfy the request. |frame_delay| is the number 25 // of output frames already processed and can be used to estimate delay. 31 // frames of the AudioBus to be filled by |read_cb|. 38 // Resamples |frames| of data from |read_cb_| into AudioBus. 39 void Resample(int frames, AudioBus* audio_bus); 50 // The maximum size in frames that guarantees Resample() will only make a 57 void ProvideInput(int channel, int frames, float* destination); 72 // The number of output frames that have successfully been processed during
|
multi_channel_resampler_unittest.cc | 45 void InitializeAudioData(int channels, int frames) { 46 frames_ = frames; 47 audio_bus_ = AudioBus::Create(channels, frames); 59 for (int j = 0; j < audio_bus->frames(); ++j) 63 void MultiChannelTest(int channels, int frames, double expected_max_rms_error, 65 InitializeAudioData(channels, frames); 77 EXPECT_LT(last_frame_delay_, audio_bus_->frames()); 81 resampler.Resample(frames, audio_bus_.get());
|
/bootable/recovery/ |
interlace-frames.py | 15 """Script to take a set of frames (PNG files) for a recovery animation 16 and turn it into a single output image which contains the input frames 17 interlaced by row. Run with the names of all the input frames on the 28 frames = [Image.open(fn).convert("RGB") for fn in sys.argv[1:-1]] variable 29 assert len(frames) > 0, "Must have at least one input frame." 31 for fr in frames: 36 N = len(frames) 41 for fn, f in enumerate(frames): 45 # chunk that specifies how many frames this animation represents. If 51 meta.add_text("Frames", str(N) [all...] |
/external/chromium_org/media/filters/ |
audio_clock.h | 29 // 1) How many frames of audio data requested 30 // 2) How many frames of audio data provided 41 // amount of requested frames due to underflow) is also modeled and will cause 68 // | 10 frames silence | 20 frames @ 1.0x | 20 frames @ 0.5x | 74 // |start_timestamp| since no amount of media frames tracked 112 AudioData(int64_t frames, float playback_rate); 114 int64_t frames; member in struct:media::AudioClock::AudioData 119 void PushBufferedAudioData(int64_t frames, float playback_rate) [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
stacktrace_android-inl.h | 54 uintptr_t* frames; member in struct:stack_crawl_state_t 60 stack_crawl_state_t(uintptr_t* frames, int max_depth, int skip_count) 61 : frames(frames), 93 state->frames[state->frame_count++] = ip; 106 // GetStack{Trace,Frames}() 107 // GetStack{Trace,Frames}WithContext() 115 // void* ucp: a ucontext_t* (GetStack{Trace,Frames}WithContext only)
|
/external/chromium_org/content/browser/ |
session_history_browsertest.cc | 58 // Simulate clicking a link. Only works on the frames.html testserver page. 64 // Simulate filling in form data. Only works on the frames.html page with 74 // Simulate submitting a form. Only works on the frames.html page with 184 ASSERT_NO_FATAL_FAILURE(NavigateAndCheckTitle("frames.html", "bot1")); 188 GURL frames(GetURL("frames.html")); 189 EXPECT_EQ(frames, GetTabURL()); 193 EXPECT_EQ(frames, GetTabURL()); 199 EXPECT_EQ(frames, GetTabURL()); 203 EXPECT_EQ(frames, GetTabURL()) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
eval-stack-trace.js | 28 // Return the stack frames of an Error object. 30 Error.prepareStackTrace = function(error, frames) { 31 return frames; 35 var frames = this.stack; 36 return frames; 45 Array.prototype.verifyEquals = function(frames, func_name) { 48 var frame = frames[index]; 57 Array.prototype.verifyContains = function(frames, func_name) { 60 var frame = frames[index]; 69 Array.prototype.verifyUndefined = function(frames, func_name) [all...] |
/external/chromium_org/net/quic/ |
quic_ack_notifier_manager.cc | 76 // Run through all the frames and if any of them are stream frames and have 80 RetransmittableFrames* frames = serialized_packet.retransmittable_frames; local 82 // AckNotifiers can only be attached to retransmittable frames. 83 if (!frames) { 87 for (QuicFrames::const_iterator it = frames->frames().begin(); 88 it != frames->frames().end(); ++it) {
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
framedrop_primitives_unittest.cc | 44 std::vector<Frame*> frames; local 53 frames.push_back(&first_frame); 54 frames.push_back(&second_frame); 55 frames.push_back(&third_frame); 56 frames.push_back(&fourth_frame); 58 // Prepare data for the first and third frames: 64 // Write the first and third frames to the temporary file. This means the fix 65 // method should add two frames of data by filling the file with data from 66 // the first and third frames after executing. 75 FixOutputFileForComparison(kOutputFilename, kFrameLength, frames); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
DebugLogUtils.java | 49 * @param limit the maximum number of stack frames to be returned. 57 final StackTraceElement[] frames = e.getStackTrace(); local 59 for (int j = 1; j < frames.length && j < limit + 1; ++j) { 60 sb.append(frames[j].toString() + "\n"); 73 final StackTraceElement[] frames = t.getStackTrace(); local 74 for (int j = 0; j < frames.length; ++j) { 75 sb.append(frames[j].toString() + "\n");
|
/dalvik/hit/src/com/android/hit/ |
StackTrace.java | 25 * For subsets of the stack frame we'll reference the parent list of frames 37 public StackTrace(int serial, int thread, StackFrame[] frames) { 40 mFrames = frames;
|
/external/chromium_org/chrome/test/chromedriver/ |
session.cc | 68 frames.clear(); 72 if (!frames.empty()) 73 frames.pop_back(); 79 if (!frames.empty()) 80 parent_frame_id = frames.back().frame_id; 81 frames.push_back(FrameInfo(parent_frame_id, frame_id, chromedriver_frame_id)); 85 if (frames.empty()) 87 return frames.back().frame_id;
|
/external/lldb/test/functionalities/conditional_break/ |
conditional_break.py | 15 # We check the call frames in order to stop only when the immediate caller 22 if (thread.frames[0].function.name == 'c' and thread.frames[1].function.name == 'a'):
|
/external/chromium_org/content/renderer/ |
savable_resources.cc | 47 // Collection of all frames we go through when getting all savable resource 49 std::vector<WebFrame*>* frames; member in struct:content::__anon12466::SavableResourcesUniqueCheck 54 frames(NULL) {} 57 std::set<GURL>* frames_set, std::vector<WebFrame*>* frames) 60 frames(frames) {} 77 unique_check->frames->push_back(sub_frame); 199 std::vector<WebFrame*> frames; local 202 &frames); 213 frames.push_back(main_frame) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebPageSerializerTest.cpp | 113 WebVector<WebURL> frames; local 116 webView(), m_supportedSchemes, &resources, &frames)); 119 EXPECT_EQ(1U, frames.size()); // There should be no duplicates. 120 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 141 // Register the mocked frames. 159 WebVector<WebURL> frames; local 162 webView(), m_supportedSchemes, &resources, &frames)); 165 EXPECT_EQ(4U, frames.size()); // There should be no duplicates. 166 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 167 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com/simple_iframe.html")) [all...] |