Home
last modified time | relevance | path

Searched refs:UpdateRect (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/common_video/
Dvideo_frame_unittest.cc466 VideoFrame::UpdateRect a = {0, 0, 100, 200}; in TEST()
467 VideoFrame::UpdateRect b = {0, 0, 100, 200}; in TEST()
468 VideoFrame::UpdateRect c = {1, 0, 100, 200}; in TEST()
469 VideoFrame::UpdateRect d = {0, 1, 100, 200}; in TEST()
476 VideoFrame::UpdateRect a = {0, 0, 0, 0}; in TEST()
477 VideoFrame::UpdateRect b = {0, 0, 100, 200}; in TEST()
478 VideoFrame::UpdateRect c = {1, 100, 0, 0}; in TEST()
479 VideoFrame::UpdateRect d = {1, 100, 100, 200}; in TEST()
487 VideoFrame::UpdateRect a = {0, 0, 10, 20}; in TEST()
488 VideoFrame::UpdateRect b = {100, 200, 10, 20}; in TEST()
[all …]
/external/webrtc/api/video/
Dvideo_frame.h35 struct RTC_EXPORT UpdateRect { struct
42 void Union(const UpdateRect& other);
45 void Intersect(const UpdateRect& other);
54 bool operator==(const UpdateRect& other) const {
59 bool operator!=(const UpdateRect& other) const { return !(*this == other); }
68 UpdateRect ScaleWithFrame(int frame_width,
116 Builder& set_update_rect(const absl::optional<UpdateRect>& update_rect);
128 absl::optional<UpdateRect> update_rect_;
232 UpdateRect update_rect() const { in update_rect()
233 return update_rect_.value_or(UpdateRect{0, 0, width(), height()}); in update_rect()
[all …]
Dvideo_frame.cc21 void VideoFrame::UpdateRect::Union(const UpdateRect& other) { in Union()
38 void VideoFrame::UpdateRect::Intersect(const UpdateRect& other) { in Intersect()
55 void VideoFrame::UpdateRect::MakeEmptyUpdate() { in MakeEmptyUpdate()
59 bool VideoFrame::UpdateRect::IsEmpty() const { in IsEmpty()
63 VideoFrame::UpdateRect VideoFrame::UpdateRect::ScaleWithFrame( in ScaleWithFrame()
224 const absl::optional<VideoFrame::UpdateRect>& update_rect) { in set_update_rect()
264 const absl::optional<UpdateRect>& update_rect, in VideoFrame()
/external/pdfium/core/fxge/
Dcfx_path.cpp110 rect->UpdateRect(end_pos + CFX_PointF(hw, hw)); in UpdateLineEndPoints()
111 rect->UpdateRect(end_pos - CFX_PointF(hw, hw)); in UpdateLineEndPoints()
121 rect->UpdateRect(CFX_PointF(end_pos.x + hw, point_y)); in UpdateLineEndPoints()
122 rect->UpdateRect(CFX_PointF(end_pos.x - hw, point_y)); in UpdateLineEndPoints()
133 rect->UpdateRect(CFX_PointF(point_x, end_pos.y + hw)); in UpdateLineEndPoints()
134 rect->UpdateRect(CFX_PointF(point_x, end_pos.y - hw)); in UpdateLineEndPoints()
144 rect->UpdateRect(CFX_PointF(mx - dx1, my + dy1)); in UpdateLineEndPoints()
145 rect->UpdateRect(CFX_PointF(mx + dx1, my - dy1)); in UpdateLineEndPoints()
169 rect->UpdateRect(CFX_PointF(mid_pos.x + half_width, point_y)); in UpdateLineJoinPoints()
170 rect->UpdateRect(CFX_PointF(mid_pos.x - half_width, point_y)); in UpdateLineJoinPoints()
[all …]
/external/webrtc/test/
Dframe_generator.cc173 VideoFrame::UpdateRect update_rect{0, 0, 0, 0}; in NextFrame()
178 update_rect = VideoFrame::UpdateRect{0, 0, static_cast<int>(width_), in NextFrame()
235 VideoFrame::UpdateRect update_rect{0, 0, 0, 0}; in NextFrame()
240 update_rect = VideoFrame::UpdateRect{0, 0, static_cast<int>(width_), in NextFrame()
386 VideoFrame::UpdateRect{0, 0, target_width_, target_height_}; in NextFrame()
394 VideoFrame::UpdateRect acc_update{0, 0, 0, 0}; in UpdateSourceFrame()
423 VideoFrame::UpdateRect update_rect = in CropSourceToScrolledImage()
425 ? VideoFrame::UpdateRect{0, 0, 0, 0} in CropSourceToScrolledImage()
426 : VideoFrame::UpdateRect{0, 0, target_width_, target_height_}; in CropSourceToScrolledImage()
Dtest_video_capturer.cc64 VideoFrame::UpdateRect new_rect = frame.update_rect().ScaleWithFrame( in OnFrame()
/external/webrtc/api/test/
Dframe_generator_interface.h28 absl::optional<VideoFrame::UpdateRect> update_rect) in VideoFrameData()
32 absl::optional<VideoFrame::UpdateRect> update_rect;
/external/webrtc/video/
Dvideo_stream_encoder.h344 VideoFrame::UpdateRect accumulated_update_rect_
349 absl::optional<VideoFrame::UpdateRect> last_update_rect_
Dvideo_stream_encoder.cc1734 VideoFrame::UpdateRect{0, 0, video_frame.width(), video_frame.height()}; in MaybeEncodeVideoFrame()
1920 VideoFrame::UpdateRect update_rect = video_frame.update_rect(); in EncodeVideoFrame()
1929 VideoFrame::UpdateRect{0, 0, cropped_width, cropped_height}); in EncodeVideoFrame()
1939 VideoFrame::UpdateRect{0, 0, cropped_width, cropped_height}; in EncodeVideoFrame()
1955 VideoFrame::UpdateRect{0, 0, out_frame.width(), out_frame.height()}; in EncodeVideoFrame()
1966 VideoFrame::UpdateRect{0, 0, out_frame.width(), out_frame.height()}); in EncodeVideoFrame()
Dframe_cadence_adapter.cc528 VideoFrame::UpdateRect empty_update_rect; in ProcessRepeatedFrameOnDelayedCadence()
Dvideo_stream_encoder_unittest.cc948 .set_update_rect(VideoFrame::UpdateRect{offset_x, 0, 1, 1}) in CreateFrameWithUpdatedPixel()
1142 VideoFrame::UpdateRect GetLastUpdateRect() const { in GetLastUpdateRect()
1350 VideoFrame::UpdateRect last_update_rect_ RTC_GUARDED_BY(local_mutex_) = {
7246 VideoFrame::UpdateRect rect; in TEST_F()
7916 frame.set_update_rect(VideoFrame::UpdateRect{0, 0, kWidth, kHeight}); in TEST_F()
/external/webrtc/api/video_codecs/
Dvideo_encoder_software_fallback_wrapper.cc377 scaled_frame.set_update_rect(VideoFrame::UpdateRect{ in EncodeWithMainEncoder()
/external/pdfium/core/fxcrt/
Dfx_coordinates.h236 void UpdateRect(const CFX_PointF& point);
Dfx_coordinates.cpp241 void CFX_FloatRect::UpdateRect(const CFX_PointF& point) { in UpdateRect() function in CFX_FloatRect
/external/webrtc/media/engine/
Dsimulcast_encoder_adapter.cc563 VideoFrame::UpdateRect{0, 0, frame.width(), frame.height()}); in Encode()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp119 rect.UpdateRect(origin); in GetShadingBBox()