Home
last modified time | relevance | path

Searched refs:srcv (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dinstance_norm_fp32.c43 __m256 srcv = _mm256_loadu_ps(src + index); in InstanceNorm() local
44 __m256 squarev = _mm256_mul_ps(srcv, srcv); in InstanceNorm()
45 __m128 src128 = _mm_add_ps(_mm256_extractf128_ps(srcv, 0), _mm256_extractf128_ps(srcv, 1)); in InstanceNorm()
56 MS_FLOAT32X4 srcv = MS_LDQ_F32(src + index); in InstanceNorm() local
57 MS_FLOAT32X4 squarev = MS_MULQ_F32(srcv, srcv); in InstanceNorm()
59 mean += vaddvq_f32(srcv); in InstanceNorm()
63 mean += MS_F32X4_GETI(srcv, i); in InstanceNorm()
67 float32x2_t src_add2 = vadd_f32(vget_low_f32(srcv), vget_high_f32(srcv)); in InstanceNorm()
129 MS_FLOAT32X4 srcv = MS_LDQ_F32(src + index * C4NUM), srcv1 = MS_LDQ_F32(src1 + index * C4NUM); in InstanceNormC4HW4ArmSse() local
131 MS_FLOAT32X4 squarev = MS_MULQ_F32(srcv, srcv), squarev1 = MS_MULQ_F32(srcv1, srcv1); in InstanceNormC4HW4ArmSse()
[all …]
Dlayer_norm_fp32.c30 float32x4_t srcv = vld1q_f32(src + index); in LayerNormMeanAndSquare() local
31 float32x4_t squarev = vmulq_f32(srcv, srcv); in LayerNormMeanAndSquare()
32 sum = vaddq_f32(sum, srcv); in LayerNormMeanAndSquare()
54 float32x4_t srcv = vld1q_f32(src + index); in LayerNormGammaAndBeta() local
55 float32x4_t outv = vsubq_f32(srcv, meanv); in LayerNormGammaAndBeta()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dinstance_norm_fp16.c42 float16x8_t srcv = vld1q_f16(src + index); in InstanceNormFp16() local
43 float16x8_t squarev = vmulq_f16(srcv, srcv); in InstanceNormFp16()
45 float16x4_t sum2 = vadd_f16(vget_low_f16(srcv), vget_high_f16(srcv)); in InstanceNormFp16()
66 float16x8_t srcv = vld1q_f16(src + index); in InstanceNormFp16() local
67 float16x8_t outv = vsubq_f16(srcv, meanv); in InstanceNormFp16()
114 float16x8_t srcv = vld1q_f16(src + index * C8NUM); in InstanceNormNC8HW8Fp16() local
117 float32x4_t srcv01 = vcvt_f32_f16(vget_low_f16(srcv)); in InstanceNormNC8HW8Fp16()
119 float32x4_t srcv11 = vcvt_f32_f16(vget_low_f16(srcv)); in InstanceNormNC8HW8Fp16()
148 float16x8_t srcv = vld1q_f16(src + index * C8NUM); in InstanceNormNC8HW8Fp16() local
150 float16x8_t outv = vsubq_f16(srcv, mean); in InstanceNormNC8HW8Fp16()
[all …]
Dlayer_norm_fp16.c29 float16x8_t srcv = vld1q_f16(src + index); in LayerNormMeanAndSquareFp16() local
31 square_sum += srcv[i] * srcv[i]; in LayerNormMeanAndSquareFp16()
33 float16x4_t sum2 = vadd_f16(vget_low_f16(srcv), vget_high_f16(srcv)); in LayerNormMeanAndSquareFp16()
52 float16x8_t srcv = vld1q_f16(src + index); in LayerNormGammaAndBetaFp16() local
53 float16x8_t outv = vsubq_f16(srcv, meanv); in LayerNormGammaAndBetaFp16()
/third_party/ffmpeg/libavcodec/
Dmss2dsp.c39 const uint8_t *srcv, in mss2_blit_wmv9_template() argument
52 int v = srcv[j] - 128; in mss2_blit_wmv9_template()
63 srcv += srcuv_stride * (r & 1); in mss2_blit_wmv9_template()
69 const uint8_t *srcu, const uint8_t *srcv, in mss2_blit_wmv9_c() argument
75 srcu, srcv, srcuv_stride, in mss2_blit_wmv9_c()
83 const uint8_t *srcu, const uint8_t *srcv, in mss2_blit_wmv9_masked_c() argument
89 srcu, srcv, srcuv_stride, in mss2_blit_wmv9_masked_c()
Dmss2dsp.h35 const uint8_t *srcu, const uint8_t *srcv,
41 const uint8_t *srcu, const uint8_t *srcv,
Dtdsc.c327 const uint8_t *srcu, const uint8_t *srcv, in tdsc_blit() argument
334 srcu[col >> 1] - 128, srcv[col >> 1] - 128); in tdsc_blit()
339 srcv += srcuv_stride * (line & 1); in tdsc_blit()
Dpixlet.c508 int16_t *srcv = (int16_t *)frame->data[2]; in postprocess_chroma() local
518 dstv[i] = av_clip_uintp2_c(add + srcv[i], depth) << shift; in postprocess_chroma()
523 srcv += stridev; in postprocess_chroma()
Dvp9recon.c388 #define mc_chroma_dir(td, mc, dstu, dstv, dst_ls, srcu, srcu_ls, srcv, srcv_ls, tref, \ argument
390 mc_chroma_unscaled(td, s->dsp.mc, dstu, dstv, dst_ls, srcu, srcu_ls, srcv, srcv_ls, tref, \
550 #define mc_chroma_dir(td, mc, dstu, dstv, dst_ls, srcu, srcu_ls, srcv, srcv_ls, tref, \ argument
552 …mc_chroma_scaled(td, s->dsp.s##mc, s->dsp.mc, dstu, dstv, dst_ls, srcu, srcu_ls, srcv, srcv_ls, tr…
/third_party/skia/src/utils/
DSkBase64.cpp33 SkBase64::Error SkBase64::Decode(const void* srcv, size_t srcLength, void* dstv, size_t* dstLength){ in Decode() argument
34 const unsigned char* src = static_cast<const unsigned char*>(srcv); in Decode()
109 size_t SkBase64::Encode(const void* srcv, size_t length, void* dstv, const char* encodeMap) { in Encode() argument
110 const unsigned char* src = static_cast<const unsigned char*>(srcv); in Encode()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c6698 struct sctp_sndrcvinfo *srcv, argument
6719 if (chk->rec.data.timetodrop.tv_sec > (long)srcv->sinfo_timetolive) {
6754 if (chk->rec.data.timetodrop.tv_sec > (long)srcv->sinfo_timetolive) {
6884 struct sctp_sndrcvinfo *srcv, int hold_stcb_lock) argument
6895 if (srcv->sinfo_stream >= stcb->asoc.streamoutcnt) {
6902 (stcb->asoc.stream_locked_on != srcv->sinfo_stream)) {
6907 strm = &stcb->asoc.strmout[srcv->sinfo_stream];
6924 sp->sinfo_flags = srcv->sinfo_flags;
6925 sp->timetolive = srcv->sinfo_timetolive;
6926 sp->ppid = srcv->sinfo_ppid;
[all …]
Dsctp_uio.h1292 struct sctp_sndrcvinfo *srcv
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp2931 std::vector<Value *> srcv; in handleATOM() local
2972 getImageCoords(srcv, 1); in handleATOM()
2974 srcv.push_back(fetchSrc(2, 0)); in handleATOM()
2977 srcv.push_back(fetchSrc(3, 0)); in handleATOM()
2984 0, 0, defv, srcv); in handleATOM()