Home
last modified time | relevance | path

Searched refs:window_ (Results 1 – 25 of 39) sorted by relevance

12

/external/webrtc/talk/media/devices/
Dgtkvideorenderer.cc53 : window_(NULL), in GtkVideoRenderer()
69 if (window_) { in ~GtkVideoRenderer()
71 gtk_widget_destroy(window_); in ~GtkVideoRenderer()
88 if ((!window_ && !Initialize(width, height)) || IsClosed()) { in SetSize()
142 window_ = gtk_window_new(GTK_WINDOW_TOPLEVEL); in Initialize()
144 if (!window_ || !draw_area_) { in Initialize()
148 gtk_window_set_position(GTK_WINDOW(window_), GTK_WIN_POS_CENTER); in Initialize()
149 gtk_window_set_title(GTK_WINDOW(window_), "Video Renderer"); in Initialize()
150 gtk_window_set_resizable(GTK_WINDOW(window_), FALSE); in Initialize()
152 gtk_container_add(GTK_CONTAINER(window_), draw_area_); in Initialize()
[all …]
Dgdivideorenderer.cc72 explicit WindowThread(VideoWindow* window) : window_(window) {} in WindowThread()
81 if (!window_ || !window_->Initialize()) { in Run()
93 VideoWindow* window_; member in cricket::GdiVideoRenderer::VideoWindow::WindowThread
265 if (!window_.get()) { // Create the window for the first frame in SetSize()
266 window_.reset(new VideoWindow(initial_x_, initial_y_, width, height)); in SetSize()
268 return window_->SetSize(width, height); in SetSize()
272 if (!frame || !window_.get()) { in RenderFrame()
275 return window_->RenderFrame(frame); in RenderFrame()
Dgdivideorenderer.h54 rtc::scoped_ptr<VideoWindow> window_; variable
Dgtkvideorenderer.h62 GtkWidget* window_; variable
/external/webrtc/webrtc/modules/desktop_capture/
Dwindow_capturer_win.cc100 HWND window_; member in webrtc::__anondfaf8f0a0111::WindowCapturerWin
111 window_(NULL) { in WindowCapturerWin()
130 window_ = window; in SelectWindow()
136 if (!window_) in BringSelectedWindowToFront()
139 if (!IsWindow(window_) || !IsWindowVisible(window_) || IsIconic(window_)) in BringSelectedWindowToFront()
142 return SetForegroundWindow(window_) != 0; in BringSelectedWindowToFront()
153 if (!window_) { in Capture()
160 if (!IsWindow(window_)) { in Capture()
168 if (IsIconic(window_) || !IsWindowVisible(window_)) { in Capture()
179 if (!GetCroppedWindowRect(window_, &cropped_rect, &original_rect)) { in Capture()
[all …]
Dmouse_cursor_monitor_win.cc38 HWND window_; member in webrtc::MouseCursorMonitorWin
50 : window_(window), in MouseCursorMonitorWin()
59 : window_(NULL), in MouseCursorMonitorWin()
108 if (window_) { in Capture()
111 if (!GetCroppedWindowRect(window_, &cropped_rect, &original_rect)) { in Capture()
118 (window_ == GetAncestor(windowUnderCursor, GA_ROOT)) : false; in Capture()
Dmouse_cursor_monitor_x11.cc81 Window window_; member in webrtc::MouseCursorMonitorX11
96 window_(window), in MouseCursorMonitorX11()
121 XFixesSelectCursorInput(display(), window_, XFixesDisplayCursorNotifyMask); in Init()
151 Bool result = XQueryPointer(display(), window_, &root_window, &child_window, in Capture()
161 (window_ == root_window || child_window != None) ? INSIDE : OUTSIDE; in Capture()
/external/webrtc/webrtc/examples/peerconnection/client/linux/
Dmain_wnd.cc128 : window_(NULL), draw_area_(NULL), vbox_(NULL), server_edit_(NULL), in GtkMainWnd()
145 return window_ != NULL && GTK_IS_WINDOW(window_); in IsWindow()
150 GtkWidget* dialog = gtk_message_dialog_new(GTK_WINDOW(window_), in MessageBox()
193 ASSERT(window_ == NULL); in Create()
195 window_ = gtk_window_new(GTK_WINDOW_TOPLEVEL); in Create()
196 if (window_) { in Create()
197 gtk_window_set_position(GTK_WINDOW(window_), GTK_WIN_POS_CENTER); in Create()
198 gtk_window_set_default_size(GTK_WINDOW(window_), 640, 480); in Create()
199 gtk_window_set_title(GTK_WINDOW(window_), "PeerConnection client"); in Create()
200 g_signal_connect(G_OBJECT(window_), "delete-event", in Create()
[all …]
/external/webrtc/webrtc/test/mac/
Dvideo_renderer_mac.mm19 NSWindow *window_; field
47 [window_ release];
68 window_ = [[NSWindow alloc] initWithContentRect:windowFrame
78 [[window_ contentView] addSubview:view];
79 [window_ setTitle:title_];
80 [window_ makeKeyAndOrderFront:NSApp];
104 : window_(NULL) {}
108 [window_ release];
112 window_ = [[CocoaWindow alloc]
116 if (!window_)
[all …]
Dvideo_renderer_mac.h34 CocoaWindow* window_;
/external/webrtc/webrtc/test/linux/
Dglx_renderer.cc63 window_ = XCreateWindow(display_, RootWindow(display_, vi->screen), 0, 0, in Init()
69 XSetStandardProperties(display_, window_, window_title, window_title, None, in Init()
74 XSetWMProtocols(display_, window_, &wm_delete, 1); in Init()
77 XMapRaised(display_, window_); in Init()
79 if (!glXMakeCurrent(display_, window_, context_)) { in Init()
95 glXMakeCurrent(display_, window_, context_); in Destroy()
122 if (!glXMakeCurrent(display_, window_, context_)) { in Resize()
137 XSetWMNormalHints(display_, window_, size_hints); in Resize()
143 XConfigureWindow(display_, window_, CWWidth | CWHeight, &wc); in Resize()
155 if (!glXMakeCurrent(display_, window_, context_)) { in RenderFrame()
[all …]
Dglx_renderer.h42 Window window_; variable
/external/webrtc/talk/media/base/
Dscreencastid.h54 : type_(WINDOW), window_(id) { in ScreencastId()
61 const rtc::WindowId& window() const { return window_; } in window()
72 return window_.IsValid(); in IsValid()
86 return window_.Equals(other.window()); in EqualsId()
107 rtc::WindowId window_; variable
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dx_server_pixel_buffer.cc63 : display_(NULL), window_(0), in XServerPixelBuffer()
93 window_ = 0; in Release()
110 window_ = window; in Init()
182 shm_pixmap_ = XShmCreatePixmap(display_, window_, in InitPixmaps()
201 shm_gc_ = XCreateGC(display_, window_, in InitPixmaps()
220 if (!XGetWindowAttributes(display_, window_, &attributes) || in IsWindowValid()
232 XShmGetImage(display_, window_, x_image_, 0, 0, AllPlanes); in Synchronize()
245 XCopyArea(display_, window_, shm_pixmap_, shm_gc_, in CaptureRect()
256 x_image_ = XGetImage(display_, window_, rect.left(), rect.top(), in CaptureRect()
Dx_server_pixel_buffer.h38 bool is_initialized() { return window_ != 0; } in is_initialized()
73 Window window_; variable
/external/tensorflow/tensorflow/core/util/
Dutil.cc45 : window_(window), in MovingAverage()
47 data_(new double[window_]), in MovingAverage()
70 if (count_ < window_) { in AddValue()
75 if (window_ == ++head_) { in AddValue()
Dutil.h43 const int window_; // Max size of interval
/external/webrtc/webrtc/common_audio/
Dblocker.cc118 window_(new float[block_size_]), in Blocker()
124 memcpy(window_.get(), window, block_size_ * sizeof(*window_.get())); in Blocker()
185 ApplyWindow(window_.get(), in ProcessChunk()
194 ApplyWindow(window_.get(), in ProcessChunk()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppressor.cc54 window_(NULL), in TransientSuppressor()
74 window_ = kBlocks80w128; in Initialize()
78 window_ = kBlocks160w256; in Initialize()
82 window_ = kBlocks320w512; in Initialize()
86 window_ = kBlocks480w1024; in Initialize()
238 fft_buffer_[i] = in_ptr[i] * window_[i]; in Suppress()
280 out_ptr[i] += fft_buffer_[i] * window_[i] * fft_scaling; in Suppress()
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram.h81 const std::vector<double>& GetWindow() const { return window_; } in GetWindow()
99 std::vector<double> window_; variable
Dspectrogram.cc48 window_ = window; // Copy window. in Initialize()
195 fft_input_output_[j] = input_queue_[j] * window_[j]; in ProcessCoreFFT()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dspectrogram.h80 const std::vector<double>& GetWindow() const { return window_; } in GetWindow()
98 std::vector<double> window_; variable
Dspectrogram.cc78 window_ = window; // Copy window. in Initialize()
226 fft_input_output_[j] = input_queue_[j] * window_[j]; in ProcessCoreFFT()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instructions.h1113 const Window& window() const override { return window_; } in window()
1114 void set_window(const Window& window) override { window_ = window; } in set_window()
1165 Window window_; variable
1180 const Window& window() const override { return window_; } in window()
1181 void set_window(const Window& window) override { window_ = window; } in set_window()
1196 Window window_; variable
1205 const Window& window() const override { return window_; } in window()
1206 void set_window(const Window& window) override { window_ = window; } in set_window()
1244 Window window_; variable
1261 CHECK(window_ != nullptr); in window()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc531 window_(ndims, 0), in PoolingDescriptor()
540 window_ = other.window_; in CloneFrom()
552 absl::StrAppendFormat(&window, "%d ", window_[i]); in ToString()
567 absl::StrAppendFormat(&window, "_w%d:%d", i, window_[i]); in ToShortString()

12