Searched refs:update_rect_ (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/api/video/ |
D | video_frame.cc | 167 ntp_time_ms_, rotation_, color_space_, update_rect_, in build() 225 update_rect_ = update_rect; in set_update_rect() 272 update_rect_(update_rect), in VideoFrame() 274 if (update_rect_) { in VideoFrame() 275 RTC_DCHECK_GE(update_rect_->offset_x, 0); in VideoFrame() 276 RTC_DCHECK_GE(update_rect_->offset_y, 0); in VideoFrame() 277 RTC_DCHECK_LE(update_rect_->offset_x + update_rect_->width, width()); in VideoFrame() 278 RTC_DCHECK_LE(update_rect_->offset_y + update_rect_->height, height()); in VideoFrame()
|
D | video_frame.h | 109 absl::optional<UpdateRect> update_rect_; variable 206 bool has_update_rect() const { return update_rect_.has_value(); } in has_update_rect() 211 return update_rect_.value_or(UpdateRect{0, 0, width(), height()}); in update_rect() 220 update_rect_ = update_rect; in set_update_rect() 223 void clear_update_rect() { update_rect_ = absl::nullopt; } in clear_update_rect() 262 absl::optional<UpdateRect> update_rect_; variable
|