Home
last modified time | relevance | path

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

/external/webrtc/webrtc/test/
Dframe_generator.cc147 current_source_frame_(nullptr), in ScrollingImageFrameGenerator()
187 current_source_frame_ = file_generator_.NextFrame(); in UpdateSourceFrame()
190 RTC_DCHECK(current_source_frame_ != nullptr); in UpdateSourceFrame()
196 int scroll_margin_x = current_source_frame_->width() - kTargetWidth; in CropSourceToScrolledImage()
199 int scroll_margin_y = current_source_frame_->height() - kTargetHeight; in CropSourceToScrolledImage()
203 int offset_y = (current_source_frame_->stride(PlaneType::kYPlane) * in CropSourceToScrolledImage()
206 int offset_u = (current_source_frame_->stride(PlaneType::kUPlane) * in CropSourceToScrolledImage()
209 int offset_v = (current_source_frame_->stride(PlaneType::kVPlane) * in CropSourceToScrolledImage()
214 &current_source_frame_->buffer(PlaneType::kYPlane)[offset_y], in CropSourceToScrolledImage()
215 &current_source_frame_->buffer(PlaneType::kUPlane)[offset_u], in CropSourceToScrolledImage()
[all …]