Searched refs:thresh (Results 1 - 18 of 18) sorted by relevance

/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/
H A Dfilter.c71 static inline int hev(const uint8_t* p, int step, int thresh) { argument
73 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh);
76 static inline int needs_filter(const uint8_t* p, int step, int thresh) { argument
78 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh;
94 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument
97 if (needs_filter(p + i, stride, thresh)) {
103 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument
106 if (needs_filter(p + i * stride, 1, thresh)) {
112 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument
120 SimpleHFilter16i(uint8_t* p, int stride, int thresh) argument
131 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
146 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
155 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
164 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
170 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
[all...]
H A Dquant.c470 const int thresh = mtx->q_[1] * mtx->q_[1] / 4; local
479 if (err > thresh) last = n;
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/
H A Ddsp.c527 static inline int hev(const uint8_t* p, int step, int thresh) { argument
529 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh);
532 static inline int needs_filter(const uint8_t* p, int step, int thresh) { argument
534 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh;
550 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument
553 if (needs_filter(p + i, stride, thresh)) {
559 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument
562 if (needs_filter(p + i * stride, 1, thresh)) {
568 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument
576 SimpleHFilter16i(uint8_t* p, int stride, int thresh) argument
587 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
601 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
616 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
621 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
627 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
636 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
646 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
652 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
658 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
664 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
[all...]
H A Dvp8i.h288 typedef void (*VP8SimpleFilterFunc)(uint8_t* p, int stride, int thresh);
296 int thresh, int ithresh, int hev_t);
298 int thresh, int ithresh, int hev_t);
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-dvmrp.c264 register u_char thresh; local
272 thresh = *bp++;
279 ipaddr_string(bp), metric, thresh);
294 register u_char metric, thresh, flags; local
306 thresh = *bp++;
313 metric, thresh);
/haiku-fatelf/headers/private/libroot/
H A Dtrig.h44 vc(thresh, 2.6117239648121182150E-1 ,b863,3f85,6ea0,6b02, -1, .85B8636B026EA0)
51 ic(thresh, 2.6117239648121182150E-1 , -2, 1.0B70C6D604DD4)
59 #define thresh vccast(thresh) macro
/haiku-fatelf/src/bin/diffutils/src/
H A Dcontext.c394 lin thresh;
410 thresh = (prev->ignore || (start && start->ignore)
420 && start->line0 - top0 < thresh);
388 lin thresh; local
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Dtcd.c944 void tcd_makelayer(opj_tcd_t *tcd, int layno, double thresh, int final) { argument
984 if (dd / dr >= thresh)
1087 tile_info->thresh = (double *) opj_malloc(tcd_tcp->numlayers * sizeof(double));
1109 double thresh = 0; local
1114 thresh = (lo + hi) / 2;
1116 tcd_makelayer(tcd, layno, thresh, 0);
1122 lo = thresh;
1128 hi=thresh;
1129 stable_thresh = thresh;
1132 lo=thresh;
[all...]
H A Dtcd.h253 void tcd_makelayer(opj_tcd_t *tcd, int layno, double thresh, int final);
H A Dopenjpeg.c334 opj_free(tile_info->thresh);
H A Dopenjpeg.h633 /** value of thresh for each layer by tile cfr. Marcela */
634 double *thresh; member in struct:opj_tile_info
H A Dt1.c1542 int thresh = 1 << tccp->roishift; local
1547 if (mag >= thresh) {
/haiku-fatelf/src/bin/coreutils/src/
H A Dshred.c368 time_t thresh IF_LINT (= 0); /* Time to maybe print next status update */
415 thresh = time (NULL) + VERBOSE_UPDATE;
502 || thresh <= (now = time (NULL))))
539 thresh = now + VERBOSE_UPDATE;
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.h528 int mwl_hal_setaggampduratemode(struct mwl_hal *, int mode, int thresh);
529 int mwl_hal_getaggampduratemode(struct mwl_hal *, int *mode, int *thresh);
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djpc_enc.c1682 jpc_flt_t thresh; local
1784 thresh = (lo + hi) / 2;
1815 if (pass->rdslope >= thresh) {
1854 lo = thresh;
1857 hi = thresh;
1858 if (!success || thresh < goodthresh) {
1859 goodthresh = thresh;
1871 fprintf(stderr, "maxlen=%08ld actuallen=%08ld thresh=%f\n", cumlen, pos, thresh);
H A Djpc_dec.c1828 int thresh; local
1837 thresh = 1 << roishift;
1844 if (mag >= thresh) {
/haiku-fatelf/src/add-ons/kernel/drivers/network/via_rhine/dev/vr/
H A Dif_vr.c1656 int thresh; local
1660 thresh = sc->vr_txthresh;
1667 vr_tx_threshold_tables[thresh].value,
1668 vr_tx_threshold_tables[thresh + 1].value);
/haiku-fatelf/src/kits/tracker/
H A DPoseView.cpp8714 float thresh = color.red + (color.green * 1.5f) + (color.blue * 0.50f); local
8716 if (thresh >= 300) {
8734 int32 thresh = 0; local
8738 thresh++;
8740 thresh++;
8742 thresh++;
8744 if (thresh > 1) {

Completed in 199 milliseconds