Home
last modified time | relevance | path

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

/external/webrtc/talk/media/base/
Dvideocapturer.cc307 std::string VideoCapturer::ToString(const CapturedFrame* captured_frame) const { in ToString()
308 std::string fourcc_name = GetFourccName(captured_frame->fourcc) + " "; in ToString()
319 ss << fourcc_name << captured_frame->width << "x" << captured_frame->height; in ToString()
344 const CapturedFrame* captured_frame) { in OnFrameCaptured() argument
365 ComputeScale(captured_frame->width, captured_frame->height, in OnFrameCaptured()
368 if (FOURCC_ARGB == captured_frame->fourcc && in OnFrameCaptured()
369 (scaled_width != captured_frame->width || in OnFrameCaptured()
370 scaled_height != captured_frame->height)) { in OnFrameCaptured()
373 << captured_frame->width << "x" in OnFrameCaptured()
374 << captured_frame->height << " to " in OnFrameCaptured()
[all …]
Dvideocapturer.h292 const CapturedFrame* captured_frame);
337 void UpdateStats(const CapturedFrame* captured_frame);
Dvideoadapter_unittest.cc95 const CapturedFrame* captured_frame) { in OnFrameCaptured() argument
97 const int in_width = captured_frame->width; in OnFrameCaptured()
98 const int in_height = abs(captured_frame->height); in OnFrameCaptured()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe_unittest.cc65 cricket::CapturedFrame captured_frame; in TestInit() local
66 captured_frame.fourcc = cricket::FOURCC_I420; in TestInit()
67 captured_frame.pixel_width = 1; in TestInit()
68 captured_frame.pixel_height = 1; in TestInit()
69 captured_frame.time_stamp = 5678; in TestInit()
70 captured_frame.rotation = frame_rotation; in TestInit()
71 captured_frame.width = frame_width; in TestInit()
72 captured_frame.height = frame_height; in TestInit()
73 captured_frame.data_size = (frame_width * frame_height) + in TestInit()
76 new uint8_t[captured_frame.data_size]); in TestInit()
[all …]
Dwebrtcvideoframefactory_unittest.cc86 const cricket::CapturedFrame& captured_frame = get_captured_frame(); in TestCreateAliasedFrame() local
89 int new_width = captured_frame.width / 2; in TestCreateAliasedFrame()
90 int new_height = captured_frame.height / 2; in TestCreateAliasedFrame()
91 frame.reset(factory.CreateAliasedFrame(&captured_frame, new_width, in TestCreateAliasedFrame()
97 &captured_frame, new_width, new_height, new_width / 2, new_height / 2)); in TestCreateAliasedFrame()
105 &captured_frame, new_width, new_height, new_width / 2, new_height / 2)); in TestCreateAliasedFrame()
/external/webrtc/talk/app/webrtc/
Dandroidvideocapturer.cc82 const cricket::CapturedFrame* captured_frame, in CreateAliasedFrame() argument
86 RTC_CHECK(captured_frame == &captured_frame_); in CreateAliasedFrame()
91 captured_frame->time_stamp, captured_frame->rotation)); in CreateAliasedFrame()