/external/libvpx/libvpx/vp8/common/ |
D | loopfilter_filters.c | 45 signed char hev = 0; in vp8_hevmask() local 46 hev |= (abs(p1 - p0) > thresh) * -1; in vp8_hevmask() 47 hev |= (abs(q1 - q0) > thresh) * -1; in vp8_hevmask() 48 return hev; in vp8_hevmask() 51 static void vp8_filter(signed char mask, uc hev, uc *op1, in vp8_filter() argument 67 filter_value &= hev; in vp8_filter() 90 filter_value &= ~hev; in vp8_filter() 108 int hev = 0; /* high edge variance */ in vp8_loop_filter_horizontal_edge_c() local 121 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]); in vp8_loop_filter_horizontal_edge_c() 123 vp8_filter(mask, hev, s - 2 * p, s - 1 * p, s, s + 1 * p); in vp8_loop_filter_horizontal_edge_c() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | transfer.cpp | 148 hard_event *hev = new hard_event( in clEnqueueReadBuffer() local 155 ret_object(ev, hev); in clEnqueueReadBuffer() 173 hard_event *hev = new hard_event( in clEnqueueWriteBuffer() local 180 ret_object(ev, hev); in clEnqueueWriteBuffer() 202 hard_event *hev = new hard_event( in clEnqueueReadBufferRect() local 211 ret_object(ev, hev); in clEnqueueReadBufferRect() 233 hard_event *hev = new hard_event( in clEnqueueWriteBufferRect() local 242 ret_object(ev, hev); in clEnqueueWriteBufferRect() 258 hard_event *hev = new hard_event( in clEnqueueCopyBuffer() local 264 ret_object(ev, hev); in clEnqueueCopyBuffer() [all …]
|
D | event.cpp | 208 ref_ptr<hard_event> hev = transfer( in clEnqueueWaitForEvents() local 230 ref_ptr<hard_event> hev = transfer(new hard_event(*q, 0, { })); in clFinish() local 233 hev->wait(); in clFinish()
|
D | kernel.cpp | 285 hard_event *hev = new hard_event( in clEnqueueNDRangeKernel() local 289 ret_object(ev, hev); in clEnqueueNDRangeKernel() 307 hard_event *hev = new hard_event( in clEnqueueTask() local 311 ret_object(ev, hev); in clEnqueueTask()
|
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
D | vp8_loopfilter_filters_dspr2.c | 56 uint32_t *hev, in vp8_filter_mask_vec_mips() argument 154 *hev = hev1; in vp8_filter_mask_vec_mips() 163 uint32_t hev, in vp8_filter_mips() argument 212 hev_l = hev & HWM; in vp8_filter_mips() 213 hev_r = hev << 8; in vp8_filter_mips() 354 uint32_t hev; in vp8_loop_filter_horizontal_edge_mips() local 359 hev = 0; in vp8_loop_filter_horizontal_edge_mips() 401 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() 407 vp8_filter_mips(mask, hev, &p1, &p2, &p3, &p4); in vp8_loop_filter_horizontal_edge_mips() 446 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 32 hev, mask, flat); in vpx_lpf_horizontal_4_msa() 33 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_horizontal_4_msa() 49 v16u8 mask, hev, flat, thresh0, b_limit0, limit0, thresh1, b_limit1, limit1; in vpx_lpf_horizontal_4_dual_msa() local 68 hev, mask, flat); in vpx_lpf_horizontal_4_dual_msa() 69 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1); in vpx_lpf_horizontal_4_dual_msa() 79 v16u8 mask, hev, flat, limit, thresh, b_limit; in vpx_lpf_vertical_4_msa() local 94 hev, mask, flat); in vpx_lpf_vertical_4_msa() 95 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1); in vpx_lpf_vertical_4_msa() 112 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 36 hev, mask, flat); in vpx_lpf_horizontal_8_msa() 38 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_horizontal_8_msa() 95 v16u8 flat, mask, hev, tmp, thresh, b_limit, limit; in vpx_lpf_horizontal_8_dual_msa() local 119 hev, mask, flat); in vpx_lpf_horizontal_8_dual_msa() 121 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() 168 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_lpf_vertical_8_msa() local 188 hev, mask, flat); in vpx_lpf_vertical_8_msa() 192 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_lpf_vertical_8_msa() 250 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_lpf_vertical_8_dual_msa() local [all …]
|
D | loopfilter_filters_dspr2.c | 30 uint32_t hev; in vpx_lpf_horizontal_4_dspr2() local 92 thresh_vec, &hev, &mask); in vpx_lpf_horizontal_4_dspr2() 97 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vpx_lpf_horizontal_4_dspr2() 123 uint32_t mask, hev; in vpx_lpf_vertical_4_dspr2() local 221 &hev, &mask); in vpx_lpf_vertical_4_dspr2() 226 filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vpx_lpf_vertical_4_dspr2()
|
D | loopfilter_masks_dspr2.h | 32 uint32_t thresh, uint32_t *hev, in filter_hev_mask_dspr2() argument 128 *hev = hev1; in filter_hev_mask_dspr2() 139 uint32_t *hev, in filter_hev_mask_flatmask4_dspr2() argument 277 *hev = hev1; in filter_hev_mask_flatmask4_dspr2()
|
D | loopfilter_mb_dspr2.c | 29 uint32_t hev, flat; in vpx_lpf_horizontal_8_dspr2() local 85 &hev, &mask, &flat); in vpx_lpf_horizontal_8_dspr2() 88 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_horizontal_8_dspr2() 132 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_horizontal_8_dspr2() 328 uint32_t mask, hev, flat; in vpx_lpf_vertical_8_dspr2() local 455 &hev, &mask, &flat); in vpx_lpf_vertical_8_dspr2() 458 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_vertical_8_dspr2() 474 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_vertical_8_dspr2()
|
D | loopfilter_filters_dspr2.h | 27 static INLINE void filter_dspr2(uint32_t mask, uint32_t hev, in filter_dspr2() argument 71 hev_l = hev & HWM; in filter_dspr2() 72 hev_r = hev << 8; in filter_dspr2() 199 static INLINE void filter1_dspr2(uint32_t mask, uint32_t hev, in filter1_dspr2() argument 245 hev_l = hev & HWM; in filter1_dspr2() 246 hev_r = hev << 8; in filter1_dspr2()
|
D | loopfilter_mb_vert_dspr2.c | 28 uint32_t mask, hev, flat, flat2; in vpx_lpf_vertical_16_dspr2() local 252 &hev, &mask, &flat); in vpx_lpf_vertical_16_dspr2() 259 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_vertical_16_dspr2() 293 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_vertical_16_dspr2() 468 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_vertical_16_dspr2()
|
D | loopfilter_mb_horiz_dspr2.c | 29 uint32_t hev, flat, flat2; in vpx_lpf_horizontal_16_dspr2() local 114 &hev, &mask, &flat); in vpx_lpf_horizontal_16_dspr2() 121 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_horizontal_16_dspr2() 217 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_horizontal_16_dspr2() 401 filter1_dspr2(mask, hev, p1, p0, q0, q1, in vpx_lpf_horizontal_16_dspr2()
|
D | loopfilter_16_msa.c | 21 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_hz_lpf_t4_and_t8_16w() local 37 hev, mask, flat); in vpx_hz_lpf_t4_and_t8_16w() 39 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_hz_lpf_t4_and_t8_16w() 434 v16u8 flat2, mask, hev, flat, thresh, b_limit, limit; in vpx_lpf_horizontal_16_msa() local 453 hev, mask, flat); in vpx_lpf_horizontal_16_msa() 455 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, in vpx_lpf_horizontal_16_msa() 754 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_vt_lpf_t4_and_t8_8w() local 769 hev, mask, flat); in vpx_vt_lpf_t4_and_t8_8w() 773 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out); in vpx_vt_lpf_t4_and_t8_8w() 1066 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_vt_lpf_t4_and_t8_16w() local [all …]
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
D | loopfilter_filters_msa.c | 132 #define VP8_MBFILTER(p2, p1, p0, q0, q1, q2, mask, hev) \ argument 168 filt2 = filt & (v16i8)hev; \ 170 hev = __msa_xori_b(hev, 0xff); \ 171 filt = filt & (v16i8)hev; \ 282 v16u8 mask, hev, flat; in loop_filter_horizontal_4_dual_msa() local 300 hev, mask, flat); in loop_filter_horizontal_4_dual_msa() 301 VP8_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev); in loop_filter_horizontal_4_dual_msa() 314 v16u8 mask, hev, flat; in loop_filter_vertical_4_dual_msa() local 341 hev, mask, flat); in loop_filter_vertical_4_dual_msa() 342 VP8_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev); in loop_filter_vertical_4_dual_msa() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_sse2.c | 31 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_sse2_8() local 62 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_sse2_8() 63 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_sse2_8() 98 filt = _mm_and_si128(_mm_subs_epi8(qs1ps1, qs1), hev); in mb_lpf_horizontal_edge_w_sse2_8() 121 filt = _mm_andnot_si128(_mm_srai_epi16(_mm_unpacklo_epi8(zero, hev), 0x8), in mb_lpf_horizontal_edge_w_sse2_8() 396 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_sse2_16() local 490 hev = _mm_subs_epu8(max_abs_p1p0q1q0, thresh); in mb_lpf_horizontal_edge_w_sse2_16() 491 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_sse2_16() 492 filt = _mm_and_si128(_mm_subs_epi8(op1, oq1), hev); in mb_lpf_horizontal_edge_w_sse2_16() 526 filt = _mm_andnot_si128(hev, filt); in mb_lpf_horizontal_edge_w_sse2_16() [all …]
|
D | highbd_loopfilter_sse2.c | 64 __m128i mask, hev, flat, flat2, abs_p1p0, abs_q1q0; in highbd_mb_lpf_horizontal_edge_w_sse2_8() local 120 hev = _mm_subs_epu16(flat, thresh); in highbd_mb_lpf_horizontal_edge_w_sse2_8() 121 hev = _mm_xor_si128(_mm_cmpeq_epi16(hev, zero), ffff); in highbd_mb_lpf_horizontal_edge_w_sse2_8() 166 signed_char_clamp_bd_sse2(_mm_subs_epi16(ps1, qs1), bd), hev); in highbd_mb_lpf_horizontal_edge_w_sse2_8() 187 filt = _mm_andnot_si128(hev, filt); in highbd_mb_lpf_horizontal_edge_w_sse2_8() 535 __m128i mask, hev, flat; in vpx_highbd_lpf_horizontal_8_sse2() local 600 hev = _mm_subs_epu16(flat, thresh); in vpx_highbd_lpf_horizontal_8_sse2() 601 hev = _mm_xor_si128(_mm_cmpeq_epi16(hev, zero), ffff); in vpx_highbd_lpf_horizontal_8_sse2() 685 filt = _mm_and_si128(filt, hev); in vpx_highbd_lpf_horizontal_8_sse2() 709 filt = _mm_andnot_si128(hev, filt); in vpx_highbd_lpf_horizontal_8_sse2() [all …]
|
D | loopfilter_avx2.c | 19 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_avx2_8() local 62 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_avx2_8() 63 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_avx2_8() 101 filt = _mm_and_si128(_mm_subs_epi8(qs1ps1, qs1), hev); in mb_lpf_horizontal_edge_w_avx2_8() 125 _mm_srai_epi16(_mm_unpacklo_epi8(zero, hev), 0x8), filt); in mb_lpf_horizontal_edge_w_avx2_8() 406 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_avx2_16() local 468 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_avx2_16() 469 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_avx2_16() 513 filt = _mm_and_si128(_mm_subs_epi8(ps1, qs1), hev); in mb_lpf_horizontal_edge_w_avx2_16() 547 filt = _mm_andnot_si128(hev, filt); in mb_lpf_horizontal_edge_w_avx2_16()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | loopfilter.c | 82 int8_t hev = 0; in hev_mask() local 83 hev |= (abs(p1 - p0) > thresh) * -1; in hev_mask() 84 hev |= (abs(q1 - q0) > thresh) * -1; in hev_mask() 85 return hev; in hev_mask() 96 const uint8_t hev = hev_mask(thresh, *op1, *op0, *oq0, *oq1); in filter4() local 99 int8_t filter = signed_char_clamp(ps1 - qs1) & hev; in filter4() 114 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4() 409 int16_t hev = 0; in highbd_hev_mask() local 411 hev |= (abs(p1 - p0) > thresh16) * -1; in highbd_hev_mask() 412 hev |= (abs(q1 - q0) > thresh16) * -1; in highbd_hev_mask() [all …]
|
/external/webp/src/dsp/ |
D | dec_mips32.c | 66 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() function 94 if (hev(p, hstride, hev_thresh)) { in FilterLoop26() 109 if (hev(p, hstride, hev_thresh)) { in FilterLoop24()
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | loopfilter_16_neon.asm | 153 vorr q14, q13, q14 ; hev 158 vand q1, q1, q14 ; filter &= hev 187 vbic q1, q1, q14 ; filter &= ~hev
|
D | loopfilter_8_neon.asm | 254 vorr d23, d21, d23 ; hev 286 vand d29, d29, d23 ; filter &= hev 307 vbic d29, d29, d23 ; filter &= ~hev
|
/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
|
D | loopfilter_sse2.asm | 139 mov rdx, arg(4) ; hev get thresh 153 movdqa xmm4, [rsp+_t0] ; hev get abs (q1 - q0) 158 movdqa xmm2, [rdx] ; hev 161 psubusb xmm4, xmm2 ; hev 163 psubusb xmm3, xmm2 ; hev 167 …paddb xmm4, xmm3 ; hev abs(q1 - q0) > thresh || abs(p1 - p0) … 169 pcmpeqb xmm4, xmm5 ; hev 170 pcmpeqb xmm3, xmm3 ; hev 173 pxor xmm4, xmm3 ; hev 413 pand xmm2, xmm4 ; Filter2 = vp8_filter & hev [all …]
|
D | vp8_loopfilter_mmx.asm | 745 ; mm6 = p0, mm4=hev 1164 ; mm1 = vp8_filter, mm4=hev, mm6=ps0, mm3=qs0 1166 pand mm2, mm4; ; Filter2 = vp8_filter & hev 1192 ; mm0= filter2 mm1 = vp8_filter, mm3 =qs0 mm5=s mm4 =hev mm6=ps0 1196 ; mm1=vp8_filter, mm3=qs0, mm4 =hev mm6=ps0 1197 ; vp8_filter &= ~hev; 1199 pandn mm4, mm1 ; vp8_filter&=~hev
|