Home
last modified time | relevance | path

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

/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframefactory_unittest.cc44 captured_frame_.fourcc = cricket::FOURCC_I420; in InitFrame()
45 captured_frame_.pixel_width = 1; in InitFrame()
46 captured_frame_.pixel_height = 1; in InitFrame()
47 captured_frame_.time_stamp = 5678; in InitFrame()
48 captured_frame_.rotation = frame_rotation; in InitFrame()
49 captured_frame_.width = frame_width; in InitFrame()
50 captured_frame_.height = frame_height; in InitFrame()
51 captured_frame_.data_size = in InitFrame()
54 captured_frame_buffer_.reset(new uint8_t[captured_frame_.data_size]); in InitFrame()
56 memset(captured_frame_buffer_.get(), 0, captured_frame_.data_size); in InitFrame()
[all …]
/external/webrtc/talk/app/webrtc/
Dandroidvideocapturer.cc50 captured_frame_.pixel_height = 1; in FrameFactory()
51 captured_frame_.pixel_width = 1; in FrameFactory()
52 captured_frame_.data = nullptr; in FrameFactory()
53 captured_frame_.data_size = cricket::CapturedFrame::kUnknownDataSize; in FrameFactory()
54 captured_frame_.fourcc = static_cast<uint32_t>(cricket::FOURCC_ANY); in FrameFactory()
64 captured_frame_.width = buffer->width(); in UpdateCapturedFrame()
65 captured_frame_.height = buffer->height(); in UpdateCapturedFrame()
66 captured_frame_.time_stamp = time_stamp_in_ns; in UpdateCapturedFrame()
67 captured_frame_.rotation = static_cast<webrtc::VideoRotation>(rotation); in UpdateCapturedFrame()
72 captured_frame_.width = 0; in ClearCapturedFrame()
[all …]
/external/webrtc/talk/media/devices/
Dyuvframescapturer.cc111 delete[] static_cast<char*>(captured_frame_.data); in ~YuvFramesCapturer()
119 captured_frame_.data = new char[frame_data_size_]; in Init()
120 captured_frame_.fourcc = FOURCC_IYUV; in Init()
121 captured_frame_.pixel_height = 1; in Init()
122 captured_frame_.pixel_width = 1; in Init()
123 captured_frame_.width = width_; in Init()
124 captured_frame_.height = height_; in Init()
125 captured_frame_.data_size = frame_data_size_; in Init()
181 SignalFrameCaptured(this, &captured_frame_); in ReadFrame()
186 memmove(captured_frame_.data, buffer, frame_data_size_); in ReadFrame()
Dfilevideocapturer.cc174 delete[] static_cast<char*>(captured_frame_.data); in ~FileVideoCapturer()
320 captured_frame_.time_stamp = in ReadFrame()
322 SignalFrameCaptured(this, &captured_frame_); in ReadFrame()
331 rtc::StreamResult result = ReadFrameHeader(&captured_frame_); in ReadFrame()
342 result = ReadFrameHeader(&captured_frame_); in ReadFrame()
350 if (frame_buffer_size_ < captured_frame_.data_size) { in ReadFrame()
351 frame_buffer_size_ = captured_frame_.data_size; in ReadFrame()
352 delete[] static_cast<char*>(captured_frame_.data); in ReadFrame()
353 captured_frame_.data = new char[frame_buffer_size_]; in ReadFrame()
356 if (rtc::SR_SUCCESS != video_file_.Read(captured_frame_.data, in ReadFrame()
[all …]
Dfilevideocapturer.h139 return &captured_frame_; in frame()
147 CapturedFrame captured_frame_; variable
Dyuvframescapturer.h82 CapturedFrame captured_frame_; variable
/external/webrtc/webrtc/video/
Dvideo_capture_input.cc108 captured_frame_.ShallowCopy(incoming_frame); in IncomingCapturedFrame()
111 overuse_detector_->FrameCaptured(captured_frame_.width(), in IncomingCapturedFrame()
112 captured_frame_.height(), in IncomingCapturedFrame()
113 captured_frame_.render_time_ms()); in IncomingCapturedFrame()
136 if (!captured_frame_.IsZeroSize()) { in EncoderProcess()
137 deliver_frame = captured_frame_; in EncoderProcess()
138 captured_frame_.Reset(); in EncoderProcess()
Dvideo_capture_input.h84 VideoFrame captured_frame_ GUARDED_BY(capture_cs_.get());