Home
last modified time | relevance | path

Searched refs:DesktopRegion (Results 1 – 25 of 75) sorted by relevance

123

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Ddesktop_region.h27 class DesktopRegion {
69 explicit Iterator(const DesktopRegion& target);
77 const DesktopRegion& region_;
90 DesktopRegion();
91 explicit DesktopRegion(const DesktopRect& rect);
92 DesktopRegion(const DesktopRect* rects, int count);
93 DesktopRegion(const DesktopRegion& other);
94 ~DesktopRegion();
96 DesktopRegion& operator=(const DesktopRegion& other);
100 bool Equals(const DesktopRegion& region) const;
[all …]
Dscreen_capturer_helper_unittest.cc24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F()
32 DesktopRegion region; in TEST_F()
39 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4)).Equals(region)); in TEST_F()
42 DesktopRegion(DesktopRect::MakeXYWH(1, 2, 3, 4))); in TEST_F()
44 DesktopRegion(DesktopRect::MakeXYWH(4, 2, 3, 4))); in TEST_F()
46 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeXYWH(1, 2, 6, 4)).Equals(region)); in TEST_F()
50 DesktopRegion region; in TEST_F()
53 EXPECT_TRUE(DesktopRegion(DesktopRect::MakeWH(12, 34)).Equals(region)); in TEST_F()
66 DesktopRegion region; in TEST_F()
68 EXPECT_TRUE(DesktopRegion().Equals(region)); in TEST_F()
[all …]
Ddesktop_region.cc19 DesktopRegion::RowSpan::RowSpan(int32_t left, int32_t right) in RowSpan()
23 DesktopRegion::Row::Row(int32_t top, int32_t bottom) in Row()
27 DesktopRegion::Row::~Row() {} in ~Row()
29 DesktopRegion::DesktopRegion() {} in DesktopRegion() function in webrtc::DesktopRegion
31 DesktopRegion::DesktopRegion(const DesktopRect& rect) { in DesktopRegion() function in webrtc::DesktopRegion
35 DesktopRegion::DesktopRegion(const DesktopRect* rects, int count) { in DesktopRegion() function in webrtc::DesktopRegion
39 DesktopRegion::DesktopRegion(const DesktopRegion& other) { in DesktopRegion() function in webrtc::DesktopRegion
43 DesktopRegion::~DesktopRegion() { in ~DesktopRegion()
47 DesktopRegion& DesktopRegion::operator=(const DesktopRegion& other) { in operator =()
58 bool DesktopRegion::Equals(const DesktopRegion& region) const { in Equals()
[all …]
Dscreen_capturer_helper.h34 void InvalidateRegion(const DesktopRegion& invalid_region);
41 void TakeInvalidRegion(DesktopRegion* invalid_region);
62 static void ExpandToGrid(const DesktopRegion& region,
64 DesktopRegion* result);
70 DesktopRegion invalid_region_;
Ddesktop_region_unittest.cc25 void CompareRegion(const DesktopRegion& region, in CompareRegion()
27 DesktopRegion::Iterator it(region); in CompareRegion()
45 DesktopRegion r; in TEST()
51 DesktopRegion r; in TEST()
59 DesktopRegion r; in TEST()
92 DesktopRegion r; in TEST()
197 DesktopRegion r; in TEST()
221 DesktopRegion base_region; in TEST()
241 DesktopRegion r = base_region; in TEST()
251 for (DesktopRegion::Iterator it(r); !it.IsAtEnd(); it.Advance()) { in TEST()
[all …]
Ddesktop_frame.h45 const DesktopRegion& updated_region() const { return updated_region_; } in updated_region()
46 DesktopRegion* mutable_updated_region() { return &updated_region_; } in mutable_updated_region()
59 const DesktopRegion* shape() const { return shape_.get(); } in shape()
60 void set_shape(DesktopRegion* shape) { shape_.reset(shape); } in set_shape()
85 DesktopRegion updated_region_;
88 scoped_ptr<DesktopRegion> shape_;
Dscreen_capturer_helper.cc34 const DesktopRegion& invalid_region) { in InvalidateRegion()
45 DesktopRegion* invalid_region) { in TakeInvalidRegion()
54 DesktopRegion expanded_region; in TakeInvalidRegion()
87 void ScreenCapturerHelper::ExpandToGrid(const DesktopRegion& region, in ExpandToGrid()
89 DesktopRegion* result) { in ExpandToGrid()
95 for (DesktopRegion::Iterator it(region); !it.IsAtEnd(); it.Advance()) { in ExpandToGrid()
Ddiffer_unittest.cc58 void MergeBlocks(DesktopRegion* dirty) { in MergeBlocks()
63 int RegionRectCount(const DesktopRegion& region) { in RegionRectCount()
65 for (DesktopRegion::Iterator iter(region); in RegionRectCount()
154 bool CheckDirtyRegionContainsRect(const DesktopRegion& region, in CheckDirtyRegionContainsRect()
160 for (DesktopRegion::Iterator i(region); !i.IsAtEnd(); i.Advance()) { in CheckDirtyRegionContainsRect()
175 DesktopRegion dirty; in MarkBlocksAndCheckMerge()
185 DesktopRegion::Iterator it(dirty); in MarkBlocksAndCheckMerge()
385 DesktopRegion dirty; in TEST_F()
541 DesktopRegion dirty; in TEST_F()
Dscreen_capturer_mac_unittest.cc57 DesktopRegion::Iterator it(frame->updated_region()); in CaptureDoneCallback1()
93 capturer_->Capture(DesktopRegion()); in TEST_F()
96 capturer_->Capture(DesktopRegion()); in TEST_F()
Dscreen_capturer_unittest.cc89 capturer_->Capture(DesktopRegion()); in TEST_F()
100 DesktopRegion::Iterator it(frame->updated_region()); in TEST_F()
123 capturer_->Capture(DesktopRegion()); in TEST_F()
141 capturer_->Capture(DesktopRegion()); in TEST_F()
Ddesktop_capturer.h21 class DesktopRegion; variable
56 virtual void Capture(const DesktopRegion& region) = 0;
/external/chromium_org/remoting/codec/
Dvideo_decoder_vpx.h31 const webrtc::DesktopRegion& region) OVERRIDE;
36 webrtc::DesktopRegion* output_region) OVERRIDE;
37 virtual const webrtc::DesktopRegion* GetImageShape() OVERRIDE;
45 void UpdateImageShapeRegion(webrtc::DesktopRegion* new_desktop_shape);
53 webrtc::DesktopRegion updated_region_;
59 webrtc::DesktopRegion desktop_shape_;
62 webrtc::DesktopRegion transparent_region_;
Dvideo_decoder_vpx.cc119 webrtc::DesktopRegion region; in DecodePacket()
130 webrtc::DesktopRegion desktop_shape_region; in DecodePacket()
142 webrtc::DesktopRegion(webrtc::DesktopRect::MakeSize(screen_size_)); in DecodePacket()
151 const webrtc::DesktopRegion& region) { in Invalidate()
154 for (webrtc::DesktopRegion::Iterator i(region); !i.IsAtEnd(); i.Advance()) { in Invalidate()
160 webrtc::DesktopRegion difference = updated_region_; in Invalidate()
170 webrtc::DesktopRegion* output_region) { in RenderFrame()
186 for (webrtc::DesktopRegion::Iterator i(updated_region_); in RenderFrame()
236 webrtc::DesktopRegion intersection(source_rect); in RenderFrame()
266 for (webrtc::DesktopRegion::Iterator i(updated_region_); in RenderFrame()
[all …]
Dvideo_decoder.h13 class DesktopRegion; variable
40 const webrtc::DesktopRegion& region) = 0;
58 webrtc::DesktopRegion* output_region) = 0;
62 virtual const webrtc::DesktopRegion* GetImageShape() = 0;
Dvideo_decoder_verbatim.h29 const webrtc::DesktopRegion& region) OVERRIDE;
34 webrtc::DesktopRegion* output_region) OVERRIDE;
35 virtual const webrtc::DesktopRegion* GetImageShape() OVERRIDE;
39 webrtc::DesktopRegion updated_region_;
Dvideo_decoder_verbatim.cc30 webrtc::DesktopRegion region; in DecodePacket()
73 const webrtc::DesktopRegion& region) { in Invalidate()
81 webrtc::DesktopRegion* output_region) { in RenderFrame()
92 for (webrtc::DesktopRegion::Iterator i(updated_region_); in RenderFrame()
110 const webrtc::DesktopRegion* VideoDecoderVerbatim::GetImageShape() { in GetImageShape()
Dvideo_encoder_vpx.h17 class DesktopRegion; variable
46 webrtc::DesktopRegion* updated_region);
50 void PrepareActiveMap(const webrtc::DesktopRegion& updated_region);
Dvideo_encoder_helper.cc24 const webrtc::DesktopRegion& updated_region) { in CreateVideoPacketWithUpdatedRegion()
37 for (webrtc::DesktopRegion::Iterator iter(updated_region); in CreateVideoPacketWithUpdatedRegion()
50 for (webrtc::DesktopRegion::Iterator r(*frame.shape()); in CreateVideoPacketWithUpdatedRegion()
Dvideo_encoder_helper.h13 class DesktopRegion; variable
36 const webrtc::DesktopRegion& updated_region);
/external/chromium_org/remoting/host/
Dshaped_desktop_capturer_unittest.cc21 static webrtc::DesktopRegion CreateShape() { in CreateShape()
22 webrtc::DesktopRegion result; in CreateShape()
32 virtual const webrtc::DesktopRegion& desktop_shape() OVERRIDE { in desktop_shape()
39 webrtc::DesktopRegion shape_;
63 capturer.Capture(webrtc::DesktopRegion()); in TEST_F()
Ddesktop_shape_tracker.h12 class DesktopRegion; variable
30 virtual const webrtc::DesktopRegion& desktop_shape() = 0;
/external/chromium_org/remoting/client/
Dframe_consumer.h13 class DesktopRegion; variable
40 const webrtc::DesktopRegion& region,
41 const webrtc::DesktopRegion& shape) = 0;
Dsoftware_video_renderer.cc51 const webrtc::DesktopRegion& region) OVERRIDE { in Invalidate()
59 webrtc::DesktopRegion* output_region) OVERRIDE { in RenderFrame()
63 for (webrtc::DesktopRegion::Iterator i(*output_region); !i.IsAtEnd(); in RenderFrame()
73 virtual const webrtc::DesktopRegion* GetImageShape() OVERRIDE { in GetImageShape()
90 void InvalidateRegion(const webrtc::DesktopRegion& region);
241 webrtc::DesktopRegion output_region; in DoPaint()
276 const webrtc::DesktopRegion& region) { in InvalidateRegion()
292 webrtc::DesktopRegion region; in SetOutputSizeAndClip()
396 const webrtc::DesktopRegion& region) { in InvalidateRegion()
Dframe_producer.h13 class DesktopRegion; variable
34 virtual void InvalidateRegion(const webrtc::DesktopRegion& region) = 0;
/external/chromium_org/remoting/client/plugin/
Dpepper_view.h51 const webrtc::DesktopRegion& region,
52 const webrtc::DesktopRegion& shape) OVERRIDE;
81 const webrtc::DesktopRegion& region);
107 webrtc::DesktopRegion merge_region_;

123