Home
last modified time | relevance | path

Searched refs:window_ (Results 1 – 25 of 28) 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::__anonc0e9ff9f0111::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/opencv3/modules/viz/src/
Dvizimpl.cpp57 window_ = vtkSmartPointer<vtkRenderWindow>::New(); in VizImpl()
58 cv::Vec2i window_size = cv::Vec2i(window_->GetScreenSize()) / 2; in VizImpl()
59 window_->SetSize(window_size.val); in VizImpl()
60 window_->AddRenderer(renderer_); in VizImpl()
117 Vec2i window_size(window_->GetSize()); in recreateRenderWindow()
118 int fullscreen = window_->GetFullScreen(); in recreateRenderWindow()
120 window_->Finalize(); in recreateRenderWindow()
121 window_ = vtkSmartPointer<vtkRenderWindow>::New(); in recreateRenderWindow()
123 window_->SetPosition(window_position_.val); in recreateRenderWindow()
125 window_->SetSize(window_size.val); in recreateRenderWindow()
[all …]
Dvizimpl.hpp123 vtkSmartPointer<vtkRenderWindow> window_; member
/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 …]
Dmain_wnd.h103 GtkWidget* window_; // Our main window.
/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/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()
Dtransient_suppressor.h99 const float* window_; variable
/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()
Dblocker.h112 rtc::scoped_ptr<float[]> window_; variable
/external/google-breakpad/src/client/mac/testapp/
DController.h47 IBOutlet NSWindow *window_; variable
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc69 window_.push_back(std::make_pair(send_time_us, payload_size)); in UpdateRates()
70 while (!window_.empty()) { in UpdateRates()
71 const TimeSizePair& packet = window_.front(); in UpdateRates()
79 window_.pop_front(); in UpdateRates()
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer.h129 float window_[kFftSize]; variable

12