/hardware/intel/common/omx-components/videocodec/libvpx_internal/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 …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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 …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
D | vp9_loopfilter_masks_dspr2.h | 32 uint32_t thresh, uint32_t *hev, in vp9_filter_hev_mask_dspr2() argument 128 *hev = hev1; in vp9_filter_hev_mask_dspr2() 139 uint32_t *hev, in vp9_filter_hev_mask_flatmask4_dspr2() argument 277 *hev = hev1; in vp9_filter_hev_mask_flatmask4_dspr2()
|
D | vp9_loopfilter_filters_dspr2.c | 31 uint32_t hev; in vp9_lpf_horizontal_4_dspr2() local 93 thresh_vec, &hev, &mask); in vp9_lpf_horizontal_4_dspr2() 98 vp9_filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vp9_lpf_horizontal_4_dspr2() 124 uint32_t mask, hev; in vp9_lpf_vertical_4_dspr2() local 222 &hev, &mask); in vp9_lpf_vertical_4_dspr2() 227 vp9_filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vp9_lpf_vertical_4_dspr2()
|
D | vp9_mbloop_loopfilter_dspr2.c | 30 uint32_t hev, flat; in vp9_lpf_horizontal_8_dspr2() local 86 &hev, &mask, &flat); in vp9_lpf_horizontal_8_dspr2() 89 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_8_dspr2() 133 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_8_dspr2() 329 uint32_t mask, hev, flat; in vp9_lpf_vertical_8_dspr2() local 456 &hev, &mask, &flat); in vp9_lpf_vertical_8_dspr2() 459 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_vertical_8_dspr2() 475 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_vertical_8_dspr2()
|
D | vp9_loopfilter_filters_dspr2.h | 26 static INLINE void vp9_filter_dspr2(uint32_t mask, uint32_t hev, in vp9_filter_dspr2() argument 70 hev_l = hev & HWM; in vp9_filter_dspr2() 71 hev_r = hev << 8; in vp9_filter_dspr2() 198 static INLINE void vp9_filter1_dspr2(uint32_t mask, uint32_t hev, in vp9_filter1_dspr2() argument 244 hev_l = hev & HWM; in vp9_filter1_dspr2() 245 hev_r = hev << 8; in vp9_filter1_dspr2()
|
D | vp9_mblpf_vert_loopfilter_dspr2.c | 29 uint32_t mask, hev, flat, flat2; in vp9_lpf_vertical_16_dspr2() local 253 &hev, &mask, &flat); in vp9_lpf_vertical_16_dspr2() 260 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_vertical_16_dspr2() 294 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_vertical_16_dspr2() 469 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_vertical_16_dspr2()
|
D | vp9_mblpf_horiz_loopfilter_dspr2.c | 30 uint32_t hev, flat, flat2; in vp9_lpf_horizontal_16_dspr2() local 115 &hev, &mask, &flat); in vp9_lpf_horizontal_16_dspr2() 122 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_16_dspr2() 218 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_16_dspr2() 402 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_16_dspr2()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
D | vp9_loopfilter_intrin_sse2.c | 25 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_sse2_8() local 59 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_sse2_8() 60 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_sse2_8() 97 filt = _mm_and_si128(_mm_subs_epi8(qs1ps1, qs1), hev); in mb_lpf_horizontal_edge_w_sse2_8() 120 filt = _mm_andnot_si128(_mm_srai_epi16(_mm_unpacklo_epi8(zero, hev), 0x8), in mb_lpf_horizontal_edge_w_sse2_8() 386 __m128i mask, hev, flat, flat2; in mb_lpf_horizontal_edge_w_sse2_16() local 428 hev = _mm_subs_epu8(flat, thresh); in mb_lpf_horizontal_edge_w_sse2_16() 429 hev = _mm_xor_si128(_mm_cmpeq_epi8(hev, zero), ff); in mb_lpf_horizontal_edge_w_sse2_16() 471 filt = _mm_and_si128(_mm_subs_epi8(ps1, qs1), hev); in mb_lpf_horizontal_edge_w_sse2_16() 505 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()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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() 81 const uint8_t hev = hev_mask(thresh, *op1, *op0, *oq0, *oq1); in filter4() local 84 int8_t filter = signed_char_clamp(ps1 - qs1) & hev; in filter4() 99 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/ |
D | vp9_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 | 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
|
D | vp9_mb_lpf_neon.asm | 360 vorr d21, d21, d22 ; hev 409 vand d29, d29, d21 ; filter &= hev 429 vbic d29, d29, d21 ; filter &= ~hev
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ppc/ |
D | loopfilter_filters_altivec.asm | 375 ;# First hev 441 vand v13, v13, v10 ;# f &= hev 483 vand v15, v13, v10 ;# f2 = f & hev 499 vandc v13, v13, v10 ;# f &= ~hev 578 vandc v13, v13, v10 ;# f &= ~hev 752 vandc v13, v13, v10 ;# adjust P1,Q1 by (M+1)>>1 if ! hev
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | loopfilter_neon.asm | 358 vand q1, q1, q14 ; vp8_filter &= hev 382 vbic q1, q1, q14 ; vp8_filter &= ~hev
|
D | mbloopfilter_neon.asm | 404 vand q13, q1, q14 ; Filter2 &= hev 421 vbic q1, q1, q14 ; vp8_filter &= ~hev
|