/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | videocommon_unittest.cc | 111 int scaled_width, scaled_height; in TEST() local 114 ComputeScale(2560, 1600, 5, &scaled_width, &scaled_height); in TEST() 116 EXPECT_EQ(1600, scaled_height); in TEST() 119 ComputeScale(4096, 2560, 5, &scaled_width, &scaled_height); in TEST() 121 EXPECT_EQ(1280, scaled_height); in TEST() 124 ComputeScale(16000, 10000, 5, &scaled_width, &scaled_height); in TEST() 126 EXPECT_EQ(1250, scaled_height); in TEST() 129 ComputeScale(5120, 1600, 5, &scaled_width, &scaled_height); in TEST() 131 EXPECT_EQ(800, scaled_height); in TEST() 134 ComputeScale(8192, 1024, 5, &scaled_width, &scaled_height); in TEST() [all …]
|
D | videocapturer.cc | 327 int scaled_width, scaled_height; in OnFrameCaptured() local 330 screencast_max_pixels_, &scaled_width, &scaled_height); in OnFrameCaptured() 336 desired_screencast_fps, &scaled_width, &scaled_height); in OnFrameCaptured() 341 scaled_height != captured_frame->height)) { in OnFrameCaptured() 342 if (scaled_width != scaled_width_ || scaled_height != scaled_height_) { in OnFrameCaptured() 346 << scaled_width << "x" << scaled_height; in OnFrameCaptured() 348 scaled_height_ = scaled_height; in OnFrameCaptured() 361 scaled_width * 4, scaled_width, scaled_height, in OnFrameCaptured() 364 modified_frame->height = scaled_height; in OnFrameCaptured() 365 modified_frame->data_size = scaled_width * 4 * scaled_height; in OnFrameCaptured() [all …]
|
D | videocommon.cc | 103 int* scaled_width, int* scaled_height) { in ComputeScaleMaxPixels() argument 105 ASSERT(scaled_height != NULL); in ComputeScaleMaxPixels() 137 *scaled_height = static_cast<int>(frame_height * scale + .5f); in ComputeScaleMaxPixels() 143 int* scaled_width, int* scaled_height) { in ComputeScale() argument 151 frame_width, frame_height, max_pixels, scaled_width, scaled_height); in ComputeScale() 213 int* scaled_width, int* scaled_height) { in ComputeScaleToSquarePixels() argument 215 *scaled_height = in_height * pixel_height / pixel_width; in ComputeScaleToSquarePixels()
|
D | videocommon.h | 152 int* scaled_width, int* scaled_height); 160 int* scaled_width, int* scaled_height); 173 int* scaled_width, int* scaled_height);
|
/external/pixman/demos/ |
D | scale.c | 44 int scaled_height; member 251 app->scaled_height = ceil (new_height); in rescale() 274 if (area->x < app->scaled_width && area->y < app->scaled_height) in on_expose() 280 app->scaled_width - area->x, app->scaled_height - area->y); in on_expose()
|
/external/chromium/webkit/glue/ |
D | webmediaplayer_impl.cc | 652 int scaled_height = static_cast<int>(rect.height * fabs(scale_y)); in paint() local 658 if (scaled_height > static_cast<int>(media::Limits::kMaxCanvas)) in paint() 659 scaled_height = media::Limits::kMaxCanvas; in paint() 666 skia_canvas_->getDevice()->height() != scaled_height) { in paint() 668 new skia::PlatformCanvas(scaled_width, scaled_height, true)); in paint() 672 gfx::Rect normalized_rect(scaled_width, scaled_height); in paint()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | avatar_menu_bubble_view.cc | 65 int scaled_height; in GetCenteredAndScaledRect() local 70 scaled_height = Round(src_height * scale); in GetCenteredAndScaledRect() 72 scaled_height = std::min(src_height, dst_height); in GetCenteredAndScaledRect() 73 float scale = static_cast<float>(scaled_height) / in GetCenteredAndScaledRect() 78 int y = dst_y + (dst_height - scaled_height) / 2; in GetCenteredAndScaledRect() 79 return gfx::Rect(x, y, scaled_width, scaled_height); in GetCenteredAndScaledRect()
|
/external/chromium_org/third_party/libwebp/dec/ |
D | buffer.c | 157 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer() 161 h = options->scaled_height; in WebPAllocateDecBuffer()
|
D | decode_vp8.h | 102 int scaled_width, scaled_height; member
|
D | webp.c | 780 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPIoInitFromOptions() 784 io->scaled_height = options->scaled_height; in WebPIoInitFromOptions() 798 (io->scaled_height < H * 3 / 4); in WebPIoInitFromOptions()
|
D | io.c | 313 const int out_height = io->scaled_height; in InitYUVRescaler() 485 const int out_height = io->scaled_height; in InitRGBRescaler()
|
D | vp8l.c | 374 const int out_height = io->scaled_height; in AllocateAndInitRescaler()
|
/external/webp/src/dec/ |
D | buffer.c | 157 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer() 161 h = options->scaled_height; in WebPAllocateDecBuffer()
|
D | decode_vp8.h | 102 int scaled_width, scaled_height; member
|
D | webp.c | 763 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPIoInitFromOptions() 767 io->scaled_height = options->scaled_height; in WebPIoInitFromOptions() 781 (io->scaled_height < H * 3 / 4); in WebPIoInitFromOptions()
|
D | io.c | 313 const int out_height = io->scaled_height; in InitYUVRescaler() 485 const int out_height = io->scaled_height; in InitRGBRescaler()
|
D | vp8l.c | 373 const int out_height = io->scaled_height; in AllocateAndInitRescaler()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | linuxwindowpicker.cc | 540 int scaled_height = round(src_height * scale); in GetDrawableThumbnail() local 544 int centered_y = (dst_height - scaled_height) / 2; in GetDrawableThumbnail() 570 scaled_height); in GetDrawableThumbnail() 585 scaled_height, in GetDrawableThumbnail()
|
/external/chromium_org/content/browser/renderer_host/ |
D | compositing_iosurface_transformer_mac_unittest.cc | 424 int scaled_height; member 468 const gfx::Size dst_size(params.scaled_width, params.scaled_height); in TEST_F() 505 const gfx::Size dst_size(params.scaled_width, params.scaled_height); in TEST_F()
|
/external/webp/include/webp/ |
D | decode.h | 442 int scaled_width, scaled_height; // final resolution member
|
/external/chromium_org/third_party/libwebp/webp/ |
D | decode.h | 442 int scaled_width, scaled_height; // final resolution member
|
/external/webp/examples/ |
D | dwebp.c | 424 config.options.scaled_height = strtol(argv[++c], NULL, 0); in main()
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 252 config->options.scaled_height = decodedBitmap->height(); in webp_get_config_resize()
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 252 config->options.scaled_height = decodedBitmap->height(); in webp_get_config_resize()
|
/external/webp/ |
D | README | 497 config.options.scaled_height = scaledHeight();
|