/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videocommon_unittest.cc | 111 int scaled_width, scaled_height; local 114 ComputeScale(2560, 1600, 5, &scaled_width, &scaled_height); 115 EXPECT_EQ(2560, scaled_width); 119 ComputeScale(4096, 2560, 5, &scaled_width, &scaled_height); 120 EXPECT_EQ(2048, scaled_width); 124 ComputeScale(16000, 10000, 5, &scaled_width, &scaled_height); 125 EXPECT_EQ(2000, scaled_width); 129 ComputeScale(5120, 1600, 5, &scaled_width, &scaled_height); 130 EXPECT_EQ(2560, scaled_width); 134 ComputeScale(8192, 1024, 5, &scaled_width, &scaled_height) 146 int scaled_width, scaled_height; local [all...] |
videocapturer.cc | 325 int scaled_width, scaled_height; local 330 desired_screencast_fps, &scaled_width, &scaled_height); 332 if (scaled_width != scaled_width_ || scaled_height != scaled_height_) { 336 << scaled_width << "x" << scaled_height; 337 scaled_width_ = scaled_width; 341 (scaled_width != captured_frame->height || 353 scaled_width * 4, scaled_width, scaled_height, 355 scaled_frame->width = scaled_width; 357 scaled_frame->data_size = scaled_width * 4 * scaled_height [all...] |
videocommon.cc | 104 int* scaled_width, int* scaled_height) { 105 ASSERT(scaled_width != NULL); 142 *scaled_width = static_cast<int>(frame_width * scale + .5f);
|
videocommon.h | 151 int* scaled_width, int* scaled_height);
|
/external/pixman/demos/ |
scale.c | 43 int scaled_width; member in struct:__anon26182 250 app->scaled_width = ceil (new_width); 274 if (area->x < app->scaled_width && area->y < app->scaled_height) 280 app->scaled_width - area->x, app->scaled_height - area->y);
|