/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_utils.c | 78 int* const scaled_width, in WebPRescalerGetScaledDimensions() argument 80 assert(scaled_width != NULL); in WebPRescalerGetScaledDimensions() 83 int width = *scaled_width; in WebPRescalerGetScaledDimensions() 101 *scaled_width = width; in WebPRescalerGetScaledDimensions()
|
D | rescaler_utils.h | 62 int* const scaled_width,
|
/external/webp/src/dec/ |
D | buffer_dec.c | 201 int scaled_width = options->scaled_width; in WebPAllocateDecBuffer() local 204 width, height, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer() 207 width = scaled_width; in WebPAllocateDecBuffer()
|
D | webp_dec.c | 819 int scaled_width = options->scaled_width; in WebPIoInitFromOptions() local 821 if (!WebPRescalerGetScaledDimensions(w, h, &scaled_width, &scaled_height)) { in WebPIoInitFromOptions() 824 io->scaled_width = scaled_width; in WebPIoInitFromOptions() 838 io->bypass_filtering = (io->scaled_width < W * 3 / 4) && in WebPIoInitFromOptions()
|
D | vp8_dec.h | 102 int scaled_width, scaled_height; member
|
D | io_dec.c | 291 FillAlphaPlane(dst_a, io->scaled_width, expected_num_lines_out, in EmitRescaledAlphaYUV() 300 const int out_width = io->scaled_width; in InitYUVRescaler() 484 const int out_width = io->scaled_width; in InitRGBRescaler()
|
D | vp8_dec.c | 332 io->scaled_width = io->width; in VP8GetHeaders()
|
D | vp8l_dec.c | 541 const int out_width = io->scaled_width; in AllocateAndInitRescaler()
|
/external/ImageMagick/coders/ |
D | pcd.c | 428 const size_t scaled_width,unsigned char *pixels) in Upsample() argument 445 p=pixels+(height-1-y)*scaled_width+(width-1); in Upsample() 446 q=pixels+((height-1-y) << 1)*scaled_width+((width-1) << 1); in Upsample() 459 p=pixels+((size_t) y << 1)*scaled_width; in Upsample() 460 q=p+scaled_width; in Upsample() 461 r=q+scaled_width; in Upsample() 474 p=pixels+(2*height-2)*scaled_width; in Upsample() 475 q=pixels+(2*height-1)*scaled_width; in Upsample()
|
/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/libvpx/libvpx/vp9/encoder/ |
D | vp9_denoiser.c | 617 int scaled_width = width; in vp9_denoiser_alloc() local 624 lc->scaling_factor_den, &scaled_width, &scaled_height); in vp9_denoiser_alloc() 646 const int denoise_width = (layer == 0) ? width : scaled_width; 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 | 461 config.options.scaled_width = scaledWidth; in onGetPixels()
|
/external/skqp/src/codec/ |
D | SkWebpCodec.cpp | 461 config.options.scaled_width = scaledWidth; in onGetPixels()
|
/external/webp/ |
D | README | 731 config.options.scaled_width = scaledWidth();
|