/external/webrtc/talk/media/base/ |
videocommon_unittest.cc | 181 int cropped_width, cropped_height; local 188 &cropped_width, &cropped_height); 189 EXPECT_EQ(640, cropped_width); 197 &cropped_width, &cropped_height); 198 EXPECT_EQ(640, cropped_width); 206 &cropped_width, &cropped_height); 207 EXPECT_EQ(480, cropped_width); 216 &cropped_width, &cropped_height); 217 EXPECT_EQ(640, cropped_width); 226 &cropped_width, &cropped_height) [all...] |
videoframefactory.h | 51 // size |cropped_width| x |cropped_height|. 53 int cropped_width, 57 // |cropped_width| x |cropped_height|, scaled to |output_width| x
|
videocommon.cc | 160 int* cropped_width, int* cropped_height) { 172 ASSERT(cropped_width != NULL); 206 *cropped_width = frame_width;
|
videocapturer.cc | 476 int cropped_width = captured_frame->width; local 497 &cropped_width, &cropped_height); 500 int adapted_width = cropped_width; 504 video_adapter_.AdaptFrameResolution(cropped_width, cropped_height); 521 cropped_width, cropped_height, 528 << cropped_width << " x " << cropped_height;
|
videocommon.h | 173 int* cropped_width, int* cropped_height);
|
/external/webrtc/webrtc/common_video/ |
video_frame_buffer.cc | 209 int cropped_width, 212 RTC_CHECK_LE(cropped_width, buffer->width()); 214 if (buffer->width() == cropped_width && buffer->height() == cropped_height) 217 // Center crop to |cropped_width| x |cropped_height|. 219 const int uv_offset_x = (buffer->width() - cropped_width) / 4; 231 cropped_width, cropped_height,
|
/external/webrtc/talk/media/webrtc/ |
webrtcvideoframe_unittest.cc | 58 void TestInit(int cropped_width, int cropped_height, 84 frame.Init(&captured_frame, cropped_width, cropped_height, 99 EXPECT_EQ(static_cast<size_t>(cropped_width), frame.GetHeight()); 102 EXPECT_EQ(static_cast<size_t>(cropped_width), frame.GetWidth());
|
/external/webrtc/webrtc/modules/video_processing/test/ |
video_processing_unittest.cc | 40 int cropped_width, 337 int cropped_width, 340 cropped_frame->CreateEmptyFrame(cropped_width, cropped_height, cropped_width, 341 (cropped_width + 1) / 2, 342 (cropped_width + 1) / 2);
|
/external/webrtc/webrtc/common_video/include/ |
video_frame_buffer.h | 152 int cropped_width,
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 990 int32_t cropped_width = 0, cropped_height = 0; local 995 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / 997 if (cropped_width % 2) { 998 cropped_width -= 1; 1002 cropped_width = p_thumb_dim->crop.width; 1003 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / 1010 floor((p_thumb_dim->crop.width - cropped_width) / 2); 1019 p_thumb_dim->crop.width = cropped_width; [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 875 int cropped_width = 0, cropped_height = 0; local 880 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / 884 cropped_width = p_thumb_dim->src_dim.width; 885 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / 888 p_thumb_dim->crop.left = floor(p_thumb_dim->src_dim.width - cropped_width) / 2; 890 p_thumb_dim->crop.width = cropped_width; [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 875 int cropped_width = 0, cropped_height = 0; local 880 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / 884 cropped_width = p_thumb_dim->src_dim.width; 885 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / 888 p_thumb_dim->crop.left = floor(p_thumb_dim->src_dim.width - cropped_width) / 2; 890 p_thumb_dim->crop.width = cropped_width; [all...] |