/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_utils.c | 79 int* const scaled_height) { in WebPRescalerGetScaledDimensions() argument 81 assert(scaled_height != NULL); in WebPRescalerGetScaledDimensions() 84 int height = *scaled_height; in WebPRescalerGetScaledDimensions() 102 *scaled_height = height; in WebPRescalerGetScaledDimensions()
|
D | rescaler_utils.h | 63 int* const scaled_height);
|
/external/webp/src/dec/ |
D | buffer_dec.c | 202 int scaled_height = options->scaled_height; in WebPAllocateDecBuffer() local 204 width, height, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer() 208 height = scaled_height; in WebPAllocateDecBuffer()
|
D | webp_dec.c | 820 int scaled_height = options->scaled_height; in WebPIoInitFromOptions() local 821 if (!WebPRescalerGetScaledDimensions(w, h, &scaled_width, &scaled_height)) { in WebPIoInitFromOptions() 825 io->scaled_height = scaled_height; in WebPIoInitFromOptions() 839 (io->scaled_height < H * 3 / 4); in WebPIoInitFromOptions()
|
D | vp8_dec.h | 102 int scaled_width, scaled_height; member
|
D | io_dec.c | 290 assert(p->last_y + expected_num_lines_out <= io->scaled_height); in EmitRescaledAlphaYUV() 301 const int out_height = io->scaled_height; in InitYUVRescaler() 485 const int out_height = io->scaled_height; in InitRGBRescaler()
|
D | vp8_dec.c | 333 io->scaled_height = io->height; in VP8GetHeaders()
|
D | vp8l_dec.c | 543 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/libvpx/libvpx/vp9/encoder/ |
D | vp9_denoiser.c | 618 int scaled_height = height; in vp9_denoiser_alloc() local 624 lc->scaling_factor_den, &scaled_width, &scaled_height); in vp9_denoiser_alloc() 647 const int denoise_height = (layer == 0) ? height : scaled_height; in vp9_denoiser_alloc()
|
/external/webp/include/webp/ |
D | decode.h | 456 int scaled_width, scaled_height; // final resolution member
|
/external/webp/src/webp/ |
D | decode.h | 456 int scaled_width, scaled_height; // final resolution member
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 462 config.options.scaled_height = scaledHeight; in onGetPixels()
|
/external/skqp/src/codec/ |
D | SkWebpCodec.cpp | 462 config.options.scaled_height = scaledHeight; in onGetPixels()
|
/external/webp/ |
D | README | 732 config.options.scaled_height = scaledHeight();
|