Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/external/webrtc/webrtc/common_audio/
Dwindow_generator_unittest.cc20 float window[7]; in TEST() local
22 memset(window, 0, sizeof(window)); in TEST()
24 WindowGenerator::KaiserBesselDerived(0.397856f, 2, window); in TEST()
25 ASSERT_NEAR(window[0], 0.707106f, 1e-6f); in TEST()
26 ASSERT_NEAR(window[1], 0.707106f, 1e-6f); in TEST()
27 ASSERT_NEAR(window[2], 0.0f, 1e-6f); in TEST()
28 ASSERT_NEAR(window[3], 0.0f, 1e-6f); in TEST()
29 ASSERT_NEAR(window[4], 0.0f, 1e-6f); in TEST()
30 ASSERT_NEAR(window[5], 0.0f, 1e-6f); in TEST()
31 ASSERT_NEAR(window[6], 0.0f, 1e-6f); in TEST()
[all …]
Dwindow_generator.cc40 void WindowGenerator::Hanning(int length, float* window) { in Hanning() argument
42 RTC_CHECK(window != nullptr); in Hanning()
44 window[i] = 0.5f * (1 - cosf(2 * static_cast<float>(M_PI) * i / in Hanning()
50 float* window) { in KaiserBesselDerived() argument
52 RTC_CHECK(window != nullptr); in KaiserBesselDerived()
60 window[i] = sum; in KaiserBesselDerived()
63 window[length - i - 1] = sqrtf(window[length - i - 1] / sum); in KaiserBesselDerived()
64 window[i] = window[length - i - 1]; in KaiserBesselDerived()
67 window[half - 1] = sqrtf(window[half - 1] / sum); in KaiserBesselDerived()
Dlapped_transform_unittest.cc100 float window[kBlockLength]; in TEST() local
101 std::fill(window, &window[kBlockLength], 1.0f); in TEST()
103 LappedTransform trans(kChannels, kChannels, kChunkLength, window, in TEST()
137 float window[kBlockLength]; in TEST() local
138 std::fill(window, &window[kBlockLength], std::sqrt(0.5f)); in TEST()
140 LappedTransform trans(1, 1, kChunkLength, window, kBlockLength, kShiftAmount, in TEST()
167 float window[kBlockLength]; in TEST() local
168 std::fill(window, &window[kBlockLength], 1.0f); in TEST()
170 LappedTransform trans(1, 1, kChunkLength, window, kBlockLength, in TEST()
188 const float window[kBlockLength] = {}; in TEST() local
[all …]
/external/flac/libFLAC/
Dwindow.c46 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L) in FLAC__window_bartlett() argument
53 window[n] = 2.0f * n / (float)N; in FLAC__window_bartlett()
55 window[n] = 2.0f - 2.0f * n / (float)N; in FLAC__window_bartlett()
59 window[n] = 2.0f * n / (float)N; in FLAC__window_bartlett()
61 window[n] = 2.0f - 2.0f * n / (float)N; in FLAC__window_bartlett()
65 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L) in FLAC__window_bartlett_hann() argument
71window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N-0.5f) - 0.38f * cos(2.0f * M_PI * … in FLAC__window_bartlett_hann()
74 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L) in FLAC__window_blackman() argument
80window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N… in FLAC__window_blackman()
84 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L) in FLAC__window_blackman_harris_4term_92db_sidelobe() argument
[all …]
/external/bart/bart/sched/
DSchedAssert.py131 def getResidency(self, level, node, window=None, percent=False): argument
177 level_result = agg.aggregate(level=level, window=window)
182 total = agg.aggregate(level="all", window=window)[0]
194 window=None, argument
239 node_value = self.getResidency(level, node, window, percent)
262 def _relax_switch_window(self, series, direction, window): argument
282 w_series = sched_funcs.select_window(series, window)
283 start, stop = window
292 window=(
306 w_series = sched_funcs.select_window(series, window=(stop, end_time))
[all …]
Dfunctions.py107 def sanitize_asymmetry(series, window=None): argument
128 if window:
129 series.index.values[0] = window[0]
136 if window:
137 series.index.values[-1] = window[1]
151 def csum(series, window=None, filter_gaps=False): argument
172 return select_window(series, window)
199 def first_cpu(series, window=None): argument
212 series = select_window(series, window)
219 def last_cpu(series, window=None): argument
[all …]
DSchedMultiAssert.py230 def getCPUBusyTime(self, level, node, window=None, percent=False): argument
254 residencies = self.getResidency(level, node, window=window)
259 if window:
260 total_time = window[1] - window[0]
268 def generate_events(self, level, window=None): argument
277 events[s_assert.name] = s_assert.generate_events(level, window=window)
281 def plot(self, level="cpu", window=None, xlim=None): argument
288 if not window:
291 xlim = list(window)
293 events = self.generate_events(level, window)
/external/flac/libFLAC/include/private/
Dwindow.h54 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L);
55 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L);
56 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L);
57 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L);
58 void FLAC__window_connes(FLAC__real *window, const FLAC__int32 L);
59 void FLAC__window_flattop(FLAC__real *window, const FLAC__int32 L);
60 void FLAC__window_gauss(FLAC__real *window, const FLAC__int32 L, const FLAC__real stddev); /* 0.0 <…
61 void FLAC__window_hamming(FLAC__real *window, const FLAC__int32 L);
62 void FLAC__window_hann(FLAC__real *window, const FLAC__int32 L);
63 void FLAC__window_kaiser_bessel(FLAC__real *window, const FLAC__int32 L);
[all …]
/external/autotest/client/site_tests/video_YouTubeMseEme/files/
Dvideo_YouTubeMseEme.js7 window.__eventReporter = {};
8 window.__testState = {};
11 window.__logger = logger;
75 var ms_url = window.URL.createObjectURL(ms);
140 window.__testAttach = function() {
143 window.__eventReporter['sourceopen'] = true;
147 video.src = window.URL.createObjectURL(ms);
151 window.__testAddSourceBuffer = function() {
161 window.__testState['addSourceBuffer'] = !!return_value;
164 window.__testState['addSourceBuffer'] = false;
[all …]
/external/autotest/client/deps/webgl_mpd/src/common/
Dwebgl-utils.js112 if (!window.WebGLRenderingContext) {
153 window.requestAnimFrame = (function() {
154 return window.requestAnimationFrame ||
155 window.webkitRequestAnimationFrame ||
156 window.mozRequestAnimationFrame ||
157 window.oRequestAnimationFrame ||
158 window.msRequestAnimationFrame ||
160 return window.setTimeout(callback, 1000/60);
167 window.cancelAnimFrame = (function() {
168 return window.cancelAnimationFrame ||
[all …]
/external/swiftshader/src/Main/
DFrameBufferAndroid.cpp23 inline int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer) in dequeueBuffer() argument
26 return native_window_dequeue_buffer_and_wait(window, buffer); in dequeueBuffer()
28 return window->dequeueBuffer(window, buffer); in dequeueBuffer()
32 inline int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) in queueBuffer() argument
35 return window->queueBuffer(window, buffer, fenceFd); in queueBuffer()
37 return window->queueBuffer(window, buffer); in queueBuffer()
41 inline int cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) in cancelBuffer() argument
44 return window->cancelBuffer(window, buffer, fenceFd); in cancelBuffer()
46 return window->cancelBuffer(window, buffer); in cancelBuffer()
50 FrameBufferAndroid::FrameBufferAndroid(ANativeWindow* window, int width, int height) in FrameBufferAndroid() argument
[all …]
/external/deqp/framework/platform/android/
DtcuAndroidWindow.cpp35 Window::Window (ANativeWindow* window) in Window() argument
36 : m_window (window) in Window()
129 Window* const window = *winIter; in ~WindowRegistry() local
131 if (window->tryAcquireForDestroy(false)) in ~WindowRegistry()
132 delete window; in ~WindowRegistry()
141 void WindowRegistry::addWindow (ANativeWindow* window) in addWindow() argument
144 m_windows.push_back(new Window(window)); in addWindow()
151 Window* const window = m_windows[ndx]; in destroyWindow() local
153 if (window->getNativeWindow() == rawHandle) in destroyWindow()
155 if (window->tryAcquireForDestroy(false)) in destroyWindow()
[all …]
DtcuAndroidNativeActivity.cpp64 static void onNativeWindowCreatedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowCreatedCallback() argument
66 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowCreated(window); in onNativeWindowCreatedCallback()
69 static void onNativeWindowResizedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowResizedCallback() argument
71 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowResized(window); in onNativeWindowResizedCallback()
74 static void onNativeWindowRedrawNeededCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowRedrawNeededCallback() argument
76 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowRedrawNeeded(window); in onNativeWindowRedrawNeededCallback()
79 static void onNativeWindowDestroyedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowDestroyedCallback() argument
81 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowDestroyed(window); in onNativeWindowDestroyedCallback()
173 void NativeActivity::onNativeWindowCreated (ANativeWindow* window) in onNativeWindowCreated() argument
175 DE_UNREF(window); in onNativeWindowCreated()
[all …]
DtcuAndroidRenderActivity.hpp62 ANativeWindow* window; member
80 Message (MessageType type_, ANativeWindow* window) in Message()
86 DE_ASSERT(window); in Message()
87 payload.window = window; in Message()
138 virtual void onWindowCreated (ANativeWindow* window) = 0;
139 virtual void onWindowResized (ANativeWindow* window) = 0;
140 virtual void onWindowDestroyed (ANativeWindow* window) = 0;
175 virtual void onNativeWindowCreated (ANativeWindow* window);
176 virtual void onNativeWindowResized (ANativeWindow* window);
177 virtual void onNativeWindowRedrawNeeded (ANativeWindow* window);
[all …]
DtcuAndroidRenderActivity.cpp131 …cessMessage(): message = { %s, %p }\n", getMessageTypeName(message.type), message.payload.window)); in processMessage()
147 m_window = message.payload.window; in processMessage()
151 if (m_window != message.payload.window) in processMessage()
158 onWindowCreated(message.payload.window); in processMessage()
161 onWindowResized(message.payload.window); in processMessage()
168 if (m_window != message.payload.window) in processMessage()
175 onWindowDestroyed(message.payload.window); in processMessage()
328 void RenderActivity::onNativeWindowCreated (ANativeWindow* window) in onNativeWindowCreated() argument
331 m_thread->enqueue(Message(MESSAGE_WINDOW_CREATED, window)); in onNativeWindowCreated()
334 void RenderActivity::onNativeWindowResized (ANativeWindow* window) in onNativeWindowResized() argument
[all …]
/external/python/cpython2/Lib/plat-mac/
DFrameWork.py147 def appendwindow(self, wid, window): argument
148 self._windows[wid] = window
156 def do_about(self, id, item, window, event): argument
252 window = dlg.GetDialogWindow()
253 if window in self._windows:
254 self._windows[window].do_itemhit(item, event)
284 window = self._windows[wid]
286 handler = getattr(window, name)
294 def do_inSysWindow(self, partcode, window, event): argument
298 def do_inDesk(self, partcode, window, event): argument
[all …]
/external/python/cpython2/Lib/idlelib/
DWindowList.py9 def add(self, window): argument
10 window.after_idle(self.call_callbacks)
11 self.dict[str(window)] = window
13 def delete(self, window): argument
15 del self.dict[str(window)]
24 window = self.dict[key]
26 title = window.get_title()
29 list.append((title, window))
31 for title, window in list:
32 menu.add_command(label=title, command=window.wakeup)
[all …]
/external/autotest/client/site_tests/video_YouTubePage/files/
Dvideo_YouTubePageCommon.js105 window.__videoElement = videoElement;
106 window.__playVideo = playVideo;
107 window.__pauseVideo = pauseVideo;
108 window.__seek = seek;
109 window.__seekToAlmostEnd = seekToAlmostEnd;
110 window.__getVideoState = getVideoState;
111 window.__getDuration = getDuration;
112 window.__getCurrentTime = getCurrentTime;
113 window.__getEventHappened = getEventHappened;
114 window.__clearEventHappened = clearEventHappened;
[all …]
/external/libvncserver/webclients/novnc/include/web-socket-js/
Dweb_socket.js8 if (window.WEB_SOCKET_FORCE_FLASH) {
10 } else if (window.WebSocket) {
12 } else if (window.MozWebSocket) {
14 window.WebSocket = MozWebSocket;
19 if (window.WEB_SOCKET_LOGGER) {
21 } else if (window.console && window.console.log && window.console.error) {
23 logger = window.console;
48 window.WebSocket = function(url, protocols, proxyHost, proxyPort, headers) {
196 if (document.createEvent && window.Event) {
206 if (document.createEvent && window.MessageEvent && !window.opera) {
[all …]
/external/webrtc/webrtc/modules/desktop_capture/mac/
Dwindow_list_utils.cc31 CFDictionaryRef window = reinterpret_cast<CFDictionaryRef>( in GetWindowList() local
34 CFDictionaryGetValue(window, kCGWindowName)); in GetWindowList()
36 CFDictionaryGetValue(window, kCGWindowNumber)); in GetWindowList()
38 CFDictionaryGetValue(window, kCGWindowLayer)); in GetWindowList()
48 WindowCapturer::Window window; in GetWindowList() local
49 window.id = id; in GetWindowList()
50 if (!rtc::ToUtf8(window_title, &(window.title)) || in GetWindowList()
51 window.title.empty()) { in GetWindowList()
54 windows->push_back(window); in GetWindowList()
/external/lzma/CPP/7zip/UI/Explorer/
DMyMessages.cpp14 void ShowErrorMessage(HWND window, LPCWSTR message) in ShowErrorMessage() argument
16 ::MessageBoxW(window, message, L"7-Zip", MB_OK | MB_ICONSTOP); in ShowErrorMessage()
19 void ShowErrorMessageHwndRes(HWND window, UINT resID) in ShowErrorMessageHwndRes() argument
21 ShowErrorMessage(window, LangString(resID)); in ShowErrorMessageHwndRes()
29 void ShowErrorMessageDWORD(HWND window, DWORD errorCode) in ShowErrorMessageDWORD() argument
31 ShowErrorMessage(window, NError::MyFormatMessage(errorCode)); in ShowErrorMessageDWORD()
34 void ShowLastErrorMessage(HWND window) in ShowLastErrorMessage() argument
36 ShowErrorMessageDWORD(window, ::GetLastError()); in ShowLastErrorMessage()
/external/autotest/client/site_tests/power_LoadTest/extension/
Dct.js16 window.focus();
17 lastOffset = window.pageYOffset;
20 window.scrollBy(0, response.scroll_by);
21 if (window.pageYOffset != lastOffset) {
22 lastOffset = window.pageYOffset;
29 window.scrollBy(0, -1 * response.scroll_by);
30 if (window.pageYOffset != lastOffset) {
31 lastOffset = window.pageYOffset;
59 window.addEventListener('load', afterLoad);
/external/skia/tools/viewer/sk_app/android/
DWindow_android.cpp15 Window_android* window = new Window_android(); in CreateNativeWindow() local
16 if (!window->init((SkiaAndroidApp*)platformData)) { in CreateNativeWindow()
17 delete window; in CreateNativeWindow()
20 return window; in CreateNativeWindow()
47 void Window_android::initDisplay(ANativeWindow* window) { in initDisplay() argument
48 SkASSERT(window); in initDisplay()
52 fWindowContext = window_context_factory::NewGLForAndroid(window, in initDisplay()
56 fWindowContext = window_context_factory::NewRasterForAndroid(window, in initDisplay()
61 fWindowContext = window_context_factory::NewVulkanForAndroid(window, in initDisplay()
/external/bart/tests/
Dtest_sched_assert.py56 window = (0.0034, 0.003525)
58 self.assertAlmostEqual(s.getRuntime(window=window), expected_time,
62 window = (0.0030, 0.0032)
64 self.assertAlmostEqual(s.getRuntime(window=window), expected_time,
68 window = (0.0027, 0.0036)
70 self.assertAlmostEqual(s.getRuntime(window=window), expected_time,
104 busy_time = sma.getCPUBusyTime("all", self.all_cpus, window=(first_time, last_time))
110 window=(first_time, last_time))
/external/python/cpython2/Doc/library/
Dcurses.rst158 operations such as :meth:`addstr` have been performed on a window. The normal
228 Read window related data stored in the file by an earlier :func:`putwin` call.
229 The routine then creates and initializes a new window using that data, returning
230 the new window object.
304 Return ``True`` if :func:`resize_term` would modify the window structure,
356 the given window's mouse event mask. If this function is never called, no mouse
368 of lines and columns. A pad is returned as a window object.
370 A pad is like a window, except that it is not restricted by the screen size, and
372 used when a large window is needed, and only a part of the window will be on the
386 Return a new window, whose left-upper corner is at ``(begin_y, begin_x)``, and
[all …]

12345678910>>...42