Home
last modified time | relevance | path

Searched full:scale (Results 1 – 25 of 1996) sorted by relevance

12345678910>>...80

/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0077-HACK-Honour-cursor-size-config.patch41 + float scale;
76 - *bx *= scale;
77 - *by *= scale;
78 + /* HACK: Use -scale as 1/scale */
79 + if (scale < 0) {
80 + *bx /= -scale;
81 + *by /= -scale;
83 + *bx *= scale;
84 + *by *= scale;
91 int32_t scale)
[all …]
H A D0068-desktop-shell-Support-setting-panel-scale-in-weston..patch4 Subject: [PATCH 68/79] desktop-shell: Support setting panel scale in
9 panel-scale=2
24 + double scale;
32 + double scale = launcher->panel->scale;
40 + cairo_image_surface_get_width(launcher->icon) * scale / 2;
45 + cairo_image_surface_get_height(launcher->icon) * scale / 2;
53 + cairo_scale(cr, scale, scale);
56 + allocation.x / scale, allocation.y / scale);
63 + allocation.x / scale, allocation.y / scale);
71 + double scale = clock->panel->scale;
[all …]
/OK3568_Linux_fs/buildroot/package/weston/
H A D0068-desktop-shell-Support-setting-panel-scale-in-weston..patch4 Subject: [PATCH 68/92] desktop-shell: Support setting panel scale in
9 panel-scale=2
24 + double scale;
32 + double scale = launcher->panel->scale;
40 + cairo_image_surface_get_width(launcher->icon) * scale / 2;
45 + cairo_image_surface_get_height(launcher->icon) * scale / 2;
53 + cairo_scale(cr, scale, scale);
56 + allocation.x / scale, allocation.y / scale);
63 + allocation.x / scale, allocation.y / scale);
71 + double scale = clock->panel->scale;
[all …]
H A D0076-HACK-Honour-cursor-size-config.patch41 + float scale;
58 - int32_t scale;
59 + float scale;
90 - int32_t scale,
95 + float scale,
101 *by *= scale;
107 + int32_t scale,
111 + scale, sx, sy, bx, by);
124 - int32_t scale,
129 + float scale,
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0069-desktop-shell-Support-setting-panel-scale-in-weston..patch4 Subject: [PATCH 69/93] desktop-shell: Support setting panel scale in
9 panel-scale=2
24 + double scale;
32 + double scale = launcher->panel->scale;
40 + cairo_image_surface_get_width(launcher->icon) * scale / 2;
45 + cairo_image_surface_get_height(launcher->icon) * scale / 2;
53 + cairo_scale(cr, scale, scale);
56 + allocation.x / scale, allocation.y / scale);
63 + allocation.x / scale, allocation.y / scale);
71 + double scale = clock->panel->scale;
[all …]
H A D0077-HACK-Honour-cursor-size-config.patch41 + float scale;
58 - int32_t scale;
59 + float scale;
90 - int32_t scale,
95 + float scale,
101 *by *= scale;
107 + int32_t scale,
111 + scale, sx, sy, bx, by);
124 - int32_t scale,
129 + float scale,
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/stitching/
H A Dwarpers.hpp59 virtual Ptr<detail::RotationWarper> create(float scale) const = 0;
68 …Ptr<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::PlaneWa… in create()
77 …Ptr<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::AffineW… in create()
86 …r<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::Cylindric… in create()
93 …tr<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::Spherica… in create()
99 …Ptr<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::Fisheye… in create()
105 …<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::Stereograp… in create()
116 …ail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::CompressedRect… in create()
127 …:RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::CompressedRectilin… in create()
138 …Ptr<detail::RotationWarper> create(float scale) const CV_OVERRIDE { return makePtr<detail::PaniniW… in create()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/stitching/detail/
H A Dwarpers.hpp130 float scale; member
156 float getScale() const CV_OVERRIDE{ return projector_.scale; } in getScale()
157 void setScale(float val) CV_OVERRIDE { projector_.scale = val; } in setScale()
185 @param scale Projected image scale multiplier
187 PlaneWarper(float scale = 1.f) { projector_.scale = scale; } in PlaneWarper() argument
218 @param scale Projected image scale multiplier
220 AffineWarper(float scale = 1.f) : PlaneWarper(scale) {} in AffineWarper() argument
245 Projects image onto unit sphere with origin at (0, 0, 0) and radius scale, measured in pixels.
246 A 360 panorama would therefore have a resulting width of 2 * scale * PI pixels.
254 @param scale Radius of the projected sphere, in pixels. An image spanning the
[all …]
H A Dwarpers_inl.hpp223 u = scale * x_; in mapForward()
224 v = scale * y_; in mapForward()
231 u = u / scale - t[0]; in mapBackward()
232 v = v / scale - t[1]; in mapBackward()
251 u = scale * atan2f(x_, z_); in mapForward()
253 v = scale * (static_cast<float>(CV_PI) - acosf(w == w ? w : 0)); in mapForward()
260 u /= scale; in mapBackward()
261 v /= scale; in mapBackward()
285 u = scale * atan2f(x_, z_); in mapForward()
286 v = scale * y_ / sqrtf(x_ * x_ + z_ * z_); in mapForward()
[all …]
/OK3568_Linux_fs/external/rknn-toolkit2/examples/caffe/mobilenet_v2/
H A Dmobilenet_v2.prototxt3 # scale: 0.017
64 name: "conv1/scale"
65 type: "Scale"
127 name: "conv2_1/expand/scale"
128 type: "Scale"
193 name: "conv2_1/dwise/scale"
194 type: "Scale"
256 name: "conv2_1/linear/scale"
257 type: "Scale"
313 name: "conv2_2/expand/scale"
[all …]
/OK3568_Linux_fs/external/rknn-toolkit2/examples/functions/model_pruning/
H A Dmobilenet_deploy.prototxt3 # scale: 0.017
62 name: "conv1/scale"
63 type: "Scale"
135 name: "conv2_1/dw/scale"
136 type: "Scale"
206 name: "conv2_1/sep/scale"
207 type: "Scale"
279 name: "conv2_2/dw/scale"
280 type: "Scale"
350 name: "conv2_2/sep/scale"
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libtiff/tiff/
H A D0001-fix-the-FPE-in-tiffcrop-415-427-and-428.patch57 - x1 = (uint32_t) (crop->corners[i].X1 * scale * xres);
58 - x2 = (uint32_t) (crop->corners[i].X2 * scale * xres);
59 - y1 = (uint32_t) (crop->corners[i].Y1 * scale * yres);
60 - y2 = (uint32_t) (crop->corners[i].Y2 * scale * yres);
61 + x1 = _TIFFClampDoubleToUInt32(crop->corners[i].X1 * scale * xres);
62 + x2 = _TIFFClampDoubleToUInt32(crop->corners[i].X2 * scale * xres);
63 + y1 = _TIFFClampDoubleToUInt32(crop->corners[i].Y1 * scale * yres);
64 + y2 = _TIFFClampDoubleToUInt32(crop->corners[i].Y2 * scale * yres);
94 - tmargin = (uint32_t)(crop->margins[0] * scale * yres);
95 - lmargin = (uint32_t)(crop->margins[1] * scale * xres);
[all …]
/OK3568_Linux_fs/external/rockit/mpi/sdk/include/
H A Drk_comm_sys.h54 SCALE_RANGE_0 = 0, /* scale range < 8/64 */
55 SCALE_RANGE_1, /* scale range >= 8/64 */
56 SCALE_RANGE_2, /* scale range >= 10/64 */
57 SCALE_RANGE_3, /* scale range >= 15/64 */
58 SCALE_RANGE_4, /* scale range >= 19/64 */
59 SCALE_RANGE_5, /* scale range >= 24/64 */
60 SCALE_RANGE_6, /* scale range >= 29/64 */
61 SCALE_RANGE_7, /* scale range >= 33/64 */
62 SCALE_RANGE_8, /* scale range >= 35/64 */
63 SCALE_RANGE_9, /* scale range >= 38/64 */
[all …]
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vidtv/
H A Dvidtv_demod.c133 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in vidtv_clean_stats()
137 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
142 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
145 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
148 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
151 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
154 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
157 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
166 u32 scale; in vidtv_demod_update_stats() local
169 scale = FE_SCALE_COUNTER; in vidtv_demod_update_stats()
[all …]
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtquickcontrols2/
H A D0001-Revert-Get-the-scale-of-the-popup-item-when-setting-.patch4 Subject: [PATCH] Revert "Get the scale of the popup item when setting the
32 - // Store the scale property so the end result of any transition that could effect the scale
35 - m_popupScale = m_popup->popupItem()->scale();
48 + const qreal scale = popupItem->scale();
49 + const qreal w = popupItem->width() * scale;
50 + const qreal h = popupItem->height() * scale;
51 + const qreal iw = popupItem->implicitWidth() * scale;
52 + const qreal ih = popupItem->implicitHeight() * scale;
61 + popupItem->setWidth(rect.width() / scale);
64 + popupItem->setHeight(rect.height() / scale);
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c25 .scale = 2,
42 .scale = 1,
59 .scale = 2,
76 .scale = 1,
94 .scale = 2,
125 .scale = 1,
136 .scale = 1,
148 .scale = 1,
159 .scale = 1,
183 .scale = 2,
[all …]
/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial_ar933x.c42 * baudrate = (clk / (scale + 1)) * (step * (1 / 2^17))
44 static u32 ar933x_serial_get_baud(u32 clk, u32 scale, u32 step) in ar933x_serial_get_baud() argument
49 div = (2 << 16) * (scale + 1); in ar933x_serial_get_baud()
59 u32 *scale, u32 *step) in ar933x_serial_get_scale_step() argument
64 *scale = 0; in ar933x_serial_get_scale_step()
83 *scale = tscale; in ar933x_serial_get_scale_step()
92 u32 val, scale, step; in ar933x_serial_setbrg() local
95 ar933x_serial_get_scale_step(val, baudrate, &scale, &step); in ar933x_serial_setbrg()
97 val = (scale & AR933X_UART_CLK_SCALE_M) in ar933x_serial_setbrg()
203 u32 val, scale, step; in _debug_uart_init() local
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dtlbflush.h128 * | ASID | TG | SCALE | NUM | TTL | BADDR |
133 * [BADDR, BADDR + (NUM + 1) * 2^(5*SCALE + 1) * PAGESIZE)
136 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \ argument
142 __ta |= (unsigned long)(scale) << 44; \
149 #define __TLBI_RANGE_PAGES(num, scale) \ argument
150 ((unsigned long)((num) + 1) << (5 * (scale) + 1))
158 #define __TLBI_RANGE_NUM(pages, scale) \ argument
159 ((((pages) >> (5 * (scale) + 1)) & TLBI_RANGE_MASK) - 1)
287 int scale = 0; in __flush_tlb_range() local
319 * by 'scale', so multiple range TLBI operations may be required. in __flush_tlb_range()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dtw9910.c234 const struct tw9910_scale_ctrl *scale; member
353 const struct tw9910_scale_ctrl *scale) in tw9910_set_scale() argument
358 (scale->vscale & 0x0F00) >> 4 | in tw9910_set_scale()
359 (scale->hscale & 0x0F00) >> 8); in tw9910_set_scale()
364 scale->hscale & 0x00FF); in tw9910_set_scale()
369 scale->vscale & 0x00FF); in tw9910_set_scale()
431 const struct tw9910_scale_ctrl *scale; in tw9910_select_norm() local
437 scale = tw9910_ntsc_scales; in tw9910_select_norm()
440 scale = tw9910_pal_scales; in tw9910_select_norm()
447 tmp = abs(width - scale[i].width) + in tw9910_select_norm()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp21 const double s = Projection::worldSize(scale) / tileScale; in matrixFor()
27 matrix::scale(matrix, matrix, s / util::EXTENT, s / util::EXTENT, 1); in matrixFor()
52 matrix::scale(projMatrix, projMatrix, 1, flippedY ? 1 : -1, 1); in getProjMatrix()
78 matrix::scale(projMatrix, projMatrix, 1, 1, in getProjMatrix()
144 const double center = (size.width - Projection::worldSize(scale)) / 2; in pixel_x()
149 const double center = (size.height - Projection::worldSize(scale)) / 2; in pixel_y()
156 return scaleZoom(scale); in getZoom()
283 Point<double> pt = Projection::project(latLng, scale) / util::tileSize; in latLngToScreenCoordinate()
325 return Projection::unproject(util::interpolate(p0, p1, t), scale / util::tileSize, wrapMode); in screenCoordinateToLatLng()
331 float s = Projection::worldSize(scale) / std::pow(2, z); in coordinatePointMatrix()
[all …]
H A Dtransform_state.hpp83 double scaleZoom(double scale) const;
86 return !size.isEmpty() && (scale >= min_scale && scale <= max_scale); in valid()
94 void constrain(double& scale, double& x, double& y) const;
116 void setScalePoint(const double scale, const ScreenCoordinate& point);
131 double scale = 1; member in mbgl::TransformState
143 double Bc = Projection::worldSize(scale) / util::DEGREES_MAX;
144 double Cc = Projection::worldSize(scale) / util::M2PI;
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dsc27xx_adc.c93 * should use the small-scale graph, and if more than 1.2v, we should use the
94 * big-scale graph.
163 static int sc27xx_adc_get_ratio(int channel, int scale) in sc27xx_adc_get_ratio() argument
170 return scale ? SC27XX_VOLT_RATIO(400, 1025) : in sc27xx_adc_get_ratio()
178 return scale ? SC27XX_VOLT_RATIO(100, 125) : in sc27xx_adc_get_ratio()
189 int scale, int *val) in sc27xx_adc_read() argument
210 /* Configure the channel id and scale */ in sc27xx_adc_read()
211 tmp = (scale << SC27XX_ADC_SCALE_SHIFT) & SC27XX_ADC_SCALE_MASK; in sc27xx_adc_read()
262 int channel, int scale, in sc27xx_adc_volt_ratio() argument
265 u32 ratio = sc27xx_adc_get_ratio(channel, scale); in sc27xx_adc_volt_ratio()
[all …]
H A Dti-ads8688.c84 unsigned int scale; member
92 .scale = 76295,
97 .scale = 38148,
102 .scale = 19074,
107 .scale = 38148,
112 .scale = 19074,
124 ads8688_range_def[0].scale * st->vref_mv, in ads8688_show_scales()
125 ads8688_range_def[1].scale * st->vref_mv, in ads8688_show_scales()
126 ads8688_range_def[2].scale * st->vref_mv); in ads8688_show_scales()
263 scale_mv *= ads8688_range_def[st->range[chan->channel]].scale; in ads8688_read_raw()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/acpi/
H A Dcppc_sysfs.rst12 scale. CPPC exposes a set of registers to describe abstract performance scale,
38 * highest_perf : Highest performance of this processor (abstract scale).
40 (abstract scale).
42 power savings (abstract scale).
43 * lowest_perf : Lowest performance of this processor (abstract scale).
48 freqency instead of abstract scale. These values should not be used for any
57 accumulates (abstract scale).
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/
H A Dfilters.hpp184 : src(src_), scale_x(scale_x_), scale_y(scale_y_), scale(1.f / (scale_x * scale_y)) {} in IntegerAreaFilter()
206 out = out + src(dy, dx) * scale; in operator ()()
213 float scale_x, scale_y ,scale; member
238 … float scale = 1.f / (fminf(scale_x, src.width - fsx1) * fminf(scale_y, src.height - fsy1)); in operator ()() local
246 out = out + src(dy, dx) * scale; in operator ()()
249 out = out + src(dy, (sx1 -1) ) * ((sx1 - fsx1) * scale); in operator ()()
252 out = out + src(dy, sx2) * ((fsx2 -sx2) * scale); in operator ()()
257 out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); in operator ()()
261 out = out + src(sy2, dx) * ((fsy2 -sy2) * scale); in operator ()()
264 out = out + src( (sy1 - 1) , (sx1 - 1)) * ((sy1 -fsy1) * (sx1 -fsx1) * scale); in operator ()()
[all …]

12345678910>>...80