/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/chromium_org/third_party/mesa/src/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/vp9/common/ |
D | vp9_loopfilter_filters.c | 67 int8_t hev = 0; in hev_mask() local 68 hev |= (abs(p1 - p0) > thresh) * -1; in hev_mask() 69 hev |= (abs(q1 - q0) > thresh) * -1; in hev_mask() 70 return hev; in hev_mask() 73 static INLINE void filter4(int8_t mask, uint8_t hev, uint8_t *op1, in filter4() argument 83 int8_t filter = signed_char_clamp(ps1 - qs1) & hev; in filter4() 98 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4() 118 const int8_t hev = hev_mask(*thresh, p1, p0, q0, q1); in vp9_loop_filter_horizontal_edge_c() local 119 filter4(mask, hev, s - 2 * p, s - 1 * p, s, s + 1 * p); in vp9_loop_filter_horizontal_edge_c() 138 const int8_t hev = hev_mask(*thresh, p1, p0, q0, q1); in vp9_loop_filter_vertical_edge_c() local [all …]
|
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
D | 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/vp9/common/mips/dspr2/ |
D | vp9_loopfilter_filters_dspr2.c | 31 uint32_t hev; in vp9_loop_filter_horizontal_edge_dspr2() local 93 thresh_vec, &hev, &mask); in vp9_loop_filter_horizontal_edge_dspr2() 98 vp9_filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vp9_loop_filter_horizontal_edge_dspr2() 124 uint32_t mask, hev; in vp9_loop_filter_vertical_edge_dspr2() local 222 &hev, &mask); in vp9_loop_filter_vertical_edge_dspr2() 227 vp9_filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vp9_loop_filter_vertical_edge_dspr2()
|
D | vp9_loopfilter_masks_dspr2.h | 28 uint32_t thresh, uint32_t *hev, in vp9_filter_hev_mask_dspr2() argument 124 *hev = hev1; in vp9_filter_hev_mask_dspr2() 135 uint32_t *hev, in vp9_filter_hev_mask_flatmask4_dspr2() argument 273 *hev = hev1; in vp9_filter_hev_mask_flatmask4_dspr2()
|
D | vp9_mbloop_loopfilter_dspr2.c | 30 uint32_t hev, flat; in vp9_mbloop_filter_horizontal_edge_dspr2() local 86 &hev, &mask, &flat); in vp9_mbloop_filter_horizontal_edge_dspr2() 89 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mbloop_filter_horizontal_edge_dspr2() 133 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mbloop_filter_horizontal_edge_dspr2() 329 uint32_t mask, hev, flat; in vp9_mbloop_filter_vertical_edge_dspr2() local 456 &hev, &mask, &flat); in vp9_mbloop_filter_vertical_edge_dspr2() 459 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mbloop_filter_vertical_edge_dspr2() 475 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mbloop_filter_vertical_edge_dspr2()
|
D | vp9_loopfilter_filters_dspr2.h | 22 static INLINE void vp9_filter_dspr2(uint32_t mask, uint32_t hev, in vp9_filter_dspr2() argument 66 hev_l = hev & HWM; in vp9_filter_dspr2() 67 hev_r = hev << 8; in vp9_filter_dspr2() 194 static INLINE void vp9_filter1_dspr2(uint32_t mask, uint32_t hev, in vp9_filter1_dspr2() argument 240 hev_l = hev & HWM; in vp9_filter1_dspr2() 241 hev_r = hev << 8; in vp9_filter1_dspr2()
|
D | vp9_mblpf_vert_loopfilter_dspr2.c | 29 uint32_t mask, hev, flat, flat2; in vp9_mb_lpf_vertical_edge_w_dspr2() local 253 &hev, &mask, &flat); in vp9_mb_lpf_vertical_edge_w_dspr2() 260 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mb_lpf_vertical_edge_w_dspr2() 294 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mb_lpf_vertical_edge_w_dspr2() 469 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mb_lpf_vertical_edge_w_dspr2()
|
D | vp9_mblpf_horiz_loopfilter_dspr2.c | 30 uint32_t hev, flat, flat2; in vp9_mb_lpf_horizontal_edge_w_dspr2() local 115 &hev, &mask, &flat); in vp9_mb_lpf_horizontal_edge_w_dspr2() 122 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mb_lpf_horizontal_edge_w_dspr2() 218 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mb_lpf_horizontal_edge_w_dspr2() 402 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_mb_lpf_horizontal_edge_w_dspr2()
|
/external/libvpx/libvpx/vp9/common/x86/ |
D | vp9_loopfilter_intrin_sse2.c | 20 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_sse2_8() local 65 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_sse2_8() 66 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_sse2_8() 103 filt = _mm_and_si128(_mm_subs_epi8(qs1ps1, qs1), hev); in mb_lpf_horizontal_edge_w_sse2_8() 126 filt = _mm_andnot_si128(_mm_srai_epi16(_mm_unpacklo_epi8(zero, hev), 0x8), in mb_lpf_horizontal_edge_w_sse2_8() 388 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_sse2_16() local 441 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_sse2_16() 442 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_sse2_16() 484 filt = _mm_and_si128(_mm_subs_epi8(ps1, qs1), hev); in mb_lpf_horizontal_edge_w_sse2_16() 518 filt = _mm_andnot_si128(hev, filt); in mb_lpf_horizontal_edge_w_sse2_16() [all …]
|
D | vp9_loopfilter_intrin_avx2.c | 16 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_avx2_8() local 59 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_avx2_8() 60 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_avx2_8() 98 filt = _mm_and_si128(_mm_subs_epi8(qs1ps1, qs1), hev); in mb_lpf_horizontal_edge_w_avx2_8() 122 _mm_srai_epi16(_mm_unpacklo_epi8(zero, hev), 0x8), filt); in mb_lpf_horizontal_edge_w_avx2_8() 398 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_avx2_16() local 436 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_avx2_16() 437 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_avx2_16() 481 filt = _mm_and_si128(_mm_subs_epi8(ps1, qs1), hev); in mb_lpf_horizontal_edge_w_avx2_16() 515 filt = _mm_andnot_si128(hev, filt); in mb_lpf_horizontal_edge_w_avx2_16()
|
/external/libvpx/libvpx/vp8/common/x86/ |
D | loopfilter_block_sse2.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 | 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
|
/external/libvpx/libvpx/vp9/common/arm/neon/ |
D | vp9_loopfilter_neon.asm | 242 vand d27, d27, d22 ; filter &= hev 267 vbic d27, d27, d22 ; filter &= ~hev 511 vorr d23, d21, d23 ; hev 543 vand d29, d29, d23 ; filter &= hev 564 vbic d29, d29, d23 ; filter &= ~hev
|
/external/libvpx/libvpx/vp8/common/arm/armv6/ |
D | loopfilter_v6.asm | 185 and r7, r7, r6 ; vp8_filter (r7) &= hev 234 bic r7, r7, r6 ; vp8_filter &= ~hev 374 sel r6, r12, r11 ; hev mask: r6 1039 and r12, r12, r6 ; Filter2 &= hev 1080 bic r12, r7, r6 ;vp8_filter &= ~hev ( r6 is free)
|
/external/webp/src/enc/ |
D | filter.c | 76 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() function 142 if (hev(p, hstride, hev_thresh)) { in FilterLoop24()
|
/external/chromium_org/third_party/libwebp/enc/ |
D | filter.c | 76 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() function 142 if (hev(p, hstride, hev_thresh)) { in FilterLoop24()
|
/external/chromium_org/third_party/libwebp/dsp/ |
D | dec.c | 533 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() function 599 if (hev(p, hstride, hev_thresh)) { in FilterLoop26() 614 if (hev(p, hstride, hev_thresh)) { in FilterLoop24()
|