/external/webrtc/talk/media/base/ |
D | videocommon_unittest.cc | 112 int scaled_width, scaled_height; in TEST() local 115 ComputeScale(2560, 1600, 5, &scaled_width, &scaled_height); in TEST() 117 EXPECT_EQ(1600, scaled_height); in TEST() 120 ComputeScale(4096, 2560, 5, &scaled_width, &scaled_height); in TEST() 122 EXPECT_EQ(1280, scaled_height); in TEST() 125 ComputeScale(16000, 10000, 5, &scaled_width, &scaled_height); in TEST() 127 EXPECT_EQ(1250, scaled_height); in TEST() 130 ComputeScale(5120, 1600, 5, &scaled_width, &scaled_height); in TEST() 132 EXPECT_EQ(800, scaled_height); in TEST() 135 ComputeScale(8192, 1024, 5, &scaled_width, &scaled_height); in TEST() [all …]
|
D | videocapturer.cc | 361 int scaled_width, scaled_height; in OnFrameCaptured() local 366 desired_screencast_fps, &scaled_width, &scaled_height); in OnFrameCaptured() 370 scaled_height != captured_frame->height)) { in OnFrameCaptured() 371 if (scaled_width != scaled_width_ || scaled_height != scaled_height_) { in OnFrameCaptured() 375 << scaled_width << "x" << scaled_height; in OnFrameCaptured() 377 scaled_height_ = scaled_height; in OnFrameCaptured() 381 const int modified_frame_size = scaled_width * scaled_height * 4; in OnFrameCaptured() 391 scaled_width * 4, scaled_width, scaled_height, in OnFrameCaptured() 394 modified_frame->height = scaled_height; in OnFrameCaptured() 395 modified_frame->data_size = scaled_width * 4 * scaled_height; in OnFrameCaptured() [all …]
|
D | videocommon.cc | 106 int* scaled_width, int* scaled_height) { in ComputeScaleMaxPixels() argument 108 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 | 157 int* scaled_width, int* scaled_height); 165 int* scaled_width, int* scaled_height); 178 int* scaled_width, int* scaled_height);
|
/external/webp/src/utils/ |
D | rescaler.c | 75 int* const scaled_height) { in WebPRescalerGetScaledDimensions() argument 77 assert(scaled_height != NULL); in WebPRescalerGetScaledDimensions() 80 int height = *scaled_height; in WebPRescalerGetScaledDimensions() 96 *scaled_height = height; in WebPRescalerGetScaledDimensions()
|
D | rescaler.h | 63 int* const scaled_height);
|
/external/webp/src/dec/ |
D | buffer.c | 193 int scaled_height = options->scaled_height; in WebPAllocateDecBuffer() local 195 w, h, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer() 199 h = scaled_height; in WebPAllocateDecBuffer()
|
D | webp.c | 804 int scaled_height = options->scaled_height; in WebPIoInitFromOptions() local 805 if (!WebPRescalerGetScaledDimensions(w, h, &scaled_width, &scaled_height)) { in WebPIoInitFromOptions() 809 io->scaled_height = scaled_height; in WebPIoInitFromOptions() 823 (io->scaled_height < H * 3 / 4); in WebPIoInitFromOptions()
|
D | decode_vp8.h | 102 int scaled_width, scaled_height; member
|
D | io.c | 291 const int out_height = io->scaled_height; in InitYUVRescaler() 464 const int out_height = io->scaled_height; in InitRGBRescaler()
|
D | vp8l.c | 492 const int out_height = io->scaled_height; in AllocateAndInitRescaler()
|
/external/opencv3/3rdparty/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 | 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/webrtc/webrtc/base/ |
D | x11windowpicker.cc | 518 int scaled_height = round(src_height * scale); in GetDrawableThumbnail() local 522 int centered_y = (dst_height - scaled_height) / 2; in GetDrawableThumbnail() 548 scaled_height); in GetDrawableThumbnail() 561 scaled_height, dst_width, dst_height, false); in GetDrawableThumbnail()
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 218 config.options.scaled_height = dstDimensions.height(); in onGetPixels()
|
/external/webp/include/webp/ |
D | decode.h | 440 int scaled_width, scaled_height; // final resolution member
|
/external/opencv3/3rdparty/libwebp/webp/ |
D | decode.h | 442 int scaled_width, scaled_height; // final resolution member
|
/external/webp/src/webp/ |
D | decode.h | 440 int scaled_width, scaled_height; // final resolution member
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 255 config->options.scaled_height = decodedBitmap->height(); in webp_get_config_resize()
|
/external/webp/ |
D | README | 592 config.options.scaled_height = scaledHeight();
|