| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qdoublevector3d_p.h | 98 { return v1.xp * v2.xp + v1.yp * v2.yp + v1.zp * v2.zp; } in dotProduct() 101 { return QDoubleVector3D(v1.yp * v2.zp - v1.zp * v2.yp, in crossProduct() 102 v1.zp * v2.xp - v1.xp * v2.zp, in crossProduct() 128 double xp, yp, zp; 135 Q_DECL_CONSTEXPR inline QDoubleVector3D::QDoubleVector3D() : xp(0.0), yp(0.0), zp(0.0) {} in QDoubleVector3D() 137 …eVector3D::QDoubleVector3D(double xpos, double ypos, double zpos) : xp(xpos), yp(ypos), zp(zpos) {} in QDoubleVector3D() 140 : xp(v.xp), yp(v.yp), zp(0.0) {} in QDoubleVector3D() 143 : xp(v.xp), yp(v.yp), zp(zpos) {} in QDoubleVector3D() 147 return qIsNull(xp) && qIsNull(yp) && qIsNull(zp); in isNull() 152 Q_DECL_CONSTEXPR inline double QDoubleVector3D::z() const { return zp; } in z() [all …]
|
| H A D | qdoublevector3d.cpp | 52 double(zp) * double(zp); in normalized() 66 double(zp) * double(zp); in normalize() 74 zp /= len; in normalize() 106 return qSqrt(xp * xp + yp * yp + zp * zp); in length()
|
| /OK3568_Linux_fs/kernel/sound/synth/emux/ |
| H A D | soundfont.c | 31 struct snd_soundfont *sf, struct snd_sf_zone *zp); 52 static void delete_preset(struct snd_sf_list *sflist, struct snd_sf_zone *zp); 337 struct snd_sf_zone *zp) in set_zone_counter() argument 339 zp->counter = sflist->zone_counter++; in set_zone_counter() 350 struct snd_sf_zone *zp; in sf_zone_new() local 352 if ((zp = kzalloc(sizeof(*zp), GFP_KERNEL)) == NULL) in sf_zone_new() 354 zp->next = sf->zones; in sf_zone_new() 355 sf->zones = zp; in sf_zone_new() 357 init_voice_info(&zp->v); in sf_zone_new() 359 set_zone_counter(sflist, sf, zp); in sf_zone_new() [all …]
|
| H A D | emux_synth.c | 70 struct snd_sf_zone *zp = table[i]; in snd_emux_note_on() local 71 if (zp && zp->v.exclusiveClass) in snd_emux_note_on() 72 exclusive_note_off(emu, port, zp->v.exclusiveClass); in snd_emux_note_on()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/ |
| H A D | post_process.cc | 131 static int8_t qnt_f32_to_affine(float f32, int32_t zp, float scale) in qnt_f32_to_affine() argument 133 float dst_val = (f32 / scale) + zp; in qnt_f32_to_affine() 138 static float deqnt_affine_to_f32(int8_t qnt, int32_t zp, float scale) in deqnt_affine_to_f32() argument 140 return ((float)qnt - (float)zp) * scale; in deqnt_affine_to_f32() 145 float threshold, int32_t zp, float scale) in process() argument 151 int8_t thres_i8 = qnt_f32_to_affine(thres, zp, scale); in process() 163 float box_x = sigmoid(deqnt_affine_to_f32(*in_ptr, zp, scale)) * 2.0 - 0.5; in process() 164 … float box_y = sigmoid(deqnt_affine_to_f32(in_ptr[grid_len], zp, scale)) * 2.0 - 0.5; in process() 165 … float box_w = sigmoid(deqnt_affine_to_f32(in_ptr[2 * grid_len], zp, scale)) * 2.0; in process() 166 … float box_h = sigmoid(deqnt_affine_to_f32(in_ptr[3 * grid_len], zp, scale)) * 2.0; in process() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/src/ |
| H A D | postprocess.cc | 180 static int8_t qnt_f32_to_affine(float f32, int32_t zp, float scale) in qnt_f32_to_affine() argument 182 float dst_val = (f32 / scale) + zp; in qnt_f32_to_affine() 187 …tatic float deqnt_affine_to_f32(int8_t qnt, int32_t zp, float scale) { return ((float)qnt - (float… in deqnt_affine_to_f32() argument 191 int32_t zp, float scale) in process() argument 196 int8_t thres_i8 = qnt_f32_to_affine(thres, zp, scale); in process() 204 float box_x = sigmoid(deqnt_affine_to_f32(*in_ptr, zp, scale)) * 2.0 - 0.5; in process() 205 float box_y = sigmoid(deqnt_affine_to_f32(in_ptr[grid_len], zp, scale)) * 2.0 - 0.5; in process() 206 float box_w = sigmoid(deqnt_affine_to_f32(in_ptr[2 * grid_len], zp, scale)) * 2.0; in process() 207 float box_h = sigmoid(deqnt_affine_to_f32(in_ptr[3 * grid_len], zp, scale)) * 2.0; in process() 225 …ack(sigmoid(deqnt_affine_to_f32(maxClassProbs, zp, scale))* sigmoid(deqnt_affine_to_f32(box_confid… in process()
|
| H A D | main.cc | 52 get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr() 285 out_zps.push_back(output_attrs[i].zp); in main()
|
| H A D | main_video.cc | 74 get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr() 304 out_zps.push_back(app_ctx->output_attrs[i].zp); in inference_model()
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/ |
| H A D | postprocess.cc | 195 static int8_t qnt_f32_to_affine(float f32, int32_t zp, float scale) in qnt_f32_to_affine() argument 197 float dst_val = (f32 / scale) + zp; in qnt_f32_to_affine() 202 static float deqnt_affine_to_f32(int8_t qnt, int32_t zp, float scale) in deqnt_affine_to_f32() argument 204 return ((float)qnt - (float)zp) * scale; in deqnt_affine_to_f32() 209 float threshold, int32_t zp, float scale) in process() argument 215 int8_t thres_i8 = qnt_f32_to_affine(thres, zp, scale); in process() 227 float box_x = sigmoid(deqnt_affine_to_f32(*in_ptr, zp, scale)) * 2.0 - 0.5; in process() 228 … float box_y = sigmoid(deqnt_affine_to_f32(in_ptr[grid_len], zp, scale)) * 2.0 - 0.5; in process() 229 … float box_w = sigmoid(deqnt_affine_to_f32(in_ptr[2 * grid_len], zp, scale)) * 2.0; in process() 230 … float box_h = sigmoid(deqnt_affine_to_f32(in_ptr[3 * grid_len], zp, scale)) * 2.0; in process() [all …]
|
| H A D | main.cc | 57 get_type_string(attr->type), get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr() 182 …CHW_float(const int8_t *src, float *dst, int *dims, int channel, int h, int w, int zp, float scale) in NC1HWC2_int8_to_NCHW_float() argument 202 … dst[c * hw_dst + cur_h * w + cur_w] = (src_c[C2 * cur_hw + offset] - zp) * scale; // int8-->float in NC1HWC2_int8_to_NCHW_float() 468 out_zps.push_back(output_attrs[i].zp); in main()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/unzip/unzip/ |
| H A D | 0001-unzip-fix-CVE-2018-1000035.patch | 26 + char *zp; 37 + zp = FnFilter1( zfn); 40 + sizeof( PasswPrompt)+ strlen( zp)+ strlen( ep)); 42 + sprintf(prompt, LoadFarString(PasswPrompt), zp, ep);
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_mobilenet_demo/src/ |
| H A D | main.cc | 74 static int rknn_GetTopN_int8(int8_t *pProb, float scale, int zp, float *pfMaxProb, uint32_t *pMaxCl… in rknn_GetTopN_int8() argument 96 float prob = (pProb[i] - zp) * scale; in rknn_GetTopN_int8() 119 get_type_string(attr->type), get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr() 216 …CHW_float(const int8_t *src, float *dst, int *dims, int channel, int h, int w, int zp, float scale) in NC1HWC2_int8_to_NCHW_float() argument 236 … dst[c * hw_dst + cur_h * w + cur_w] = (src_c[C2 * cur_hw + offset] - zp) * scale; // int8-->float in NC1HWC2_int8_to_NCHW_float() 469 int zp = output_attrs[i].zp; in main() local 472 channel, h, w, zp, scale); in main() 480 dst[index] = (src[index] - output_attrs[i].zp) * output_attrs[i].scale; in main()
|
| H A D | main_nhwc.cc | 74 static int rknn_GetTopN_int8(int8_t *pProb, float scale, int zp, float *pfMaxProb, uint32_t *pMaxCl… in rknn_GetTopN_int8() argument 96 float prob = (pProb[i] - zp) * scale; in rknn_GetTopN_int8() 119 get_type_string(attr->type), get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr()
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | tnc.c | 617 struct ubifs_znode *zp; in tnc_next() local 619 zp = znode->parent; in tnc_next() 620 if (!zp) in tnc_next() 623 znode = zp; in tnc_next() 661 struct ubifs_znode *zp; in tnc_prev() local 663 zp = znode->parent; in tnc_prev() 664 if (!zp) in tnc_prev() 667 znode = zp; in tnc_prev() 1095 struct ubifs_znode *zp; in dirty_cow_bottom_up() local 1113 zp = znode->parent; in dirty_cow_bottom_up() [all …]
|
| H A D | debug.c | 1277 struct ubifs_znode *zp = znode->parent; in dbg_check_znode() local 1307 if (zp && !ubifs_zn_dirty(zp)) { in dbg_check_znode() 1322 if (zp) { in dbg_check_znode() 1325 if (znode->level != zp->level - 1) { in dbg_check_znode() 1331 err = ubifs_search_zbranch(c, zp, &zbr->key, &n); in dbg_check_znode() 1338 if (znode->iip >= zp->child_cnt) { in dbg_check_znode() 1345 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode() 1346 &zp->zbranch[znode->iip].key)) { in dbg_check_znode() 1364 if (n + 1 < zp->child_cnt) { in dbg_check_znode() 1365 max = &zp->zbranch[n + 1].key; in dbg_check_znode() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | tnc.c | 613 struct ubifs_znode *zp; in tnc_next() local 615 zp = znode->parent; in tnc_next() 616 if (!zp) in tnc_next() 619 znode = zp; in tnc_next() 657 struct ubifs_znode *zp; in tnc_prev() local 659 zp = znode->parent; in tnc_prev() 660 if (!zp) in tnc_prev() 663 znode = zp; in tnc_prev() 1092 struct ubifs_znode *zp; in dirty_cow_bottom_up() local 1111 zp = znode->parent; in dirty_cow_bottom_up() [all …]
|
| H A D | tnc_commit.c | 28 struct ubifs_znode *zp; in make_idx_node() local 64 zp = znode->parent; in make_idx_node() 65 if (zp) { in make_idx_node() 68 zbr = &zp->zbranch[znode->iip]; in make_idx_node() 431 struct ubifs_znode *znode, *cnext, *zp; in layout_in_empty_space() local 476 zp = znode->parent; in layout_in_empty_space() 477 if (zp) { in layout_in_empty_space() 482 zbr = &zp->zbranch[i]; in layout_in_empty_space()
|
| H A D | debug.c | 1267 struct ubifs_znode *zp = znode->parent; in dbg_check_znode() local 1297 if (zp && !ubifs_zn_dirty(zp)) { in dbg_check_znode() 1312 if (zp) { in dbg_check_znode() 1315 if (znode->level != zp->level - 1) { in dbg_check_znode() 1321 err = ubifs_search_zbranch(c, zp, &zbr->key, &n); in dbg_check_znode() 1328 if (znode->iip >= zp->child_cnt) { in dbg_check_znode() 1335 if (keys_cmp(c, &zp->zbranch[n].key, in dbg_check_znode() 1336 &zp->zbranch[znode->iip].key)) { in dbg_check_znode() 1354 if (n + 1 < zp->child_cnt) { in dbg_check_znode() 1355 max = &zp->zbranch[n + 1].key; in dbg_check_znode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/isdn/hardware/mISDN/ |
| H A D | hfcpci.c | 398 struct zt *zp; in hfcpci_empty_bfifo() local 402 zp = &bz->za[bz->f2]; /* point to Z-Regs */ in hfcpci_empty_bfifo() 403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo() 408 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo() 426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo() 430 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo() 432 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo() 460 struct zt *zp; in receive_dmsg() local 464 zp = &df->za[df->f2 & D_FREG_MASK]; in receive_dmsg() 465 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in receive_dmsg() [all …]
|
| /OK3568_Linux_fs/kernel/net/rds/ |
| H A D | cong.c | 142 unsigned long zp; in rds_cong_from_addr() local 155 zp = get_zeroed_page(GFP_KERNEL); in rds_cong_from_addr() 156 if (zp == 0) in rds_cong_from_addr() 158 map->m_page_addrs[i] = zp; in rds_cong_from_addr()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_mobilenet_demo/src/ |
| H A D | main.cc | 44 get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr()
|
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/ |
| H A D | rknn_api.h | 243 …int32_t zp; /* zero point for RKNN_TENSOR_QNT_AFFINE_ASYMM… member
|
| /OK3568_Linux_fs/external/rknpu2/runtime/RK3588/Android/librknn_api/include/ |
| H A D | rknn_api.h | 250 …int32_t zp; /* zero point for RKNN_TENSOR_QNT_AFFINE_ASYMM… member
|
| /OK3568_Linux_fs/external/rknpu2/runtime/RK356X/Linux/librknn_api/include/ |
| H A D | rknn_api.h | 250 …int32_t zp; /* zero point for RKNN_TENSOR_QNT_AFFINE_ASYMM… member
|
| /OK3568_Linux_fs/external/rknpu2/runtime/RK3588/Linux/librknn_api/include/ |
| H A D | rknn_api.h | 250 …int32_t zp; /* zero point for RKNN_TENSOR_QNT_AFFINE_ASYMM… member
|