Home
last modified time | relevance | path

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

12345678910>>...41

/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/opencv3/modules/highgui/src/
Dwindow_carbon.cpp89 WindowRef window; member
160 static int icvCountTrackbarInWindow( const CvWindow* window) in icvCountTrackbarInWindow() argument
162 CvTrackbar* trackbar = window->toolbar.first; in icvCountTrackbarInWindow()
173 CvWindow* window = hg_windows; in icvTrackbarByHandle() local
175 while( window != 0 && window->window != handle) { in icvTrackbarByHandle()
176 trackbar = window->toolbar.first; in icvTrackbarByHandle()
181 window = window->next; in icvTrackbarByHandle()
188 CvWindow* window = hg_windows; in icvWindowByHandle() local
190 while( window != 0 && window->window != handle) in icvWindowByHandle()
191 window = window->next; in icvWindowByHandle()
[all …]
Dwindow_w32.cpp209 static void icvUpdateWindowPos( CvWindow* window );
274 CvWindow* window = hg_windows; in icvFindWindowByName() local
276 for( ; window != 0 && strcmp( name, window->name) != 0; window = window->next ) in icvFindWindowByName()
279 return window; in icvFindWindowByName()
285 CvWindow* window = (CvWindow*)icvGetWindowLongPtr( hwnd, CV_USERDATA ); in icvWindowByHWND() local
286 return window != 0 && hg_windows != 0 && in icvWindowByHWND()
287 window->signature == CV_WINDOW_MAGIC_VAL ? window : 0; in icvWindowByHWND()
414 CvWindow* window; in cvGetModeWindow_W32() local
419 window = icvFindWindowByName( name ); in cvGetModeWindow_W32()
420 if (!window) in cvGetModeWindow_W32()
[all …]
Dwindow_gtk.cpp222 widget->window = gdk_window_new (widget->parent->window, &attributes, attributes_mask); in cvImageWidget_realize()
224 widget->style = gtk_style_attach (widget->style, widget->window); in cvImageWidget_realize()
225 gdk_window_set_user_data (widget->window, widget); in cvImageWidget_realize()
227 gtk_style_set_background (widget->style, widget->window, GTK_STATE_ACTIVE); in cvImageWidget_realize()
650 CvWindow* window = hg_windows; in icvFindWindowByName() local
651 while( window != 0 && strcmp(name, window->name) != 0 ) in icvFindWindowByName()
652 window = window->next; in icvFindWindowByName()
654 return window; in icvFindWindowByName()
659 CvWindow* window = hg_windows; in icvWindowByWidget() local
661 while( window != 0 && window->widget != widget && in icvWindowByWidget()
[all …]
Dwindow_cocoa.mm188 CVWindow *window = cvGetWindow(name);
189 if(window) {
190 [window close];
213 CVWindow *window = cvGetWindow(name);
214 if(!window)
217 window = cvGetWindow(name);
220 if(window)
222 bool empty = [[window contentView] image] == nil;
223 NSRect rect = [window frame];
224 NSRect vrectOld = [[window contentView] frame];
[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/opencv3/modules/video/src/
Dcamshift.cpp44 int cv::meanShift( InputArray _probImage, Rect& window, TermCriteria criteria ) in meanShift() argument
57 Rect cur_rect = window; in meanShift()
61 if( window.height <= 0 || window.width <= 0 ) in meanShift()
64 window = window & Rect(0, 0, size.width, size.height); in meanShift()
87 int dx = cvRound( m.m10/m.m00 - window.width*0.5 ); in meanShift()
88 int dy = cvRound( m.m01/m.m00 - window.height*0.5 ); in meanShift()
103 window = cur_rect; in meanShift()
108 cv::RotatedRect cv::CamShift( InputArray _probImage, Rect& window, in CamShift() argument
122 meanShift( _probImage, window, criteria ); in CamShift()
124 window.x -= TOLERANCE; in CamShift()
[all …]
/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/deqp/framework/platform/android/
DtcuAndroidWindow.cpp35 Window::Window (ANativeWindow* window) in Window() argument
36 : m_window (window) in Window()
124 Window* const window = *winIter; in ~WindowRegistry() local
126 if (window->tryAcquireForDestroy(false)) in ~WindowRegistry()
127 delete window; in ~WindowRegistry()
136 void WindowRegistry::addWindow (ANativeWindow* window) in addWindow() argument
139 m_windows.push_back(new Window(window)); in addWindow()
146 Window* const window = m_windows[ndx]; in destroyWindow() local
148 if (window->getNativeWindow() == rawHandle) in destroyWindow()
150 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/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/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/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/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
DNSEC.py41 for (window, bitmap) in self.windows:
47 bits.append(dns.rdatatype.to_text(window * 256 + \
67 window = 0
77 if new_window != window:
78 windows.append((window, ''.join(bitmap[0:octets])))
80 window = new_window
86 windows.append((window, ''.join(bitmap[0:octets])))
93 for (window, bitmap) in self.windows:
94 file.write(chr(window))
106 window = ord(wire[current])
[all …]
/external/autotest/client/site_tests/power_LoadTest/extension/
Dct.js9 window.focus();
10 lastOffset = window.pageYOffset;
13 window.scrollBy(0, response.scroll_by);
14 if (window.pageYOffset != lastOffset) {
15 lastOffset = window.pageYOffset;
22 window.scrollBy(0, -1 * response.scroll_by);
23 if (window.pageYOffset != lastOffset) {
24 lastOffset = window.pageYOffset;
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Dmedia_action.js7 window.__findMediaElements = function(selector) {
30 window.__hasEventCompleted = function(selector, event_name) {
32 var mediaElements = window.__findMediaElements(selector);
40 window.__registerHTML5ErrorEvents = function(element) {
43 window.__error = 'Media error: ' + e.type + ', code:' + e.target.error.code;
44 throw new Error(window.__error);
50 window.__registerHTML5EventCompleted = function(element, event_name) {
59 window.__error = null;
/external/skia/src/views/sdl/
DSkOSWindow_SDL.cpp249 if (SkOSWindow* window = GetInstanceForWindowID(event.motion.windowID)) { in HandleEvent() local
251 window->handleClick(event.motion.x, event.motion.y, in HandleEvent()
258 if (SkOSWindow* window = GetInstanceForWindowID(event.button.windowID)) { in HandleEvent() local
259 window->handleClick(event.button.x, event.button.y, in HandleEvent()
266 if (SkOSWindow* window = GetInstanceForWindowID(event.key.windowID)) { in HandleEvent() local
271 window->handleKey(sk); in HandleEvent()
273 window->handleKeyUp(sk); in HandleEvent()
276 window->closeWindow(); in HandleEvent()
281 if (SkOSWindow* window = GetInstanceForWindowID(event.text.windowID)) { in HandleEvent() local
284 window->handleChar((SkUnichar)event.text.text[i]); in HandleEvent()
[all …]
/external/opencv3/modules/java/src/
Dvideo+Video.java41 public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria) in CamShift() argument
44 …etVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.h… in CamShift()
45 …if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (in… in CamShift()
55 public static int meanShift(Mat probImage, Rect window, TermCriteria criteria) in meanShift() argument
58 …int retVal = meanShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, win… in meanShift()
59 …if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (in… in meanShift()

12345678910>>...41