Home
last modified time | relevance | path

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

12

/external/webrtc/api/video/
Dvideo_frame_buffer.cc26 int scaled_width, in CropAndScale() argument
29 I420Buffer::Create(scaled_width, scaled_height); in CropAndScale()
141 int scaled_width, in CropAndScale() argument
144 I444Buffer::Create(scaled_width, scaled_height); in CropAndScale()
166 int scaled_width, in CropAndScale() argument
169 I422Buffer::Create(scaled_width, scaled_height); in CropAndScale()
215 int scaled_width, in CropAndScale() argument
218 NV12Buffer::Create(scaled_width, scaled_height); in CropAndScale()
Dvideo_frame_buffer.h99 int scaled_width,
103 rtc::scoped_refptr<VideoFrameBuffer> Scale(int scaled_width, in Scale() argument
105 return CropAndScale(0, 0, width(), height(), scaled_width, scaled_height); in Scale()
198 int scaled_width,
217 int scaled_width,
300 int scaled_width,
Dvideo_frame.cc70 int scaled_width, in ScaleWithFrame() argument
81 RTC_DCHECK_GT(scaled_width, 0); in ScaleWithFrame()
104 x = x * scaled_width / crop_width; in ScaleWithFrame()
107 w = (w * scaled_width + crop_width - 1) / crop_width; in ScaleWithFrame()
128 if (scaled_width != crop_width || scaled_height != crop_height) { in ScaleWithFrame()
142 if (x + w > scaled_width) { in ScaleWithFrame()
143 w = scaled_width - x; in ScaleWithFrame()
/external/webp/tests/fuzzer/
Dadvanced_api_fuzzer.cc67 config.options.scaled_width = (int)(config.input.width * factor * 2); in AdvancedApiTest()
98 int scaled_width = config.options.scaled_width; in AdvancedApiTest() local
101 &scaled_width, &scaled_height)) { in AdvancedApiTest()
103 if (scaled_width != config.input.width || in AdvancedApiTest()
114 (uint64_t)std::max(scaled_width, config.input.width) * in AdvancedApiTest()
Dfuzz_utils.cc73 const int scaled_width = 1 + (pic->width * params.width_ratio) / 8; in CropOrScale() local
75 return WebPPictureRescale(pic, scaled_width, scaled_height); in CropOrScale()
/external/webp/src/utils/
Drescaler_utils.c86 int* const scaled_width, in WebPRescalerGetScaledDimensions() argument
88 assert(scaled_width != NULL); in WebPRescalerGetScaledDimensions()
91 int width = *scaled_width; in WebPRescalerGetScaledDimensions()
110 *scaled_width = width; in WebPRescalerGetScaledDimensions()
Drescaler_utils.h63 int* const scaled_width,
/external/webrtc/test/
Dmappable_native_buffer.cc79 int scaled_width, in CropAndScale() argument
81 return rtc::make_ref_counted<ScaledBuffer>(parent_, scaled_width, in CropAndScale()
113 int scaled_width, in CropAndScale() argument
116 offset_x, offset_y, crop_width, crop_height, scaled_width, scaled_height); in CropAndScale()
Dmappable_native_buffer.h60 int scaled_width,
92 int scaled_width,
/external/webrtc/sdk/objc/native/src/
Dobjc_frame_buffer.mm77 int scaled_width,
85 scaleWidth:scaled_width
91 offset_x, offset_y, crop_width, crop_height, scaled_width, scaled_height);
Dobjc_frame_buffer.h40 int scaled_width,
/external/ComputeLibrary/tests/validation/fixtures/
DROIPoolingLayerFixture.h76 …const auto scaled_width = static_cast<float>((shape[get_data_layout_dimension_index(data_layout, … variable
83 std::uniform_int_distribution<> dist_x1(0, scaled_width);
85 …t_distribution<> dist_w(min_width, std::max(float(min_width), (pool_width - 2) * scaled_width));
DROIAlignLayerFixture.h77 …const auto scaled_width = static_cast<float>((shape[get_data_layout_dimension_index(data_layout, … variable
84 std::uniform_int_distribution<> dist_x1(0, scaled_width);
86 …t_distribution<> dist_w(min_width, std::max(float(min_width), (pool_width - 2) * scaled_width));
/external/webp/src/dec/
Dbuffer_dec.c199 int scaled_width = options->scaled_width; in WebPAllocateDecBuffer() local
202 width, height, &scaled_width, &scaled_height)) { in WebPAllocateDecBuffer()
205 width = scaled_width; in WebPAllocateDecBuffer()
Dwebp_dec.c845 int scaled_width = options->scaled_width; in WebPIoInitFromOptions() local
847 if (!WebPRescalerGetScaledDimensions(w, h, &scaled_width, &scaled_height)) { in WebPIoInitFromOptions()
850 io->scaled_width = scaled_width; in WebPIoInitFromOptions()
864 io->bypass_filtering |= (io->scaled_width < W * 3 / 4) && in WebPIoInitFromOptions()
Dvp8_dec.h103 int scaled_width, scaled_height; member
Dio_dec.c286 FillAlphaPlane(dst_a, io->scaled_width, expected_num_lines_out, in EmitRescaledAlphaYUV()
295 const int out_width = io->scaled_width; in InitYUVRescaler()
490 const int out_width = io->scaled_width; in InitRGBRescaler()
/external/v4l-utils/utils/common/
Dv4l2-tpg-core.c89 tpg->scaled_width = tpg->src_width = w; in tpg_init()
505 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
507 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
508 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
509 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
510 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
511 tpg->scaled_width = 2; in tpg_s_crop_compose()
526 tpg->scaled_width = width; in tpg_reset_source()
1802 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1803 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
/external/v4l-utils/utils/qvidcap/
Dv4l2-tpg-core.c89 tpg->scaled_width = tpg->src_width = w; in tpg_init()
505 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
507 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
508 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
509 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
510 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
511 tpg->scaled_width = 2; in tpg_s_crop_compose()
526 tpg->scaled_width = width; in tpg_reset_source()
1802 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1803 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
/external/v4l-utils/utils/qv4l2/
Dv4l2-tpg-core.c89 tpg->scaled_width = tpg->src_width = w; in tpg_init()
505 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
507 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
508 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
509 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
510 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
511 tpg->scaled_width = 2; in tpg_s_crop_compose()
526 tpg->scaled_width = width; in tpg_reset_source()
1802 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1803 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
/external/v4l-utils/utils/v4l2-ctl/
Dv4l2-tpg-core.c89 tpg->scaled_width = tpg->src_width = w; in tpg_init()
505 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
507 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
508 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
509 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
510 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
511 tpg->scaled_width = 2; in tpg_s_crop_compose()
526 tpg->scaled_width = width; in tpg_reset_source()
1802 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1803 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
/external/libaom/av1/encoder/
Dencoder_alloc.h431 int scaled_width, in realloc_and_scale_source() argument
436 if (scaled_width == cpi->unscaled_source->y_crop_width && in realloc_and_scale_source()
442 &cpi->scaled_source, scaled_width, scaled_height, in realloc_and_scale_source()
448 assert(cpi->scaled_source.y_crop_width == scaled_width); in realloc_and_scale_source()
Dav1_temporal_denoiser.c544 int scaled_width = width; in av1_denoiser_alloc() local
551 lc->scaling_factor_den, &scaled_width, in av1_denoiser_alloc()
574 const int denoise_width = (layer == 0) ? width : scaled_width; in av1_denoiser_alloc()
/external/kernel-headers/original/uapi/linux/media/raspberrypi/
Dpisp_be_config.h618 __u16 scaled_width; member
647 __u16 scaled_width; member
/external/webp/examples/
Ddwebp.c124 w = config->options.scaled_width; in AllocateExternalBuffer()
279 config.options.scaled_width = ExUtilGetInt(argv[++c], 0, &parse_error); in main()

12