Home
last modified time | relevance | path

Searched refs:scaled_width (Results 1 – 20 of 20) 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_utils.c78 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()
Drescaler_utils.h62 int* const scaled_width,
/external/webp/src/dec/
Dbuffer_dec.c201 int scaled_width = options->scaled_width; in WebPAllocateDecBuffer() local
204 width, height, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer()
207 width = scaled_width; in WebPAllocateDecBuffer()
Dwebp_dec.c819 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()
Dvp8_dec.h102 int scaled_width, scaled_height; member
Dio_dec.c291 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()
Dvp8_dec.c332 io->scaled_width = io->width; in VP8GetHeaders()
Dvp8l_dec.c541 const int out_width = io->scaled_width; in AllocateAndInitRescaler()
/external/ImageMagick/coders/
Dpcd.c428 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/
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/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c617 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/
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.cpp461 config.options.scaled_width = scaledWidth; in onGetPixels()
/external/skqp/src/codec/
DSkWebpCodec.cpp461 config.options.scaled_width = scaledWidth; in onGetPixels()
/external/webp/
DREADME731 config.options.scaled_width = scaledWidth();