Home
last modified time | relevance | path

Searched refs:update_rect (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/api/video/
Dvideo_frame.h116 Builder& set_update_rect(const absl::optional<UpdateRect>& update_rect);
232 UpdateRect update_rect() const { in update_rect() function
237 void set_update_rect(const VideoFrame::UpdateRect& update_rect) { in set_update_rect() argument
238 RTC_DCHECK_GE(update_rect.offset_x, 0); in set_update_rect()
239 RTC_DCHECK_GE(update_rect.offset_y, 0); in set_update_rect()
240 RTC_DCHECK_LE(update_rect.offset_x + update_rect.width, width()); in set_update_rect()
241 RTC_DCHECK_LE(update_rect.offset_y + update_rect.height, height()); in set_update_rect()
242 update_rect_ = update_rect; in set_update_rect()
270 const absl::optional<UpdateRect>& update_rect,
Dvideo_frame.cc224 const absl::optional<VideoFrame::UpdateRect>& update_rect) { in set_update_rect() argument
225 update_rect_ = update_rect; in set_update_rect()
264 const absl::optional<UpdateRect>& update_rect, in VideoFrame() argument
274 update_rect_(update_rect), in VideoFrame()
/external/webrtc/api/test/
Dframe_generator_interface.h28 absl::optional<VideoFrame::UpdateRect> update_rect) in VideoFrameData()
29 : buffer(std::move(buffer)), update_rect(update_rect) {} in VideoFrameData()
32 absl::optional<VideoFrame::UpdateRect> update_rect; member
/external/webrtc/test/
Dframe_generator.cc173 VideoFrame::UpdateRect update_rect{0, 0, 0, 0}; in NextFrame() local
178 update_rect = VideoFrame::UpdateRect{0, 0, static_cast<int>(width_), in NextFrame()
185 return VideoFrameData(last_read_buffer_, update_rect); in NextFrame()
235 VideoFrame::UpdateRect update_rect{0, 0, 0, 0}; in NextFrame() local
240 update_rect = VideoFrame::UpdateRect{0, 0, static_cast<int>(width_), in NextFrame()
247 return VideoFrameData(last_read_buffer_, update_rect); in NextFrame()
385 current_frame_.update_rect = in NextFrame()
397 if (current_source_frame_.update_rect) { in UpdateSourceFrame()
398 acc_update.Union(*current_source_frame_.update_rect); in UpdateSourceFrame()
402 current_source_frame_.update_rect = acc_update; in UpdateSourceFrame()
[all …]
Dtest_video_capturer.cc64 VideoFrame::UpdateRect new_rect = frame.update_rect().ScaleWithFrame( in OnFrame()
Dframe_generator_capturer.cc200 .set_update_rect(frame_data.update_rect) in InsertFrame()
/external/webrtc/video/
Dvideo_stream_encoder.cc1497 accumulated_update_rect_.Union(incoming_frame.update_rect()); in OnFrame()
1535 accumulated_update_rect_.Union(incoming_frame.update_rect()); in OnFrame()
1775 accumulated_update_rect_.Union(pending_frame_->update_rect()); in MaybeEncodeVideoFrame()
1790 accumulated_update_rect_.Union(video_frame.update_rect()); in MaybeEncodeVideoFrame()
1811 accumulated_update_rect_.Union(video_frame.update_rect()); in MaybeEncodeVideoFrame()
1838 accumulated_update_rect_.Union(video_frame.update_rect()); in MaybeEncodeVideoFrame()
1920 VideoFrame::UpdateRect update_rect = video_frame.update_rect(); in EncodeVideoFrame() local
1926 update_rect.offset_x -= crop_width_ / 2; in EncodeVideoFrame()
1927 update_rect.offset_y -= crop_height_ / 2; in EncodeVideoFrame()
1928 update_rect.Intersect( in EncodeVideoFrame()
[all …]
Dvideo_stream_encoder_unittest.cc567 video_frame.update_rect().ScaleWithFrame( in IncomingCapturedFrame()
1244 last_update_rect_ = input_image.update_rect(); in Encode()
/external/webrtc/video/end_to_end_tests/
Dcall_operation_tests.cc140 .set_update_rect(frame_data.update_rect) in TEST_F()
208 .set_update_rect(frame_data.update_rect) in TEST_F()
/external/webrtc/test/testsupport/
Divf_video_frame_generator.cc99 return VideoFrameData(buffer, next_frame_->update_rect()); in NextFrame()
Divf_video_frame_generator_unittest.cc110 .set_update_rect(frame_data.update_rect) in BuildFrame()
/external/webrtc/modules/video_coding/codecs/test/
Dvideo_codec_unittest.cc107 .set_update_rect(frame_data.update_rect) in NextInputFrame()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp82 bool update_rect = false; in GetShadingBBox() local
118 if (update_rect) { in GetShadingBBox()
122 update_rect = true; in GetShadingBBox()
/external/webrtc/test/pc/e2e/analyzer/video/
Danalyzing_video_sink_test.cc76 .set_update_rect(frame_data.update_rect) in CreateFrame()
Ddefault_video_quality_analyzer_metric_names_test.cc66 .set_update_rect(frame_data.update_rect) in NextFrame()
Ddefault_video_quality_analyzer_frames_comparator_test.cc60 .set_update_rect(frame_data.update_rect) in CreateFrame()
Ddefault_video_quality_analyzer_test.cc64 .set_update_rect(frame_data.update_rect) in NextFrame()
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc949 if (frame.update_rect().IsEmpty() && num_steady_state_frames_ >= 3 && in Encode()
/external/webrtc/modules/video_coding/codecs/vp9/
Dlibvpx_vp9_encoder.cc1032 input_image.update_rect().IsEmpty() && in Encode()