/external/webrtc/common_video/ |
D | video_frame_unittest.cc | 466 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/ |
D | video_frame.h | 35 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 …]
|
D | video_frame.cc | 21 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/ |
D | cfx_path.cpp | 110 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/ |
D | frame_generator.cc | 173 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()
|
D | test_video_capturer.cc | 64 VideoFrame::UpdateRect new_rect = frame.update_rect().ScaleWithFrame( in OnFrame()
|
/external/webrtc/api/test/ |
D | frame_generator_interface.h | 28 absl::optional<VideoFrame::UpdateRect> update_rect) in VideoFrameData() 32 absl::optional<VideoFrame::UpdateRect> update_rect;
|
/external/webrtc/video/ |
D | video_stream_encoder.h | 344 VideoFrame::UpdateRect accumulated_update_rect_ 349 absl::optional<VideoFrame::UpdateRect> last_update_rect_
|
D | video_stream_encoder.cc | 1734 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()
|
D | frame_cadence_adapter.cc | 528 VideoFrame::UpdateRect empty_update_rect; in ProcessRepeatedFrameOnDelayedCadence()
|
D | video_stream_encoder_unittest.cc | 948 .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/ |
D | video_encoder_software_fallback_wrapper.cc | 377 scaled_frame.set_update_rect(VideoFrame::UpdateRect{ in EncodeWithMainEncoder()
|
/external/pdfium/core/fxcrt/ |
D | fx_coordinates.h | 236 void UpdateRect(const CFX_PointF& point);
|
D | fx_coordinates.cpp | 241 void CFX_FloatRect::UpdateRect(const CFX_PointF& point) { in UpdateRect() function in CFX_FloatRect
|
/external/webrtc/media/engine/ |
D | simulcast_encoder_adapter.cc | 563 VideoFrame::UpdateRect{0, 0, frame.width(), frame.height()}); in Encode()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamcontentparser.cpp | 119 rect.UpdateRect(origin); in GetShadingBBox()
|