/external/webp/src/enc/ |
H A D | filter_enc.c | 99 const int hev_thresh = (level >= 40) ? 2 : (level >= 15) ? 1 : 0; local 100 VP8HFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); 101 VP8HFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); 102 VP8VFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); 103 VP8VFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh);
|
/external/webp/src/dsp/ |
H A D | dec_mips32.c | 94 int thresh, int ithresh, int hev_thresh) { 98 if (hev(p, hstride, hev_thresh)) { 110 int thresh, int ithresh, int hev_thresh) { 114 if (hev(p, hstride, hev_thresh)) { 126 int thresh, int ithresh, int hev_thresh) { 127 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); 131 int thresh, int ithresh, int hev_thresh) { 132 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); 137 int thresh, int ithresh, int hev_thresh) { 138 FilterLoop26(u, stride, 1, 8, thresh, ithresh, hev_thresh); 92 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 108 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 125 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 130 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 136 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 142 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 148 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 154 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 161 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 170 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A D | dec_mips_dsp_r2.c | 162 int thresh, int ithresh, int hev_thresh) { 212 "slt %[temp5], %[hev_thresh], %[temp5] \n\t" 225 " slt %[temp15], %[hev_thresh], %[temp15] \n\t" 292 [ithresh]"r"(ithresh),[vstride]"r"(vstride), [hev_thresh]"r"(hev_thresh), 300 int thresh, int ithresh, int hev_thresh) { 362 "slt %[p3], %[hev_thresh], %[p3] \n\t" 364 " slt %[q3], %[hev_thresh], %[q3] \n\t" 421 [hev_thresh]"r"(hev_thresh), [hstrid 160 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 298 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 428 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 433 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 439 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 445 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 452 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 461 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 470 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 476 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A D | dec.c | 571 int thresh, int ithresh, int hev_thresh) { 575 if (hev(p, hstride, hev_thresh)) { 587 int thresh, int ithresh, int hev_thresh) { 591 if (hev(p, hstride, hev_thresh)) { 603 int thresh, int ithresh, int hev_thresh) { 604 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); 608 int thresh, int ithresh, int hev_thresh) { 609 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); 614 int thresh, int ithresh, int hev_thresh) { 618 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); 569 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 585 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 602 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 607 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 613 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 622 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 632 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 638 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 644 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 650 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A D | dec_neon.c | 665 int hev_thresh) { 666 const uint8x16_t hev_thresh_v = vdupq_n_u8((uint8_t)hev_thresh); 826 int thresh, int ithresh, int hev_thresh) { 832 const uint8x16_t hev_mask = NeedsHev(p1, p0, q0, q1, hev_thresh); 843 int thresh, int ithresh, int hev_thresh) { 849 const uint8x16_t hev_mask = NeedsHev(p1, p0, q0, q1, hev_thresh); 861 int thresh, int ithresh, int hev_thresh) { 872 const uint8x16_t hev_mask = NeedsHev(p1, p0, q0, q1, hev_thresh); 885 int thresh, int ithresh, int hev_thresh) { 896 const uint8x16_t hev_mask = NeedsHev(p1, p0, q0, q1, hev_thresh); 663 NeedsHev(const uint8x16_t p1, const uint8x16_t p0, const uint8x16_t q0, const uint8x16_t q1, int hev_thresh) argument 825 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 842 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 860 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 884 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 907 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 923 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 940 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 955 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A D | dec_sse2.c | 275 int hev_thresh, __m128i* const not_hev) { 280 const __m128i h = _mm_set1_epi8(hev_thresh); 377 const __m128i* const mask, int hev_thresh) { 387 GetNotHEV(p1, p0, q0, q1, hev_thresh, ¬_hev); 423 const __m128i* const mask, int hev_thresh) { 429 GetNotHEV(p1, p0, q0, q1, hev_thresh, ¬_hev); 684 int thresh, int ithresh, int hev_thresh) { 698 DoFilter6(&p2, &p1, &p0, &q0, &q1, &q2, &mask, hev_thresh); 710 int thresh, int ithresh, int hev_thresh) { 722 DoFilter6(&p2, &p1, &p0, &q0, &q1, &q2, &mask, hev_thresh); 271 GetNotHEV(const __m128i* const p1, const __m128i* const p0, const __m128i* const q0, const __m128i* const q1, int hev_thresh, __m128i* const not_hev) argument 375 DoFilter4(__m128i* const p1, __m128i* const p0, __m128i* const q0, __m128i* const q1, const __m128i* const mask, int hev_thresh) argument 420 DoFilter6(__m128i* const p2, __m128i* const p1, __m128i* const p0, __m128i* const q0, __m128i* const q1, __m128i* const q2, const __m128i* const mask, int hev_thresh) argument 683 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 709 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 729 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 762 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 791 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 816 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 836 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 862 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
/external/webp/src/dec/ |
H A D | frame_dec.c | 232 const int hev_thresh = f_info->hev_thresh_; local 234 VP8HFilter16(y_dst, y_bps, limit + 4, ilevel, hev_thresh); 235 VP8HFilter8(u_dst, v_dst, uv_bps, limit + 4, ilevel, hev_thresh); 238 VP8HFilter16i(y_dst, y_bps, limit, ilevel, hev_thresh); 239 VP8HFilter8i(u_dst, v_dst, uv_bps, limit, ilevel, hev_thresh); 242 VP8VFilter16(y_dst, y_bps, limit + 4, ilevel, hev_thresh); 243 VP8VFilter8(u_dst, v_dst, uv_bps, limit + 4, ilevel, hev_thresh); 246 VP8VFilter16i(y_dst, y_bps, limit, ilevel, hev_thresh); 247 VP8VFilter8i(u_dst, v_dst, uv_bps, limit, ilevel, hev_thresh);
|