Home
last modified time | relevance | path

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

/external/webrtc/talk/media/base/
Dvideocommon_unittest.cc181 int cropped_width, cropped_height; in TEST() local
188 &cropped_width, &cropped_height); in TEST()
189 EXPECT_EQ(640, cropped_width); in TEST()
197 &cropped_width, &cropped_height); in TEST()
198 EXPECT_EQ(640, cropped_width); in TEST()
206 &cropped_width, &cropped_height); in TEST()
207 EXPECT_EQ(480, cropped_width); in TEST()
216 &cropped_width, &cropped_height); in TEST()
217 EXPECT_EQ(640, cropped_width); in TEST()
226 &cropped_width, &cropped_height); in TEST()
[all …]
Dvideocommon.cc160 int* cropped_width, int* cropped_height) { in ComputeCrop() argument
172 ASSERT(cropped_width != NULL); in ComputeCrop()
206 *cropped_width = frame_width; in ComputeCrop()
Dvideocapturer.cc476 int cropped_width = captured_frame->width; in OnFrameCaptured() local
497 &cropped_width, &cropped_height); in OnFrameCaptured()
500 int adapted_width = cropped_width; in OnFrameCaptured()
504 video_adapter_.AdaptFrameResolution(cropped_width, cropped_height); in OnFrameCaptured()
521 cropped_width, cropped_height, in OnFrameCaptured()
528 << cropped_width << " x " << cropped_height; in OnFrameCaptured()
Dvideoframefactory.h53 int cropped_width,
Dvideocommon.h173 int* cropped_width, int* cropped_height);
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc209 int cropped_width, in ShallowCenterCrop() argument
212 RTC_CHECK_LE(cropped_width, buffer->width()); in ShallowCenterCrop()
214 if (buffer->width() == cropped_width && buffer->height() == cropped_height) in ShallowCenterCrop()
219 const int uv_offset_x = (buffer->width() - cropped_width) / 4; in ShallowCenterCrop()
231 cropped_width, cropped_height, in ShallowCenterCrop()
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc40 int cropped_width,
337 int cropped_width, argument
340 cropped_frame->CreateEmptyFrame(cropped_width, cropped_height, cropped_width,
341 (cropped_width + 1) / 2,
342 (cropped_width + 1) / 2);
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe_unittest.cc58 void TestInit(int cropped_width, int cropped_height, in TestInit() argument
84 frame.Init(&captured_frame, cropped_width, cropped_height, in TestInit()
99 EXPECT_EQ(static_cast<size_t>(cropped_width), frame.GetHeight()); in TestInit()
102 EXPECT_EQ(static_cast<size_t>(cropped_width), frame.GetWidth()); in TestInit()
/external/webrtc/webrtc/common_video/include/
Dvideo_frame_buffer.h152 int cropped_width,