Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/algo/detail/
H A Dmerge_sort.hpp72 size_type const half = count/2; in merge_sort_copy() local
73 merge_sort_copy(first + half, last , dest+half , comp); in merge_sort_copy()
74 merge_sort_copy(first , first + half, first + half, comp); in merge_sort_copy()
76 ( first + half, first + half + half in merge_sort_copy()
77 , dest, dest+half, dest + count in merge_sort_copy()
95 size_type const half = count/2; in merge_sort_uninitialized_copy() local
96 merge_sort_uninitialized_copy(first + half, last, uninitialized + half, comp); in merge_sort_uninitialized_copy()
97 destruct_n<value_type, RandItRaw> d(uninitialized+half); in merge_sort_uninitialized_copy()
98 d.incr(count-half); in merge_sort_uninitialized_copy()
99 merge_sort_copy(first, first + half, first + half, comp); in merge_sort_uninitialized_copy()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/spherical/
H A Dcompare_circular.hpp41 static inline double half() { return 180.0; } in half() function
48 static inline double half() { return boost::math::constants::pi<double>(); } in half() function
91 static const double half = full / 2.0; in operator ()() local
92 CoordinateType v1 = put_in_range(c1, -half, half); in operator ()()
93 CoordinateType v2 = put_in_range(c2, -half, half); in operator ()()
99 if (diff > half) in operator ()()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c79 unsigned int half = 2048; in igt_ring_direction() local
82 ring = mock_ring(2 * half); in igt_ring_direction()
86 GEM_BUG_ON(ring->size != 2 * half); in igt_ring_direction()
89 for (step = 1; step < half; step <<= 1) { in igt_ring_direction()
91 err |= check_ring_offset(ring, half, step); in igt_ring_direction()
93 err |= check_ring_step(ring, 0, half - 64); in igt_ring_direction()
96 err |= check_ring_offset(ring, 0, 2 * half + 64); in igt_ring_direction()
97 err |= check_ring_offset(ring, 3 * half, 1); in igt_ring_direction()
/OK3568_Linux_fs/buildroot/dl/sox/git/lpc10/
H A Dvoicin.c24 extern int voicin_(integer *vwin, real *inbuf, real *lpbuf, integer *buflim, integer *half, real *m…
224 lpbuf, integer *buflim, integer *half, real *minamd, real *maxamd, in voicin_() argument
488 if (*half == 1) { in voicin_()
497 half, dither, mintau, &zc, &lbe, &fbe, &qs, &rc1, &ar_b__, & in voicin_()
527 voice[*half + 3] = vdc[snrl * 10 - 1]; in voicin_()
529 voice[*half + 3] += vdc[i__ + snrl * 10 - 11] * value[i__ - 1]; in voicin_()
533 if (voice[*half + 3] > 0.f) { in voicin_()
534 voibuf[*half + 6] = 1; in voicin_()
536 voibuf[*half + 6] = 0; in voicin_()
546 if (*half == 1) { in voicin_()
[all …]
H A Danalys.c143 integer half; in analys_() local
459 for (half = 1; half <= 2; ++half) { in analys_()
460 voicin_(&vwin[4], inbuf, lpbuf, buflim, &half, &amdf[minptr - 1], & in analys_()
H A Dvparms.c16 extern int vparms_(integer *vwin, real *inbuf, real *lpbuf, integer *buflim, integer *half, real *d…
108 *buflim, integer *half, real *dither, integer *mintau, integer *zc, in vparms_() argument
153 start = vwin[1] + (*half - 1) * vlen / 2 + 1; in vparms_()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/interrupt-controller/
H A Dcirrus,clps711x-intc.txt24 12: UTXINT1 UART1 transmit FIFO half empty
25 13: URXINT1 UART1 receive FIFO half full
29 17: SS2RX SSI2 receive FIFO half or greater full
30 18: SS2TX SSI2 transmit FIFO less than half empty
31 28: UTXINT2 UART2 transmit FIFO half empty
32 29: URXINT2 UART2 receive FIFO half full
/OK3568_Linux_fs/kernel/drivers/net/ethernet/8390/
H A Dstnic.c32 #define half unsigned short macro
100 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE()
190 half buf[2]; in stnic_get_hdr()
226 half val; in stnic_block_input()
248 length -= sizeof (half); in stnic_block_input()
274 *(vhalf *) PA_83902_IF = ((half) buf[1] << 8) | buf[0]; in stnic_block_output()
276 *(vhalf *) PA_83902_IF = ((half) buf[0] << 8) | buf[1]; in stnic_block_output()
279 buf += sizeof (half); in stnic_block_output()
280 length -= sizeof (half); in stnic_block_output()
/OK3568_Linux_fs/kernel/drivers/soc/ixp4xx/
H A Dixp4xx-qmgr.c187 int i, half = (irq == qmgr_irq_1 ? 0 : 1); in qmgr_irq() local
188 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); in qmgr_irq()
192 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ in qmgr_irq()
197 i += half * HALF_QUEUES; in qmgr_irq()
207 int half = queue / 32; in qmgr_enable_irq() local
211 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) | mask, in qmgr_enable_irq()
212 &qmgr_regs->irqen[half]); in qmgr_enable_irq()
219 int half = queue / 32; in qmgr_disable_irq() local
223 __raw_writel(__raw_readl(&qmgr_regs->irqen[half]) & ~mask, in qmgr_disable_irq()
224 &qmgr_regs->irqen[half]); in qmgr_disable_irq()
[all …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.t1040-l2switch53 0 enabled down 10 half
54 1 enabled down 10 half
55 2 enabled down 10 half
57 4 disabled down - half
58 5 disabled down - half
59 6 disabled down - half
60 7 disabled down - half
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_tmds_clk.c31 bool *half) in sun4i_tmds_calc_divider() argument
57 if (div && half) { in sun4i_tmds_calc_divider()
59 *half = is_double; in sun4i_tmds_calc_divider()
147 bool half; in sun4i_tmds_set_rate() local
152 &div, &half); in sun4i_tmds_set_rate()
156 if (half) in sun4i_tmds_set_rate()
/OK3568_Linux_fs/u-boot/drivers/sound/
H A Dsound.c16 const int half = period / 2; in sound_create_square_wave() local
26 for (i = 0; size && i < half; i++) { in sound_create_square_wave()
31 for (i = 0; size && i < period - half; i++) { in sound_create_square_wave()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/location/itemview_transitions/
H A Dmain.qml146 property real half: e1.width * 0.5
151 property point top: Qt.point(center.x, center.y - half )
152 property point bottomLeft: Qt.point(center.x - half, center.y + half )
153 property point bottomRight: Qt.point(center.x + half, center.y + half )
156 startY: center.y + half
161 PathLine { x: c_sp1.center.x; y: c_sp1.center.y + c_sp1.half }
/OK3568_Linux_fs/kernel/drivers/clk/sunxi/
H A Dclk-sun4i-tcon-ch1.c101 bool *half) in tcon_ch1_calc_divider() argument
127 if (div && half) { in tcon_ch1_calc_divider()
129 *half = is_double; in tcon_ch1_calc_divider()
191 bool half; in tcon_ch1_set_rate() local
195 tcon_ch1_calc_divider(rate, parent_rate, &div_m, &half); in tcon_ch1_set_rate()
202 if (half) in tcon_ch1_set_rate()
/OK3568_Linux_fs/kernel/Documentation/input/devices/
H A Drotary-encoder.rst16 a stable state with both outputs high (half-period mode) and some have
37 one step (half-period mode)
49 In half-period mode, state a) and c) above are used to determine the
52 (i.e. the rotation was not reversed half-way).
61 meaning that there it has seen half the way of a one-step transition.
68 should have happened, unless it flipped back on half the way. The
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/detail/
H A Dcolor_detail.hpp66 static __device__ __forceinline__ T half() { return (T)(max()/2 + 1); } in half() function
73 static __device__ __forceinline__ float half() { return 0.5f; } in half() function
502 const int delta = ColorChannel<T>::half() * (1 << yuv_shift); in RGB2YUVConvert()
516 dst.y = (src[bidx^2] - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half(); in RGB2YUVConvert()
517 dst.z = (src[bidx] - dst.x) * c_RGB2YUVCoeffs_f[4] + ColorChannel<float>::half(); in RGB2YUVConvert()
551 …const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shi… in YUV2RGBConvert()
553 … const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[2] in YUV2RGBConvert()
554 … + (src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); in YUV2RGBConvert()
556 …const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shi… in YUV2RGBConvert()
569 … const int b = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); in YUV2RGBConvert()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/detail/
H A Dcolor_detail.hpp66 static __device__ __forceinline__ T half() { return (T)(max()/2 + 1); } in half() function
73 static __device__ __forceinline__ float half() { return 0.5f; } in half() function
502 const int delta = ColorChannel<T>::half() * (1 << yuv_shift); in RGB2YUVConvert()
516 dst.y = (src[bidx^2] - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half(); in RGB2YUVConvert()
517 dst.z = (src[bidx] - dst.x) * c_RGB2YUVCoeffs_f[4] + ColorChannel<float>::half(); in RGB2YUVConvert()
551 …const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shi… in YUV2RGBConvert()
553 … const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[2] in YUV2RGBConvert()
554 … + (src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); in YUV2RGBConvert()
556 …const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shi… in YUV2RGBConvert()
569 … const int b = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); in YUV2RGBConvert()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/detail/
H A Dcolor_detail.hpp66 static __device__ __forceinline__ T half() { return (T)(max()/2 + 1); } in half() function
73 static __device__ __forceinline__ float half() { return 0.5f; } in half() function
502 const int delta = ColorChannel<T>::half() * (1 << yuv_shift); in RGB2YUVConvert()
516 dst.y = (src[bidx^2] - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half(); in RGB2YUVConvert()
517 dst.z = (src[bidx] - dst.x) * c_RGB2YUVCoeffs_f[4] + ColorChannel<float>::half(); in RGB2YUVConvert()
551 …const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shi… in YUV2RGBConvert()
553 … const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[2] in YUV2RGBConvert()
554 … + (src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift); in YUV2RGBConvert()
556 …const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shi… in YUV2RGBConvert()
569 … const int b = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); in YUV2RGBConvert()
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dmax197.c124 int half = data->limit / 2; in max197_store_range() local
134 value = -half; in max197_store_range()
141 value = half; in max197_store_range()
150 } else if (value == -half) { in max197_store_range()
156 } else if (value == half) { in max197_store_range()
/OK3568_Linux_fs/kernel/drivers/misc/sgi-gru/
H A Dgrukservices.c643 int half, qlines; in send_message_queue_full() local
651 half = (limit != qlines); in send_message_queue_full()
653 if (half) in send_message_queue_full()
659 gru_gamir(cb, EOP_IR_CLR, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, IMA); in send_message_queue_full()
670 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), in send_message_queue_full()
689 gru_gamir(cb, EOP_IR_INC, HSTATUS(mqd->mq_gpa, half), XTYPE_DW, in send_message_queue_full()
842 int half = -1; in gru_free_message() local
853 half = 1; in gru_free_message()
855 half = 0; in gru_free_message()
858 if (half >= 0) in gru_free_message()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/
H A Dsfdp.c226 u16 half, in spi_nor_set_read_settings_from_bfpt() argument
229 read->num_mode_clocks = (half >> 5) & 0x07; in spi_nor_set_read_settings_from_bfpt()
230 read->num_wait_states = (half >> 0) & 0x1f; in spi_nor_set_read_settings_from_bfpt()
231 read->opcode = (half >> 8) & 0xff; in spi_nor_set_read_settings_from_bfpt()
437 u16 half; in spi_nor_parse_bfpt() local
503 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
504 spi_nor_set_read_settings_from_bfpt(read, half, rd->proto); in spi_nor_parse_bfpt()
518 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
519 erasesize = half & 0xff; in spi_nor_parse_bfpt()
526 opcode = (half >> 8) & 0xff; in spi_nor_parse_bfpt()
/OK3568_Linux_fs/kernel/tools/testing/ktest/
H A Dconfig-bisect.pl472 my @half = @{$phalf};
479 foreach my $item (@half) {
533 my $half = int($#diff_arr / 2);
534 my @tophalf = @diff_arr[0 .. $half];
558 my $half = int($#diff_arr / 2);
559 my @bottomhalf = @diff_arr[$half+1 .. $#diff_arr];
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/
H A D0001-Migrate-to-use-g_memdup2.patch163 gsize half = (secret_length + 1) / 2;
165 /* secret: used as S1; secret2: last half of original secret (S2) */
166 - guchar *secret2 = g_memdup(secret + secret_length - half, half);
167 + guchar *secret2 = g_memdup2(secret + secret_length - half, half);
/OK3568_Linux_fs/kernel/arch/arm/vdso/
H A Dvdsomunge.c106 static Elf32_Half read_elf_half(Elf32_Half half, bool swap) in read_elf_half() argument
108 return swap ? swab16(half) : half; in read_elf_half()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dpixfmt-yuv420.rst23 memory. The Cr plane is half the width and half the height of the Y
31 have half as many pad bytes after their rows. In other words, two Cx

12345678910>>...16