/external/libvpx/libvpx/vp8/common/ |
D | loopfilter_filters.c | 39 signed char hev = 0; in vp8_hevmask() local 40 hev |= (abs(p1 - p0) > thresh) * -1; in vp8_hevmask() 41 hev |= (abs(q1 - q0) > thresh) * -1; in vp8_hevmask() 42 return hev; in vp8_hevmask() 45 static void vp8_filter(signed char mask, uc hev, uc *op1, uc *op0, uc *oq0, in vp8_filter() argument 59 filter_value &= hev; in vp8_filter() 82 filter_value &= ~hev; in vp8_filter() 95 int hev = 0; /* high edge variance */ in loop_filter_horizontal_edge_c() local 106 hev = vp8_hevmask(thresh[0], s[-2 * p], s[-1 * p], s[0 * p], s[1 * p]); in loop_filter_horizontal_edge_c() 108 vp8_filter(mask, hev, s - 2 * p, s - 1 * p, s, s + 1 * p); in loop_filter_horizontal_edge_c() [all …]
|
/external/mesa3d/src/gallium/frontends/clover/api/ |
D | transfer.cpp | 339 auto hev = create<hard_event>( in clEnqueueReadBuffer() local 346 hev().wait_signalled(); in clEnqueueReadBuffer() 348 ret_object(rd_ev, hev); in clEnqueueReadBuffer() 372 auto hev = create<hard_event>( in clEnqueueWriteBuffer() local 379 hev().wait_signalled(); in clEnqueueWriteBuffer() 381 ret_object(rd_ev, hev); in clEnqueueWriteBuffer() 412 auto hev = create<hard_event>( in clEnqueueReadBufferRect() local 419 hev().wait_signalled(); in clEnqueueReadBufferRect() 421 ret_object(rd_ev, hev); in clEnqueueReadBufferRect() 452 auto hev = create<hard_event>( in clEnqueueWriteBufferRect() local [all …]
|
D | event.cpp | 196 auto hev = create<hard_event>(q, CL_COMMAND_MARKER, deps); in clEnqueueMarkerWithWaitList() local 198 ret_object(rd_ev, hev); in clEnqueueMarkerWithWaitList() 231 auto hev = create<hard_event>(q, CL_COMMAND_BARRIER, deps); in clEnqueueBarrierWithWaitList() local 233 ret_object(rd_ev, hev); in clEnqueueBarrierWithWaitList() 256 hard_event &hev = dynamic_cast<hard_event &>(obj(d_ev)); in clGetEventProfilingInfo() local 258 if (hev.status() != CL_COMPLETE) in clGetEventProfilingInfo() 263 buf.as_scalar<cl_ulong>() = hev.time_queued(); in clGetEventProfilingInfo() 267 buf.as_scalar<cl_ulong>() = hev.time_submit(); in clGetEventProfilingInfo() 271 buf.as_scalar<cl_ulong>() = hev.time_start(); in clGetEventProfilingInfo() 275 buf.as_scalar<cl_ulong>() = hev.time_end(); in clGetEventProfilingInfo() [all …]
|
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
D | vp8_loopfilter_filters_dspr2.c | 34 uint32_t thresh, uint32_t *hev, uint32_t *mask) { in vp8_filter_mask_vec_mips() argument 126 *hev = hev1; in vp8_filter_mask_vec_mips() 131 static __inline void vp8_filter_mips(uint32_t mask, uint32_t hev, uint32_t *ps1, in vp8_filter_mips() argument 176 hev_l = hev & HWM; in vp8_filter_mips() 177 hev_r = hev << 8; in vp8_filter_mips() 306 uint32_t hev; in vp8_loop_filter_horizontal_edge_mips() local 312 hev = 0; in vp8_loop_filter_horizontal_edge_mips() 352 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() 357 vp8_filter_mips(mask, hev, &p1, &p2, &p3, &p4); in vp8_loop_filter_horizontal_edge_mips() 394 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | loopfilter_4_msa.c | 19 v16u8 mask, hev, flat, thresh, b_limit, limit; in vpx_lpf_horizontal_4_msa() local 29 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_horizontal_4_msa() 31 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_horizontal_4_msa() 47 v16u8 mask, hev, flat, thresh0, b_limit0, limit0, thresh1, b_limit1, limit1; in vpx_lpf_horizontal_4_dual_msa() local 65 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit0, b_limit0, thresh0, hev, in vpx_lpf_horizontal_4_dual_msa() 67 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1); in vpx_lpf_horizontal_4_dual_msa() 76 v16u8 mask, hev, flat, limit, thresh, b_limit; in vpx_lpf_vertical_4_msa() local 88 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_vertical_4_msa() 90 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1); in vpx_lpf_vertical_4_msa() 107 v16u8 mask, hev, flat; in vpx_lpf_vertical_4_dual_msa() local [all …]
|
D | loopfilter_masks_dspr2.h | 31 uint32_t thresh, uint32_t *hev, in filter_hev_mask_dspr2() argument 124 *hev = hev1; in filter_hev_mask_dspr2() 131 uint32_t q3, uint32_t *hev, uint32_t *mask, uint32_t *flat) { in filter_hev_mask_flatmask4_dspr2() argument 264 *hev = hev1; in filter_hev_mask_flatmask4_dspr2()
|
D | loopfilter_filters_dspr2.c | 27 uint32_t hev; in vpx_lpf_horizontal_4_dspr2() local 84 p6, thresh_vec, &hev, &mask); in vpx_lpf_horizontal_4_dspr2() 89 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vpx_lpf_horizontal_4_dspr2() 111 uint32_t mask, hev; in vpx_lpf_vertical_4_dspr2() local 203 p6, thresh_vec, &hev, &mask); in vpx_lpf_vertical_4_dspr2() 208 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vpx_lpf_vertical_4_dspr2()
|
D | loopfilter_8_msa.c | 19 v16u8 mask, hev, flat, thresh, b_limit, limit; in vpx_lpf_horizontal_8_msa() local 33 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_horizontal_8_msa() 36 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_horizontal_8_msa() 88 v16u8 flat, mask, hev, tmp, thresh, b_limit, limit; in vpx_lpf_horizontal_8_dual_msa() local 111 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_horizontal_8_dual_msa() 114 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_horizontal_8_dual_msa() 159 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_lpf_vertical_8_msa() local 176 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_vertical_8_msa() 181 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_vertical_8_msa() 236 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_lpf_vertical_8_dual_msa() local [all …]
|
D | loopfilter_msa.h | 16 #define VP9_LPF_FILTER4_4W(p1_in, p0_in, q0_in, q1_in, mask, hev, p1_out, \ argument 29 filt &= hev; \ 44 hev = __msa_xori_b(hev, 0xff); \ 45 filt &= hev; \
|
D | loopfilter_mb_dspr2.c | 26 uint32_t hev, flat; in vpx_lpf_horizontal_8_dspr2() local 79 p3, p2, q0, q1, q2, q3, &hev, &mask, &flat); in vpx_lpf_horizontal_8_dspr2() 82 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_horizontal_8_dspr2() 119 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_horizontal_8_dspr2() 293 uint32_t mask, hev, flat; in vpx_lpf_vertical_8_dspr2() local 413 p3, p2, q0, q1, q2, q3, &hev, &mask, &flat); in vpx_lpf_vertical_8_dspr2() 416 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_vertical_8_dspr2() 429 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_vertical_8_dspr2()
|
D | loopfilter_filters_dspr2.h | 27 static INLINE void filter_dspr2(uint32_t mask, uint32_t hev, uint32_t *ps1, in filter_dspr2() argument 70 hev_l = hev & HWM; in filter_dspr2() 71 hev_r = hev << 8; in filter_dspr2() 192 static INLINE void filter1_dspr2(uint32_t mask, uint32_t hev, uint32_t ps1, in filter1_dspr2() argument 237 hev_l = hev & HWM; in filter1_dspr2() 238 hev_r = hev << 8; in filter1_dspr2()
|
/external/libaom/libaom/aom_dsp/mips/ |
D | loopfilter_4_msa.c | 19 v16u8 mask, hev, flat, thresh, b_limit, limit; in aom_lpf_horizontal_4_msa() local 29 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_horizontal_4_msa() 31 AOM_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in aom_lpf_horizontal_4_msa() 47 v16u8 mask, hev, flat, thresh0, b_limit0, limit0, thresh1, b_limit1, limit1; in aom_lpf_horizontal_4_dual_msa() local 65 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit0, b_limit0, thresh0, hev, in aom_lpf_horizontal_4_dual_msa() 67 AOM_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1); in aom_lpf_horizontal_4_dual_msa() 76 v16u8 mask, hev, flat, limit, thresh, b_limit; in aom_lpf_vertical_4_msa() local 88 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_vertical_4_msa() 90 AOM_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1); in aom_lpf_vertical_4_msa() 107 v16u8 mask, hev, flat; in aom_lpf_vertical_4_dual_msa() local [all …]
|
D | loopfilter_masks_dspr2.h | 33 uint32_t thresh, uint32_t *hev, in filter_hev_mask_dspr2() argument 126 *hev = hev1; in filter_hev_mask_dspr2() 133 uint32_t q3, uint32_t *hev, uint32_t *mask, uint32_t *flat) { in filter_hev_mask_flatmask4_dspr2() argument 266 *hev = hev1; in filter_hev_mask_flatmask4_dspr2()
|
D | loopfilter_filters_dspr2.c | 29 uint32_t hev; in aom_lpf_horizontal_4_dspr2() local 86 p6, thresh_vec, &hev, &mask); in aom_lpf_horizontal_4_dspr2() 91 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in aom_lpf_horizontal_4_dspr2() 113 uint32_t mask, hev; in aom_lpf_vertical_4_dspr2() local 205 p6, thresh_vec, &hev, &mask); in aom_lpf_vertical_4_dspr2() 210 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in aom_lpf_vertical_4_dspr2()
|
D | loopfilter_8_msa.c | 19 v16u8 mask, hev, flat, thresh, b_limit, limit; in aom_lpf_horizontal_8_msa() local 33 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_horizontal_8_msa() 36 AOM_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in aom_lpf_horizontal_8_msa() 88 v16u8 flat, mask, hev, tmp, thresh, b_limit, limit; in aom_lpf_horizontal_8_dual_msa() local 111 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_horizontal_8_dual_msa() 114 AOM_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in aom_lpf_horizontal_8_dual_msa() 159 v16u8 flat, mask, hev, thresh, b_limit, limit; in aom_lpf_vertical_8_msa() local 176 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_vertical_8_msa() 181 AOM_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in aom_lpf_vertical_8_msa() 236 v16u8 flat, mask, hev, thresh, b_limit, limit; in aom_lpf_vertical_8_dual_msa() local [all …]
|
D | loopfilter_mb_dspr2.c | 28 uint32_t hev, flat; in aom_lpf_horizontal_8_dspr2() local 81 p3, p2, q0, q1, q2, q3, &hev, &mask, &flat); in aom_lpf_horizontal_8_dspr2() 84 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in aom_lpf_horizontal_8_dspr2() 121 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in aom_lpf_horizontal_8_dspr2() 295 uint32_t mask, hev, flat; in aom_lpf_vertical_8_dspr2() local 415 p3, p2, q0, q1, q2, q3, &hev, &mask, &flat); in aom_lpf_vertical_8_dspr2() 418 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in aom_lpf_vertical_8_dspr2() 431 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in aom_lpf_vertical_8_dspr2()
|
D | loopfilter_filters_dspr2.h | 29 static INLINE void filter_dspr2(uint32_t mask, uint32_t hev, uint32_t *ps1, in filter_dspr2() argument 72 hev_l = hev & HWM; in filter_dspr2() 73 hev_r = hev << 8; in filter_dspr2() 194 static INLINE void filter1_dspr2(uint32_t mask, uint32_t hev, uint32_t ps1, in filter1_dspr2() argument 239 hev_l = hev & HWM; in filter1_dspr2() 240 hev_r = hev << 8; in filter1_dspr2()
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
D | loopfilter_filters_msa.c | 27 #define VP8_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev) \ argument 39 filt &= hev; \ 54 hev = __msa_xori_b(hev, 0xff); \ 55 filt &= hev; \ 90 #define VP8_MBFILTER(p2, p1, p0, q0, q1, q2, mask, hev) \ argument 115 t2 = filt & hev; \ 116 hev = __msa_xori_b(hev, 0xff); \ 117 filt &= hev; \ 216 v16u8 mask, hev, flat; in loop_filter_horizontal_4_dual_msa() local 233 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit0, b_limit0, thresh0, hev, in loop_filter_horizontal_4_dual_msa() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | loopfilter_sse2.c | 142 __m128i *hev, __m128i *mask, in filter4_sse2() argument 157 filter = _mm_and_si128(_mm_srli_si128(work, 4), *hev); in filter4_sse2() 178 filter = _mm_andnot_si128(*hev, filter); in filter4_sse2() 193 __m128i *hev, __m128i *mask, in filter4_dual_sse2() argument 209 filter = _mm_and_si128(_mm_srli_si128(work, 8), *hev); in filter4_dual_sse2() 231 filter = _mm_andnot_si128(*hev, filter); in filter4_dual_sse2() 249 __m128i mask, flat, hev; in lpf_internal_4_sse2() local 265 hev = _mm_unpacklo_epi8(flat, zero); in lpf_internal_4_sse2() 267 hev = _mm_cmpgt_epi16(hev, *thresh); in lpf_internal_4_sse2() 268 hev = _mm_packs_epi16(hev, hev); in lpf_internal_4_sse2() [all …]
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | highbd_loopfilter_neon.c | 47 const uint16x8_t q3, uint16x8_t *hev, uint16x8_t *mask) { in filter_hev_mask4() argument 52 *hev = vcgtq_u16(max, thresh); in filter_hev_mask4() 74 uint32_t *flat_status, uint16x8_t *hev, const int bd) { in filter_flat_hev_mask() argument 77 q0, q1, q2, q3, hev, &mask); in filter_flat_hev_mask() 229 static INLINE void filter4(const uint16x8_t mask, const uint16x8_t hev, in filter4() argument 246 filter = vandq_s16(filter, vreinterpretq_s16_u16(hev)); in filter4() 278 filter = vbicq_s16(filter, vreinterpretq_s16_u16(hev)); in filter4() 291 const uint32_t flat_status, const uint16x8_t hev, in filter8() argument 300 filter4(mask, hev, p1, p0, q0, q1, op1, op0, oq0, oq1, bd); in filter8() 315 const uint16x8_t flat2, const uint32_t flat2_status, const uint16x8_t hev, in filter16() argument [all …]
|
D | loopfilter_neon.c | 74 const uint8x##w##_t q3, uint8x##w##_t *hev, uint8x##w##_t *mask) { \ 79 *hev = vcgt##r##u8(max, thresh); \ 107 uint8x##w##_t *hev) { \ 111 q2, q3, hev, &mask); \ 404 const uint8x##w##_t mask, const uint8x##w##_t hev, \ 416 filter = vand##r##s8(filter, vreinterpret##r##s8_u8(hev)); \ 438 filter = vbic##r##s8(filter, vreinterpret##r##s8_u8(hev)); \ 453 const uint32_t flat_status, const uint8x##w##_t hev, \ 460 filter4_##w(mask, hev, p1, p0, q0, q1, op1, op0, oq0, oq1); \ 481 const uint32_t flat2_status, const uint8x##w##_t hev, \ [all …]
|
/external/webp/src/dsp/ |
D | dec_msa.c | 190 #define LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev) do { \ argument 198 filt = filt & hev; \ 209 hev = __msa_xori_b(hev, 0xff); \ 210 filt = filt & hev; \ 217 #define LPF_MBFILTER(p2, p1, p0, q0, q1, q2, mask, hev) do { \ argument 231 t2 = filt & hev; \ 233 hev = __msa_xori_b(hev, 0xff); \ 234 filt = filt & hev; \ 344 v16u8 mask, hev; in VFilter16() local 351 hev, mask); in VFilter16() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_sse2.c | 32 hev = \ 34 hev = _mm_cmpgt_epi16(hev, thresh_v); \ 35 hev = _mm_packs_epi16(hev, hev); \ 72 filter = _mm_and_si128(_mm_srli_si128(work, 8), hev); \ 94 filter = _mm_andnot_si128(hev, filter); \ 96 hev = _mm_unpackhi_epi64(filter2filter1, filter); \ 102 ps1ps0 = _mm_adds_epi8(ps1ps0, hev); \ 117 __m128i mask, hev; in vpx_lpf_horizontal_4_sse2() local 152 __m128i mask, hev; in vpx_lpf_vertical_4_sse2() local 240 __m128i mask, hev, flat, flat2; in vpx_lpf_horizontal_16_sse2() local [all …]
|
D | highbd_loopfilter_sse2.c | 58 __m128i mask, hev, flat, flat2, abs_p1p0, abs_q1q0; in vpx_highbd_lpf_horizontal_16_sse2() local 114 hev = _mm_subs_epu16(flat, thresh_v); in vpx_highbd_lpf_horizontal_16_sse2() 115 hev = _mm_xor_si128(_mm_cmpeq_epi16(hev, zero), ffff); in vpx_highbd_lpf_horizontal_16_sse2() 157 hev); in vpx_highbd_lpf_horizontal_16_sse2() 176 filt = _mm_andnot_si128(hev, filt); in vpx_highbd_lpf_horizontal_16_sse2() 497 __m128i mask, hev, flat; in vpx_highbd_lpf_horizontal_8_sse2() local 556 hev = _mm_subs_epu16(flat, thresh_v); in vpx_highbd_lpf_horizontal_8_sse2() 557 hev = _mm_xor_si128(_mm_cmpeq_epi16(hev, zero), ffff); in vpx_highbd_lpf_horizontal_8_sse2() 637 filt = _mm_and_si128(filt, hev); in vpx_highbd_lpf_horizontal_8_sse2() 661 filt = _mm_andnot_si128(hev, filt); in vpx_highbd_lpf_horizontal_8_sse2() [all …]
|
/external/mesa3d/src/gallium/frontends/clover/core/ |
D | event.cpp | 214 auto &hev = static_cast<hard_event &>(ev); in profile() local 216 hev._time_submit = timestamp::current(q); in profile() 217 hev._time_start = timestamp::query(q); in profile() 221 hev._time_end = timestamp::query(q); in profile()
|