Home
last modified time | relevance | path

Searched refs:scaled_height (Results 1 – 19 of 19) 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_utils.c79 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()
Drescaler_utils.h63 int* const scaled_height);
/external/webp/src/dec/
Dbuffer_dec.c202 int scaled_height = options->scaled_height; in WebPAllocateDecBuffer() local
204 width, height, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer()
208 height = scaled_height; in WebPAllocateDecBuffer()
Dwebp_dec.c820 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()
Dvp8_dec.h102 int scaled_width, scaled_height; member
Dio_dec.c290 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()
Dvp8_dec.c333 io->scaled_height = io->height; in VP8GetHeaders()
Dvp8l_dec.c543 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/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c618 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/
Ddecode.h456 int scaled_width, scaled_height; // final resolution member
/external/webp/src/webp/
Ddecode.h456 int scaled_width, scaled_height; // final resolution member
/external/skia/src/codec/
DSkWebpCodec.cpp462 config.options.scaled_height = scaledHeight; in onGetPixels()
/external/skqp/src/codec/
DSkWebpCodec.cpp462 config.options.scaled_height = scaledHeight; in onGetPixels()
/external/webp/
DREADME732 config.options.scaled_height = scaledHeight();