/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/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/mesa3d/src/gallium/state_trackers/clover/api/ |
D | event.cpp | 195 auto hev = create<hard_event>(q, CL_COMMAND_MARKER, deps); in clEnqueueMarkerWithWaitList() local 197 ret_object(rd_ev, hev); in clEnqueueMarkerWithWaitList() 230 auto hev = create<hard_event>(q, CL_COMMAND_BARRIER, deps); in clEnqueueBarrierWithWaitList() local 232 ret_object(rd_ev, hev); in clEnqueueBarrierWithWaitList() 255 hard_event &hev = dynamic_cast<hard_event &>(obj(d_ev)); in clGetEventProfilingInfo() local 257 if (hev.status() != CL_COMPLETE) in clGetEventProfilingInfo() 262 buf.as_scalar<cl_ulong>() = hev.time_queued(); in clGetEventProfilingInfo() 266 buf.as_scalar<cl_ulong>() = hev.time_submit(); in clGetEventProfilingInfo() 270 buf.as_scalar<cl_ulong>() = hev.time_start(); in clGetEventProfilingInfo() 274 buf.as_scalar<cl_ulong>() = hev.time_end(); in clGetEventProfilingInfo() [all …]
|
D | transfer.cpp | 292 auto hev = create<hard_event>( in clEnqueueReadBuffer() local 298 ret_object(rd_ev, hev); in clEnqueueReadBuffer() 322 auto hev = create<hard_event>( in clEnqueueWriteBuffer() local 328 ret_object(rd_ev, hev); in clEnqueueWriteBuffer() 359 auto hev = create<hard_event>( in clEnqueueReadBufferRect() local 365 ret_object(rd_ev, hev); in clEnqueueReadBufferRect() 396 auto hev = create<hard_event>( in clEnqueueWriteBufferRect() local 402 ret_object(rd_ev, hev); in clEnqueueWriteBufferRect() 430 auto hev = create<hard_event>( in clEnqueueCopyBuffer() local 435 ret_object(rd_ev, hev); in clEnqueueCopyBuffer() [all …]
|
D | kernel.cpp | 292 auto hev = create<hard_event>( in clEnqueueNDRangeKernel() local 298 ret_object(rd_ev, hev); in clEnqueueNDRangeKernel() 315 auto hev = create<hard_event>( in clEnqueueTask() local 321 ret_object(rd_ev, hev); in clEnqueueTask()
|
/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_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_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_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_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()
|
D | loopfilter_mb_vert_dspr2.c | 25 uint32_t mask, hev, flat, flat2; in vpx_lpf_vertical_16_dspr2() local 235 p3, p2, q0, q1, q2, q3, &hev, &mask, &flat); in vpx_lpf_vertical_16_dspr2() 242 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_vertical_16_dspr2() 271 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_vertical_16_dspr2() 428 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in vpx_lpf_vertical_16_dspr2()
|
D | loopfilter_mb_horiz_dspr2.c | 26 uint32_t hev, flat, flat2; in mb_lpf_horizontal_edge() local 107 p3, p2, q0, q1, q2, q3, &hev, &mask, &flat); in mb_lpf_horizontal_edge() 114 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in mb_lpf_horizontal_edge() 199 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in mb_lpf_horizontal_edge() 365 filter1_dspr2(mask, hev, p1, p0, q0, q1, &p1_f0, &p0_f0, &q0_f0, &q1_f0); in mb_lpf_horizontal_edge()
|
/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/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 …]
|
D | dec_mips32.c | 69 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() function 98 if (hev(p, hstride, hev_thresh)) { in FilterLoop26() 114 if (hev(p, hstride, hev_thresh)) { in FilterLoop24()
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_sse2.c | 31 hev = \ 33 hev = _mm_cmpgt_epi16(hev, thresh); \ 34 hev = _mm_packs_epi16(hev, hev); \ 71 filter = _mm_and_si128(_mm_srli_si128(work, 8), hev); \ 93 filter = _mm_andnot_si128(hev, filter); \ 95 hev = _mm_unpackhi_epi64(filter2filter1, filter); \ 101 ps1ps0 = _mm_adds_epi8(ps1ps0, hev); \ 117 __m128i mask, hev; in vpx_lpf_horizontal_4_sse2() local 153 __m128i mask, hev; in vpx_lpf_vertical_4_sse2() local 241 __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); 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); 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 …]
|
D | loopfilter_avx2.c | 20 __m128i mask, hev, flat, flat2; in vpx_lpf_horizontal_16_avx2() local 62 hev = _mm_subs_epu8(flat, thresh); in vpx_lpf_horizontal_16_avx2() 63 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in vpx_lpf_horizontal_16_avx2() 99 filt = _mm_and_si128(_mm_subs_epi8(qs1ps1, qs1), hev); in vpx_lpf_horizontal_16_avx2() 122 filt = _mm_andnot_si128(_mm_srai_epi16(_mm_unpacklo_epi8(zero, hev), 0x8), in vpx_lpf_horizontal_16_avx2() 374 __m128i mask, hev, flat, flat2; in vpx_lpf_horizontal_16_dual_avx2() local 434 hev = _mm_subs_epu8(flat, thresh); in vpx_lpf_horizontal_16_dual_avx2() 435 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in vpx_lpf_horizontal_16_dual_avx2() 478 filt = _mm_and_si128(_mm_subs_epi8(ps1, qs1), hev); in vpx_lpf_horizontal_16_dual_avx2() 512 filt = _mm_andnot_si128(hev, filt); in vpx_lpf_horizontal_16_dual_avx2()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | event.cpp | 205 auto &hev = static_cast<hard_event &>(ev); in profile() local 207 hev._time_submit = timestamp::current(q); in profile() 208 hev._time_start = timestamp::query(q); in profile() 212 hev._time_end = timestamp::query(q); in profile()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | loopfilter.c | 74 int8_t hev = 0; in hev_mask() local 75 hev |= (abs(p1 - p0) > thresh) * -1; in hev_mask() 76 hev |= (abs(q1 - q0) > thresh) * -1; in hev_mask() 77 return hev; in hev_mask() 88 const uint8_t hev = hev_mask(thresh, *op1, *op0, *oq0, *oq1); in filter4() local 91 int8_t filter = signed_char_clamp(ps1 - qs1) & hev; in filter4() 106 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4() 401 int16_t hev = 0; in highbd_hev_mask() local 403 hev |= (abs(p1 - p0) > thresh16) * -1; in highbd_hev_mask() 404 hev |= (abs(q1 - q0) > thresh16) * -1; in highbd_hev_mask() [all …]
|
/external/libvpx/libvpx/vp8/common/x86/ |
D | loopfilter_block_sse2_x86_64.asm | 37 pmaxub %5, scratch2 ; accumulate hev 60 pcmpeqb %5, zero ; ~hev 66 ; %6: hev 68 movdqa scratch2, %6 ; save hev 74 pandn scratch2, scratch1 ; vp8_filter &= hev 119 pand %5, %6 ; vp8_filter &= ~hev
|