/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/ |
D | loopfilter_filters_dspr2.c | 47 uint32_t p1, in vp8_filter_mask_vec_mips() argument 120 [p1] "r" (p1), [p0] "r" (p0), [q1] "r" (q1), [q0] "r" (q0), in vp8_filter_mask_vec_mips() 150 : [p0] "r" (p0), [q0] "r" (q0), [p1] "r" (p1), [r3] "r" (r3), in vp8_filter_mask_vec_mips() 355 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vp8_loop_filter_horizontal_edge_mips() local 360 p1 = 0; in vp8_loop_filter_horizontal_edge_mips() 384 p1 = *((uint32_t *)(s1)); in vp8_loop_filter_horizontal_edge_mips() 392 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) in vp8_loop_filter_horizontal_edge_mips() 400 vp8_filter_mask_vec_mips(limit, flimit, p1, p2, pm1, p0, p3, p4, p5, p6, in vp8_loop_filter_horizontal_edge_mips() 407 vp8_filter_mips(mask, hev, &p1, &p2, &p3, &p4); in vp8_loop_filter_horizontal_edge_mips() 410 *((uint32_t *)s1) = p1; in vp8_loop_filter_horizontal_edge_mips() [all …]
|
D | filter_dspr2.c | 132 unsigned int p1, p2, p3; in vp8_filter_block2d_first_pass_4() local 225 [tn2] "=&r" (tn2), [p1] "=&r" (p1), [p2] "=&r" (p2), in vp8_filter_block2d_first_pass_4() 296 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), in vp8_filter_block2d_first_pass_4() 328 unsigned int p1, p2, p3, p4; in vp8_filter_block2d_first_pass_8_all() local 419 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), in vp8_filter_block2d_first_pass_8_all() 473 [vector2b] "r" (vector2b), [n1] "r" (n1), [p1] "r" (p1), in vp8_filter_block2d_first_pass_8_all() 545 [tn2] "=&r" (tn2), [p1] "=&r" (p1), [p2] "=&r" (p2), in vp8_filter_block2d_first_pass_8_all() 628 unsigned int p1, p2, p3, p4; in vp8_filter_block2d_first_pass16_6tap() local 690 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), in vp8_filter_block2d_first_pass16_6tap() 746 [tp1] "r" (tp1), [n1] "r" (n1), [p1] "r" (p1), in vp8_filter_block2d_first_pass16_6tap() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
D | vp9_loopfilter_filters_dspr2.c | 32 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vp9_lpf_horizontal_4_dspr2() local 73 : [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4) in vp9_lpf_horizontal_4_dspr2() 79 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vp9_lpf_horizontal_4_dspr2() 91 vp9_filter_hev_mask_dspr2(limit_vec, flimit_vec, p1, p2, in vp9_lpf_horizontal_4_dspr2() 98 vp9_filter_dspr2(mask, hev, &p1, &p2, &p3, &p4); in vp9_lpf_horizontal_4_dspr2() 107 : [p1] "r" (p1), [p2] "r" (p2), [p3] "r" (p3), [p4] "r" (p4), in vp9_lpf_horizontal_4_dspr2() 125 uint32_t pm1, p0, p1, p2, p3, p4, p5, p6; in vp9_lpf_vertical_4_dspr2() local 161 p1 = *((uint32_t *)(s2 - 4)); in vp9_lpf_vertical_4_dspr2() 187 [p2] "+r" (p2), [p1] "+r" (p1), [p0] "+r" (p0), [pm1] "+r" (pm1), in vp9_lpf_vertical_4_dspr2() 219 if (!(((p1 - p4) == 0) && ((p2 - p3) == 0))) { in vp9_lpf_vertical_4_dspr2() [all …]
|
D | vp9_loopfilter_masks_dspr2.h | 28 uint32_t p1, uint32_t p0, in vp9_filter_hev_mask_dspr2() argument 94 [p1] "r" (p1), [p0] "r" (p0), [q1] "r" (q1), [q0] "r" (q0), in vp9_filter_hev_mask_dspr2() 124 : [p0] "r" (p0), [q0] "r" (q0), [p1] "r" (p1), [r3] "r" (r3), in vp9_filter_hev_mask_dspr2() 135 uint32_t p1, uint32_t p0, in vp9_filter_hev_mask_flatmask4_dspr2() argument 242 [p1] "r" (p1), [p0] "r" (p0), [q1] "r" (q1), [q0] "r" (q0), in vp9_filter_hev_mask_flatmask4_dspr2() 273 : [p0] "r" (p0), [q0] "r" (q0), [p1] "r" (p1), [r3] "r" (r3), in vp9_filter_hev_mask_flatmask4_dspr2() 283 uint32_t p2, uint32_t p1, in vp9_flatmask5() argument 361 [p1] "r" (p1), [p0] "r" (p0), [q0] "r" (q0), [q1] "r" (q1), in vp9_flatmask5()
|
D | vp9_convolve2_horiz_dspr2.c | 34 uint32_t p1, p2; in convolve_bi_horiz_4_dspr2() local 92 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_bi_horiz_4_dspr2() 116 uint32_t p1, p2, p3, p4; in convolve_bi_horiz_8_dspr2() local 217 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_horiz_8_dspr2() 243 uint32_t p1, p2, p3, p4, p5; in convolve_bi_horiz_16_dspr2() local 420 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_horiz_16_dspr2() 450 uint32_t p1, p2, p3, p4, p5; in convolve_bi_horiz_64_dspr2() local 629 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_horiz_64_dspr2()
|
D | vp9_convolve2_avg_horiz_dspr2.c | 34 uint32_t p1, p2, p3; in convolve_bi_avg_horiz_4_dspr2() local 105 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), in convolve_bi_avg_horiz_4_dspr2() 129 uint32_t p1, p2, p3, p4, n1; in convolve_bi_avg_horiz_8_dspr2() local 254 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_avg_horiz_8_dspr2() 281 uint32_t p1, p2, p3, p4, p5; in convolve_bi_avg_horiz_16_dspr2() local 500 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_avg_horiz_16_dspr2() 530 uint32_t p1, p2, p3, p4, p5; in convolve_bi_avg_horiz_64_dspr2() local 751 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_avg_horiz_64_dspr2()
|
D | vp9_mbloop_loopfilter_dspr2.c | 36 uint32_t p3, p2, p1, p0, q0, q1, q2, q3; in vp9_lpf_horizontal_8_dspr2() local 78 : [p3] "=&r" (p3), [p2] "=&r" (p2), [p1] "=&r" (p1), [p0] "=&r" (p0), in vp9_lpf_horizontal_8_dspr2() 85 p1, p0, p3, p2, q0, q1, q2, q3, in vp9_lpf_horizontal_8_dspr2() 89 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_8_dspr2() 126 : [p2] "r" (p2), [p1] "r" (p1), [p0] "r" (p0), in vp9_lpf_horizontal_8_dspr2() 133 vp9_filter1_dspr2(mask, hev, p1, p0, q0, q1, in vp9_lpf_horizontal_8_dspr2() 231 : [p2] "+r" (p2), [p1] "+r" (p1), [p0] "+r" (p0), in vp9_lpf_horizontal_8_dspr2() 334 uint32_t p3, p2, p1, p0, q3, q2, q1, q0; in vp9_lpf_vertical_8_dspr2() local 373 : [p3] "=&r" (p3), [p2] "=&r" (p2), [p1] "=&r" (p1), [p0] "=&r" (p0), in vp9_lpf_vertical_8_dspr2() 411 [p0] "+r" (p0), [p1] "+r" (p1), [p2] "+r" (p2), [p3] "+r" (p3), in vp9_lpf_vertical_8_dspr2() [all …]
|
D | vp9_convolve2_dspr2.c | 35 uint32_t p1, p2; in convolve_bi_horiz_4_transposed_dspr2() local 100 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_bi_horiz_4_transposed_dspr2() 125 uint32_t p1, p2, p3, p4; in convolve_bi_horiz_8_transposed_dspr2() local 237 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_horiz_8_transposed_dspr2() 264 uint32_t p1, p2, p3, p4, p5; in convolve_bi_horiz_16_transposed_dspr2() local 464 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_horiz_16_transposed_dspr2() 496 uint32_t p1, p2, p3, p4, p5; in convolve_bi_horiz_64_transposed_dspr2() local 697 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_bi_horiz_64_transposed_dspr2()
|
D | vp9_convolve8_avg_horiz_dspr2.c | 35 uint32_t p1, p2, p3, p4; in convolve_avg_horiz_4_dspr2() local 129 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_avg_horiz_4_dspr2() 157 uint32_t p1, p2, p3, p4, n1; in convolve_avg_horiz_8_dspr2() local 317 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_avg_horiz_8_dspr2() 347 uint32_t p1, p2, p3, p4, p5; in convolve_avg_horiz_16_dspr2() local 625 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_avg_horiz_16_dspr2() 658 uint32_t p1, p2, p3, p4, p5; in convolve_avg_horiz_64_dspr2() local 938 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_avg_horiz_64_dspr2()
|
D | vp9_convolve8_horiz_dspr2.c | 35 uint32_t p1, p2, p3, p4; in convolve_horiz_4_dspr2() local 118 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_4_dspr2() 146 uint32_t p1, p2, p3, p4, n1; in convolve_horiz_8_dspr2() local 283 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_8_dspr2() 313 uint32_t p1, p2, p3, p4, p5; in convolve_horiz_16_dspr2() local 549 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_16_dspr2() 583 uint32_t p1, p2, p3, p4, p5; in convolve_horiz_64_dspr2() local 821 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_64_dspr2()
|
D | vp9_convolve2_avg_dspr2.c | 36 uint32_t p1, p2; in convolve_bi_avg_vert_4_dspr2() local 111 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_bi_avg_vert_4_dspr2() 140 uint32_t p1, p2; in convolve_bi_avg_vert_64_dspr2() local 216 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_bi_avg_vert_64_dspr2()
|
D | vp9_convolve2_vert_dspr2.c | 36 uint32_t p1, p2; in convolve_bi_vert_4_dspr2() local 104 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_bi_vert_4_dspr2() 133 uint32_t p1, p2; in convolve_bi_vert_64_dspr2() local 201 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_bi_vert_64_dspr2()
|
D | vp9_convolve8_vert_dspr2.c | 36 uint32_t p1, p2; in convolve_vert_4_dspr2() local 159 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_vert_4_dspr2() 190 uint32_t p1, p2; in convolve_vert_64_dspr2() local 314 [p1] "=&r" (p1), [p2] "=&r" (p2), in convolve_vert_64_dspr2()
|
D | vp9_loopfilter_filters_dspr2.h | 376 const uint32_t p3 = *op3, p2 = *op2, p1 = *op1, p0 = *op0; in vp9_mbfilter_dspr2() local 435 : [p0] "r" (p0), [q0] "r" (q0), [p1] "r" (p1), [q1] "r" (q1), in vp9_mbfilter_dspr2() 449 uint32_t p1, uint32_t p0, in vp9_mbfilter1_dspr2() argument 513 : [p0] "r" (p0), [q0] "r" (q0), [p1] "r" (p1), [q1] "r" (q1), in vp9_mbfilter1_dspr2() 535 const uint32_t p3 = *op3, p2 = *op2, p1 = *op1, p0 = *op0; in vp9_wide_mbfilter_dspr2() local 564 [p3] "r" (p3), [p2] "r" (p2), [p1] "r" (p1), [p0] "r" (p0), in vp9_wide_mbfilter_dspr2() 650 [p3] "r" (p3), [p2] "r" (p2), [p1] "r" (p1), [p0] "r" (p0), in vp9_wide_mbfilter_dspr2() 745 [p1] "r" (p1), [p2] "r" (p2), in vp9_wide_mbfilter_dspr2()
|
D | vp9_convolve8_dspr2.c | 52 uint32_t p1, p2, p3, p4; in convolve_horiz_4_transposed_dspr2() local 140 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_4_transposed_dspr2() 168 uint32_t p1, p2, p3, p4, n1; in convolve_horiz_8_transposed_dspr2() local 315 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_8_transposed_dspr2() 346 uint32_t p1, p2, p3, p4, p5; in convolve_horiz_16_transposed_dspr2() local 601 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_16_transposed_dspr2() 636 uint32_t p1, p2, p3, p4, p5; in convolve_horiz_64_transposed_dspr2() local 892 [p1] "=&r" (p1), [p2] "=&r" (p2), [p3] "=&r" (p3), [p4] "=&r" (p4), in convolve_horiz_64_transposed_dspr2()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_loopfilter_filters.c | 23 uint8_t p1, uint8_t p0, in filter_mask() argument 28 mask |= (abs(p2 - p1) > limit) * -1; in filter_mask() 29 mask |= (abs(p1 - p0) > limit) * -1; in filter_mask() 33 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit) * -1; in filter_mask() 39 uint8_t p1, uint8_t p0, in flat_mask4() argument 43 mask |= (abs(p1 - p0) > thresh) * -1; in flat_mask4() 54 uint8_t p2, uint8_t p1, in flat_mask5() argument 58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3); in flat_mask5() 65 static INLINE int8_t hev_mask(uint8_t thresh, uint8_t p1, uint8_t p0, in hev_mask() argument 68 hev |= (abs(p1 - p0) > thresh) * -1; in hev_mask() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
D | vp9_loopfilter_mmx.asm | 90 movq mm4, [rsi+2*rax] ; p1 91 movq mm3, mm4 ; p1 92 psubusb mm4, mm5 ; p1-=p2 93 psubusb mm5, mm3 ; p2-=p1 94 por mm4, mm5 ; abs(p2 - p1) 98 movq mm2, mm3 ; p1 102 psubusb mm4, mm3 ; p0-=p1 103 psubusb mm3, mm5 ; p1-=p0 104 por mm4, mm3 ; abs(p1 - p0) 111 psubusb mm3, mm2 ; q1-=p1 [all …]
|
D | vp9_loopfilter_intrin_sse2.c | 388 __m128i p4, p3, p2, p1, p0, q0, q1, q2, q3, q4; in mb_lpf_horizontal_edge_w_sse2_16() local 395 p1 = _mm_loadu_si128((__m128i *)(s - 2 * p)); in mb_lpf_horizontal_edge_w_sse2_16() 406 _mm_store_si128((__m128i *)&ap[1 * 16], p1); in mb_lpf_horizontal_edge_w_sse2_16() 416 const __m128i abs_p1p0 = _mm_or_si128(_mm_subs_epu8(p1, p0), in mb_lpf_horizontal_edge_w_sse2_16() 417 _mm_subs_epu8(p0, p1)); in mb_lpf_horizontal_edge_w_sse2_16() 424 __m128i abs_p1q1 = _mm_or_si128(_mm_subs_epu8(p1, q1), in mb_lpf_horizontal_edge_w_sse2_16() 425 _mm_subs_epu8(q1, p1)); in mb_lpf_horizontal_edge_w_sse2_16() 439 work = _mm_max_epu8(_mm_or_si128(_mm_subs_epu8(p2, p1), in mb_lpf_horizontal_edge_w_sse2_16() 440 _mm_subs_epu8(p1, p2)), in mb_lpf_horizontal_edge_w_sse2_16() 463 __m128i ps1 = _mm_xor_si128(p1, t80); in mb_lpf_horizontal_edge_w_sse2_16() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/ |
D | loopfilter_mmx.asm | 90 movq mm4, [rsi+2*rax] ; p1 91 movq mm3, mm4 ; p1 92 psubusb mm4, mm5 ; p1-=p2 93 psubusb mm5, mm3 ; p2-=p1 94 por mm4, mm5 ; abs(p2 - p1) 98 movq mm2, mm3 ; p1 102 psubusb mm4, mm3 ; p0-=p1 103 psubusb mm3, mm5 ; p1-=p0 104 por mm4, mm3 ; abs(p1 - p0) 111 psubusb mm3, mm2 ; q1-=p1 [all …]
|
D | loopfilter_sse2.asm | 80 movdqa xmm6, [rsi+2*rax] ; p1 84 movlps xmm6, [rsi + rcx] ; p1 91 movdqa [rsp+_p1], xmm6 ; store p1 95 movdqa xmm3, xmm6 ; p1 100 psubusb xmm3, xmm5 ; p1-=p2 103 psubusb xmm5, xmm6 ; p2-=p1 106 pmaxub xmm1, xmm5 ; abs(p2 - p1) 107 movdqa xmm2, xmm6 ; p1 109 pmaxub xmm1, xmm3 ; abs(p2 - p1) 120 psubusb xmm4, xmm6 ; p0-=p1 [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
D | viddec_fw_debug.h | 21 #define WRITE_SVEN(event, p1, p2, p3, p4, p5, p6) DEB("Sven evnt=0x%.8X p1=%d p2=%d p3=%d p4=%d p5=… argument 36 #define WRITE_SVEN(event, p1, p2, p3, p4, p5, p6) devh_SVEN_WriteModuleEvent( NULL, event, p1, p2, … argument 44 #define WRITE_SVEN(event, p1, p2, p3, p4, p5, p6) argument 54 static inline void DEBUG_WRITE(uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint32_t p5, uin… in DEBUG_WRITE() argument 58 DUMP_TO_MEM(p1); in DEBUG_WRITE()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
D | intra4x4_predict_v6.asm | 300 add r4, r4, r5, lsl #1 ; [p2+2*p3 | p0+2*p1] 301 add r4, r4, r6 ; [p2+2*p3+p4 | p0+2*p1+p2] 302 uxtab16 r4, r4, r12 ; [p2+2*p3+p4+2 | p0+2*p1+p2+2] 304 add r5, r5, r6, lsl #1 ; [p3+2*p4 | p1+2*p2] 305 add r5, r5, r7 ; [p3+2*p4+p5 | p1+2*p2+p3] 306 uxtab16 r5, r5, r12 ; [p3+2*p4+p5+2 | p1+2*p2+p3+2] 361 add r5, r5, r6, lsl #1 ; [p3+2*p4 | p1+2*p2] 362 add r5, r5, r7 ; [p3+2*p4+p5 | p1+2*p2+p3] 363 uxtab16 r5, r5, r12 ; [p3+2*p4+p5+2 | p1+2*p2+p3+2] 427 uadd16 r4, r6, r7 ; [p2+p3 | p0+p1] [all …]
|
D | simpleloopfilter_v6.asm | 40 pkhtb $b2, $b3, $b1, asr #16 ; 32 22 12 02 -- p1 62 ldr r3, [src, -pstep, lsl #1] ; p1 179 uqsub8 r7, r3, r6 ; p1 - q1 180 uqsub8 r8, r6, r3 ; q1 - p1 183 orr r7, r7, r8 ; abs(p1 - q1) 187 uhadd8 r7, r7, r8 ; abs(p1 - q1) / 2 188 uqadd8 r7, r7, r9 ; abs(p0 - q0)*2 + abs(p1 - q1)/2 198 eor r3, r3, r2 ; p1 offset to convert to a signed value 203 qsub8 r3, r3, r6 ; vp8_filter = p1 - q1 212 qadd8 r3, r3, r6 ; vp8_filter = p1-q1 + 3*(q0-p0))
|
D | loopfilter_v6.asm | 42 pkhtb $b2, $b3, $b1, asr #16 ; 32 22 12 02 -- p1 75 ldr r11, [src], pstep ; p1 92 uqsub8 r8, r10, r11 ; p2 - p1 93 uqsub8 r10, r11, r10 ; p1 - p2 96 orr r8, r8, r10 ; abs (p2-p1) 99 uqsub8 r6, r11, r12 ; p1 - p0 101 uqsub8 r7, r12, r11 ; p0 - p1 104 orr r6, r6, r7 ; abs (p1-p0) 109 uqsub8 r6, r11, r10 ; p1 - q1 110 uqsub8 r7, r10, r11 ; q1 - p1 [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | loopfilter_filters.c | 28 uc p3, uc p2, uc p1, uc p0, in vp8_filter_mask() argument 33 mask |= (abs(p2 - p1) > limit); in vp8_filter_mask() 34 mask |= (abs(p1 - p0) > limit); in vp8_filter_mask() 38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit); in vp8_filter_mask() 43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) in vp8_hevmask() argument 46 hev |= (abs(p1 - p0) > thresh) * -1; in vp8_hevmask() 282 static signed char vp8_simple_filter_mask(uc blimit, uc p1, uc p0, uc q0, uc q1) in vp8_simple_filter_mask() argument 288 signed char mask = (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 <= blimit) * -1; in vp8_simple_filter_mask() 295 signed char p1 = (signed char) * op1 ^ 0x80; in vp8_simple_filter() local 301 filter_value = vp8_signed_char_clamp(p1 - q1); in vp8_simple_filter()
|