HomeSort by relevance Sort by last modified time
    Searched refs:cropped_width (Results 1 - 12 of 12) sorted by null

  /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);
  /hardware/libhardware/modules/camera/3_4/arc/
cached_frame.cpp 140 int cropped_width = yu12_frame_->GetHeight() * yu12_frame_->GetHeight() / local
142 if (cropped_width % 2 == 1) {
143 // Make cropped_width to the closest even number.
144 cropped_width++;
147 int margin = (yu12_frame_->GetWidth() - cropped_width) / 2;
149 int rotated_height = cropped_width;
183 yu12_frame_->GetHeight(), cropped_width, cropped_height, rotation_mode,
  /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/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/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/common_video/include/
video_frame_buffer.h 152 int cropped_width,
  /device/google/marlin/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...]
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c 1155 int32_t cropped_width = 0, cropped_height = 0; local
1160 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) /
1162 if (cropped_width % 2) {
1163 cropped_width -= 1;
1167 cropped_width = p_thumb_dim->crop.width;
1168 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) /
1175 floor((p_thumb_dim->crop.width - cropped_width) / 2);
1184 p_thumb_dim->crop.width = cropped_width;
    [all...]

Completed in 135 milliseconds