/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() 116 EXPECT_EQ(2560, scaled_width); in TEST() 120 ComputeScale(4096, 2560, 5, &scaled_width, &scaled_height); in TEST() 121 EXPECT_EQ(2048, scaled_width); in TEST() 125 ComputeScale(16000, 10000, 5, &scaled_width, &scaled_height); in TEST() 126 EXPECT_EQ(2000, scaled_width); in TEST() 130 ComputeScale(5120, 1600, 5, &scaled_width, &scaled_height); in TEST() 131 EXPECT_EQ(2560, scaled_width); 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() 369 (scaled_width != captured_frame->width || in OnFrameCaptured() 371 if (scaled_width != scaled_width_ || scaled_height != scaled_height_) { in OnFrameCaptured() 375 << scaled_width << "x" << scaled_height; in OnFrameCaptured() 376 scaled_width_ = scaled_width; 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() 393 modified_frame->width = scaled_width; 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 107 ASSERT(scaled_width != NULL); in ComputeScaleMaxPixels() 136 *scaled_width = static_cast<int>(frame_width * 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 214 *scaled_width = in_width; // Keep width the same. 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 | 74 int* const scaled_width, in WebPRescalerGetScaledDimensions() argument 76 assert(scaled_width != NULL); in WebPRescalerGetScaledDimensions() 79 int width = *scaled_width; in WebPRescalerGetScaledDimensions() 95 *scaled_width = width; in WebPRescalerGetScaledDimensions()
|
D | rescaler.h | 62 int* const scaled_width,
|
/external/webp/src/dec/ |
D | buffer.c | 192 int scaled_width = options->scaled_width; in WebPAllocateDecBuffer() local 195 w, h, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer() 198 w = scaled_width; in WebPAllocateDecBuffer()
|
D | webp.c | 803 int scaled_width = options->scaled_width; in WebPIoInitFromOptions() local 805 if (!WebPRescalerGetScaledDimensions(w, h, &scaled_width, &scaled_height)) { in WebPIoInitFromOptions() 808 io->scaled_width = scaled_width; in WebPIoInitFromOptions() 822 io->bypass_filtering = (io->scaled_width < W * 3 / 4) && in WebPIoInitFromOptions()
|
D | decode_vp8.h | 102 int scaled_width, scaled_height; member
|
D | io.c | 290 const int out_width = io->scaled_width; in InitYUVRescaler() 463 const int out_width = io->scaled_width; in InitRGBRescaler()
|
D | vp8l.c | 490 const int out_width = io->scaled_width; in AllocateAndInitRescaler()
|
/external/opencv3/3rdparty/libwebp/dec/ |
D | buffer.c | 157 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer() 160 w = options->scaled_width; 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() 766 io->scaled_width = options->scaled_width; in WebPIoInitFromOptions() 780 io->bypass_filtering = (io->scaled_width < W * 3 / 4) && in WebPIoInitFromOptions()
|
D | io.c | 312 const int out_width = io->scaled_width; in InitYUVRescaler() 484 const int out_width = io->scaled_width; in InitRGBRescaler()
|
D | vp8l.c | 371 const int out_width = io->scaled_width; in AllocateAndInitRescaler()
|
/external/webrtc/webrtc/base/ |
D | x11windowpicker.cc | 517 int scaled_width = round(src_width * scale); in GetDrawableThumbnail() local 521 int centered_x = (dst_width - scaled_width) / 2; in GetDrawableThumbnail() 547 scaled_width, in GetDrawableThumbnail() 560 centered_x, centered_y, scaled_width, in GetDrawableThumbnail()
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 217 config.options.scaled_width = dstDimensions.width(); in onGetPixels()
|
/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/webp/include/webp/ |
D | decode.h | 440 int scaled_width, scaled_height; // final resolution member
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 254 config->options.scaled_width = decodedBitmap->width(); in webp_get_config_resize()
|
/external/webp/ |
D | README | 591 config.options.scaled_width = scaledWidth();
|