Home
last modified time | relevance | path

Searched refs:scaled_height (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()
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 …]
Dvideocapturer.cc361 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 …]
Dvideocommon.cc106 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()
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.c75 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()
Drescaler.h63 int* const scaled_height);
/external/webp/src/dec/
Dbuffer.c193 int scaled_height = options->scaled_height; in WebPAllocateDecBuffer() local
195 w, h, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer()
199 h = scaled_height; in WebPAllocateDecBuffer()
Dwebp.c804 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()
Ddecode_vp8.h102 int scaled_width, scaled_height; member
Dio.c291 const int out_height = io->scaled_height; in InitYUVRescaler()
464 const int out_height = io->scaled_height; in InitRGBRescaler()
Dvp8l.c492 const int out_height = io->scaled_height; in AllocateAndInitRescaler()
/external/opencv3/3rdparty/libwebp/dec/
Dbuffer.c157 if (options->scaled_width <= 0 || options->scaled_height <= 0) { in WebPAllocateDecBuffer()
161 h = options->scaled_height; in WebPAllocateDecBuffer()
Ddecode_vp8.h102 int scaled_width, scaled_height; member
Dwebp.c763 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()
Dio.c313 const int out_height = io->scaled_height; in InitYUVRescaler()
485 const int out_height = io->scaled_height; in InitRGBRescaler()
Dvp8l.c373 const int out_height = io->scaled_height; in AllocateAndInitRescaler()
/external/webrtc/webrtc/base/
Dx11windowpicker.cc518 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/
DSkWebpCodec.cpp218 config.options.scaled_height = dstDimensions.height(); in onGetPixels()
/external/webp/include/webp/
Ddecode.h440 int scaled_width, scaled_height; // final resolution member
/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/skia/src/images/
DSkImageDecoder_libwebp.cpp255 config->options.scaled_height = decodedBitmap->height(); in webp_get_config_resize()
/external/webp/
DREADME592 config.options.scaled_height = scaledHeight();