Home
last modified time | relevance | path

Searched refs:scaled_width (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/talk/media/base/
Dvideocommon_unittest.cc112 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 …]
Dvideocapturer.cc361 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 …]
Dvideocommon.cc106 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()
Dvideocommon.h157 int* scaled_width, int* scaled_height);
165 int* scaled_width, int* scaled_height);
178 int* scaled_width, int* scaled_height);
/external/webp/src/utils/
Drescaler.c74 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()
Drescaler.h62 int* const scaled_width,
/external/webp/src/dec/
Dbuffer.c192 int scaled_width = options->scaled_width; in WebPAllocateDecBuffer() local
195 w, h, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer()
198 w = scaled_width; in WebPAllocateDecBuffer()
Dwebp.c803 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()
Ddecode_vp8.h102 int scaled_width, scaled_height; member
Dio.c290 const int out_width = io->scaled_width; in InitYUVRescaler()
463 const int out_width = io->scaled_width; in InitRGBRescaler()
Dvp8l.c490 const int out_width = io->scaled_width; in AllocateAndInitRescaler()
/external/opencv3/3rdparty/libwebp/dec/
Dbuffer.c157 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer()
160 w = options->scaled_width; in WebPAllocateDecBuffer()
Ddecode_vp8.h102 int scaled_width, scaled_height; member
Dwebp.c763 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()
Dio.c312 const int out_width = io->scaled_width; in InitYUVRescaler()
484 const int out_width = io->scaled_width; in InitRGBRescaler()
Dvp8l.c371 const int out_width = io->scaled_width; in AllocateAndInitRescaler()
/external/webrtc/webrtc/base/
Dx11windowpicker.cc517 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/
DSkWebpCodec.cpp217 config.options.scaled_width = dstDimensions.width(); in onGetPixels()
/external/opencv3/3rdparty/libwebp/webp/
Ddecode.h442 int scaled_width, scaled_height; // final resolution member
/external/webp/src/webp/
Ddecode.h440 int scaled_width, scaled_height; // final resolution member
/external/webp/include/webp/
Ddecode.h440 int scaled_width, scaled_height; // final resolution member
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp254 config->options.scaled_width = decodedBitmap->width(); in webp_get_config_resize()
/external/webp/
DREADME591 config.options.scaled_width = scaledWidth();