Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Ddec_mips32.c71 return (abs_mips32(p1 - p0) > thresh) || (abs_mips32(q1 - q0) > thresh); in hev()
95 const int thresh2 = 2 * thresh + 1; in FilterLoop26()
111 const int thresh2 = 2 * thresh + 1; in FilterLoop24()
138 FilterLoop26(u, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8()
139 FilterLoop26(v, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8()
144 FilterLoop26(u, 1, stride, 8, thresh, ithresh, hev_thresh); in HFilter8()
145 FilterLoop26(v, 1, stride, 8, thresh, ithresh, hev_thresh); in HFilter8()
184 const int thresh2 = 2 * thresh + 1; in SimpleVFilter16()
194 const int thresh2 = 2 * thresh + 1; in SimpleHFilter16()
206 SimpleVFilter16(p, stride, thresh); in SimpleVFilter16i()
[all …]
A Ddec_mips_dsp_r2.c163 const int thresh2 = 2 * thresh + 1; in FilterLoop26()
305 const int thresh2 = 2 * thresh + 1; in FilterLoop24()
430 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16()
441 FilterLoop26(u, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8()
442 FilterLoop26(v, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8()
447 FilterLoop26(u, 1, stride, 8, thresh, ithresh, hev_thresh); in HFilter8()
448 FilterLoop26(v, 1, stride, 8, thresh, ithresh, hev_thresh); in HFilter8()
489 const int thresh2 = 2 * thresh + 1; in SimpleVFilter16()
558 const int thresh2 = 2 * thresh + 1; in SimpleHFilter16()
611 SimpleVFilter16(p, stride, thresh); in SimpleVFilter16i()
[all …]
A Ddec.c525 return (VP8kabs0[p1 - p0] > thresh) || (VP8kabs0[q1 - q0] > thresh); in Hev()
555 const int thresh2 = 2 * thresh + 1; in SimpleVFilter16_C()
565 const int thresh2 = 2 * thresh + 1; in SimpleHFilter16_C()
577 SimpleVFilter16_C(p, stride, thresh); in SimpleVFilter16i_C()
585 SimpleHFilter16_C(p, stride, thresh); in SimpleHFilter16i_C()
596 int thresh, int ithresh, in FilterLoop26_C() argument
598 const int thresh2 = 2 * thresh + 1; in FilterLoop26_C()
613 int thresh, int ithresh, in FilterLoop24_C() argument
615 const int thresh2 = 2 * thresh + 1; in FilterLoop24_C()
667 FilterLoop26_C(u, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8_C()
[all …]
A Dquant.h29 int thresh) { in IsFlat() argument
46 return thresh >= (int32_t)vget_lane_u32(horizontal_add_uint32x4(sum), 0); in IsFlat()
54 int thresh) { in IsFlat() argument
60 if (score > thresh) return 0; in IsFlat()
A Ddec_sse2.c341 const __m128i m_thresh = _mm_set1_epi8(thresh); in NeedsFilter_SSE2()
361 int thresh) { in DoFilter2_SSE2() argument
368 NeedsFilter_SSE2(p1, p0, q0, q1, thresh, &mask); in DoFilter2_SSE2()
600 DoFilter2_SSE2(&p1, &p0, &q0, &q1, thresh); in SimpleVFilter16_SSE2()
613 DoFilter2_SSE2(&p1, &p0, &q0, &q1, thresh); in SimpleHFilter16_SSE2()
621 SimpleVFilter16_SSE2(p, stride, thresh); in SimpleVFilter16i_SSE2()
629 SimpleHFilter16_SSE2(p, stride, thresh); in SimpleHFilter16i_SSE2()
684 NeedsFilter_SSE2(p1, p0, q0, q1, thresh, &filter_mask); in ComplexMask_SSE2()
703 ComplexMask_SSE2(&p1, &p0, &q0, &q1, thresh, ithresh, &mask); in VFilter16_SSE2()
727 ComplexMask_SSE2(&p1, &p0, &q0, &q1, thresh, ithresh, &mask); in HFilter16_SSE2()
[all …]
A Ddec_neon.c429 int thresh) { in NeedsFilter_NEON() argument
430 const uint8x16_t thresh_v = vdupq_n_u8((uint8_t)thresh); in NeedsFilter_NEON()
613 DO_FILTER2(q1, q2, q3, q12, %[thresh]) in SimpleVFilter16_NEON()
620 : [stride] "r"(stride), [thresh] "r"(thresh) in SimpleVFilter16_NEON()
637 DO_FILTER2(q1, q2, q12, q13, %[thresh]) in SimpleHFilter16_NEON()
646 : [stride] "r"(stride), [thresh] "r"(thresh) in SimpleHFilter16_NEON()
660 SimpleVFilter16_NEON(p, stride, thresh); in SimpleVFilter16i_NEON()
668 SimpleHFilter16_NEON(p, stride, thresh); in SimpleHFilter16i_NEON()
690 int ithresh, int thresh) { in NeedsFilter2_NEON() argument
843 ithresh, thresh); in VFilter16_NEON()
[all …]
A Ddec_msa.c345 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in VFilter16() local
369 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in HFilter16() local
424 const v16u8 thresh0 = (v16u8)__msa_fill_b(thresh); in VFilterHorEdge16i()
436 int b_limit, int limit, int thresh) { in VFilter16i() argument
449 const v16u8 thresh0 = (v16u8)__msa_fill_b(thresh); in HFilterVertEdge16i()
473 int b_limit, int limit, int thresh) { in HFilter16i() argument
474 HFilterVertEdge16i(src_y + 4, stride, b_limit, limit, thresh); in HFilter16i()
490 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in VFilter8() local
535 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in HFilter8() local
567 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in VFilter8i() local
[all …]
A Ddsp.h398 typedef void (*VP8SimpleFilterFunc)(uint8_t* p, int stride, int thresh);
406 int thresh, int ithresh, int hev_t);
408 int thresh, int ithresh, int hev_t);
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Include/
A Darm_nnsupportfunctions.h934 const int32_t thresh = ((1 << (31 - exp)) - 1); in arm_nn_mult_by_power_of_two() local
936 result = SELECT_USING_MASK(MASK_IF_NON_ZERO(val > thresh), Q31_MAX, result); in arm_nn_mult_by_power_of_two()
937 result = SELECT_USING_MASK(MASK_IF_NON_ZERO(val < -thresh), Q31_MIN, result); in arm_nn_mult_by_power_of_two()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Include/
A Darm_nnsupportfunctions.h934 const int32_t thresh = ((1 << (31 - exp)) - 1); in arm_nn_mult_by_power_of_two() local
936 result = SELECT_USING_MASK(MASK_IF_NON_ZERO(val > thresh), Q31_MAX, result); in arm_nn_mult_by_power_of_two()
937 result = SELECT_USING_MASK(MASK_IF_NON_ZERO(val < -thresh), Q31_MIN, result); in arm_nn_mult_by_power_of_two()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_csp_enc.c188 const double thresh = 0.018053968510807; in InitGammaTablesS() local
193 if (g <= thresh * 4.5) { in InitGammaTablesS()
204 if (g <= thresh) { in InitGammaTablesS()
A Dquant_enc.c607 const int thresh = mtx->q_[1] * mtx->q_[1] / 4; in TrellisQuantizeBlock() local
615 if (err > thresh) { in TrellisQuantizeBlock()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DChangeLog10 381b7b54 IsFlat: use int for thresh

Completed in 44 milliseconds