Home
last modified time | relevance | path

Searched refs:pred (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
108 #define GTEST_PRED1(pred, v1, on_failure)\ argument
109 GTEST_ASSERT(::testing::AssertPred1Helper(#pred, \
111 pred, \
117 #define EXPECT_PRED1(pred, v1) \ argument
118 GTEST_PRED1(pred, v1, GTEST_NONFATAL_FAILURE)
121 #define ASSERT_PRED1(pred, v1) \ argument
122 GTEST_PRED1(pred, v1, GTEST_FATAL_FAILURE)
134 Pred pred, in AssertPred2Helper() argument
[all …]
/external/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
108 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
109 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
111 pred, \
117 #define EXPECT_PRED1(pred, v1) \ argument
118 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
121 #define ASSERT_PRED1(pred, v1) \ argument
122 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
134 Pred pred, in AssertPred2Helper() argument
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest_pred_impl.h89 Pred pred, in AssertPred1Helper() argument
91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper()
108 #define GTEST_PRED1_(pred, v1, on_failure)\ argument
109 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
111 pred, \
117 #define EXPECT_PRED1(pred, v1) \ argument
118 GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
121 #define ASSERT_PRED1(pred, v1) \ argument
122 GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_)
134 Pred pred, in AssertPred2Helper() argument
[all …]
/external/jpeg/
Djdcoefct.c732 int Al, pred; in decompress_smooth_data() local
831 pred = (int) (((Q01<<7) + num) / (Q01<<8)); in decompress_smooth_data()
832 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
833 pred = (1<<Al)-1; in decompress_smooth_data()
835 pred = (int) (((Q01<<7) - num) / (Q01<<8)); in decompress_smooth_data()
836 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
837 pred = (1<<Al)-1; in decompress_smooth_data()
838 pred = -pred; in decompress_smooth_data()
840 workspace[1] = (JCOEF) pred; in decompress_smooth_data()
846 pred = (int) (((Q10<<7) + num) / (Q10<<8)); in decompress_smooth_data()
[all …]
/external/libvpx/vp8/encoder/ppc/
Dencodemb_altivec.asm18 ;# r6 unsigned char *pred
39 lvx v2, 0, r6 ;# pred
47 vmrghb v4, v0, v2 ;# unpack high pred to short
61 vmrglb v4, v0, v2 ;# unpack high pred to short
76 lvx v2, 0, r6 ;# pred
84 vmrghb v4, v0, v2 ;# unpack high pred to short
98 vmrglb v4, v0, v2 ;# unpack high pred to short
114 ;# r5 unsigned char *pred
128 lvx v2, 0, r5 ;# pred
134 vmrghb v4, v0, v2 ;# unpack high pred to short
[all …]
Dcsystemdependent.c47 void (*vp8_subtract_mby)(short *diff, unsigned char *src, unsigned char *pred, int stride);
48 …ract_mbuv)(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred, int stride);
67 extern void subtract_mby_c(short *diff, unsigned char *src, unsigned char *pred, int stride);
68 …act_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred, int stride);
102 extern void vp8_subtract_mby_ppc(short *diff, unsigned char *src, unsigned char *pred, int stride);
103 …t_mbuv_ppc(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred, int stride);
/external/libvpx/vp8/decoder/
Ddequantize.c35 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *pred, in vp8_dequant_idct_add_c() argument
57 int a = diff_ptr[c] + pred[c]; in vp8_dequant_idct_add_c()
70 pred += pitch; in vp8_dequant_idct_add_c()
74 void vp8_dequant_dc_idct_add_c(short *input, short *dq, unsigned char *pred, in vp8_dequant_dc_idct_add_c() argument
99 int a = diff_ptr[c] + pred[c]; in vp8_dequant_dc_idct_add_c()
112 pred += pitch; in vp8_dequant_dc_idct_add_c()
Dreconintra_mt.c124 int pred = yleft_col[r] + yabove_row[ c] - ytop_left; in vp8mt_build_intra_predictors_mby() local
126 if (pred < 0) in vp8mt_build_intra_predictors_mby()
127 pred = 0; in vp8mt_build_intra_predictors_mby()
129 if (pred > 255) in vp8mt_build_intra_predictors_mby()
130 pred = 255; in vp8mt_build_intra_predictors_mby()
132 ypred_ptr[c] = pred; in vp8mt_build_intra_predictors_mby()
267 int pred = yleft_col[r] + yabove_row[ c] - ytop_left; in vp8mt_build_intra_predictors_mby_s() local
269 if (pred < 0) in vp8mt_build_intra_predictors_mby_s()
270 pred = 0; in vp8mt_build_intra_predictors_mby_s()
272 if (pred > 255) in vp8mt_build_intra_predictors_mby_s()
[all …]
Ddequantize.h21 unsigned char *pred, unsigned char *output, \
26 unsigned char *pred, unsigned char *output, \
Didct_blk.c15 void vp8_dequant_dc_idct_add_c(short *input, short *dq, unsigned char *pred,
18 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *pred,
/external/libvpx/vp8/common/
Dreconintra.c122 int pred = yleft_col[r] + yabove_row[ c] - ytop_left; in vp8_build_intra_predictors_mby() local
124 if (pred < 0) in vp8_build_intra_predictors_mby()
125 pred = 0; in vp8_build_intra_predictors_mby()
127 if (pred > 255) in vp8_build_intra_predictors_mby()
128 pred = 255; in vp8_build_intra_predictors_mby()
130 ypred_ptr[c] = pred; in vp8_build_intra_predictors_mby()
248 int pred = yleft_col[r] + yabove_row[ c] - ytop_left; in vp8_build_intra_predictors_mby_s() local
250 if (pred < 0) in vp8_build_intra_predictors_mby_s()
251 pred = 0; in vp8_build_intra_predictors_mby_s()
253 if (pred > 255) in vp8_build_intra_predictors_mby_s()
[all …]
Dreconintra4x4.c64 int pred = Above[c] - top_left + Left[r]; in vp8_predict_intra4x4() local
66 if (pred < 0) in vp8_predict_intra4x4()
67 pred = 0; in vp8_predict_intra4x4()
69 if (pred > 255) in vp8_predict_intra4x4()
70 pred = 255; in vp8_predict_intra4x4()
72 predictor[c] = pred; in vp8_predict_intra4x4()
/external/skia/include/core/
DSkTSearch.h80 int pred = (*compare)(*elem, target); in SkTSearch() local
81 if (pred != 0) { in SkTSearch()
82 if (pred < 0) in SkTSearch()
114 int pred = (*compare)(elem, target); in SkTSearch() local
115 if (pred != 0) in SkTSearch()
117 if (pred < 0) in SkTSearch()
/external/libvpx/vp8/encoder/x86/
Dsubtract_sse2.asm74 ;void vp8_subtract_mby_sse2(short *diff, unsigned char *src, unsigned char *pred, int stride)
89 mov rax, arg(2) ;pred
96 movdqa xmm1, XMMWORD PTR [rax] ; pred
148 …t_mbuv_sse2(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred, int stride)
160 mov rax, arg(3) ;pred
163 add rax, 256 ;Predictor = pred + 256
171 movdqa xmm1, XMMWORD PTR [rax] ; pred
192 movdqa xmm1, XMMWORD PTR [rax+16] ; pred
215 movdqa xmm1, XMMWORD PTR [rax + 32] ; pred
236 movdqa xmm1, XMMWORD PTR [rax+ 48] ; pred
[all …]
Dsubtract_mmx.asm76 ;void vp8_subtract_mby_mmx(short *diff, unsigned char *src, unsigned char *pred, int stride)
90 mov rax, arg(2) ;pred
152 …ct_mbuv_mmx(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred, int stride)
164 ;unsigned char *upred = pred + 256;
165 ;unsigned char *vpred = pred + 320;
172 mov rax, arg(3) ;pred
175 add rax, 256 ;Predictor = pred + 256
302 mov rax, arg(3) ;pred
305 add rax, 320 ;Predictor = pred + 320
/external/libvpx/vp8/encoder/arm/neon/
Dsubtract_neon.asm22 ;void vp8_subtract_b_neon_func(short *diff, unsigned char *src, unsigned char *pred, int stride, in…
27 vld1.8 {d1}, [r2], r12 ;load pred
51 ;void vp8_subtract_mby_neon(short *diff, unsigned char *src, unsigned char *pred, int stride)
57 vld1.8 {q1}, [r2]! ;load pred
90 …t_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred, int stride)
96 add r3, r3, #256 ; unsigned char *upred = pred + 256;
99 vld1.8 {d1}, [r3]! ;load pred
135 vld1.8 {d1}, [r3]! ;load pred
Dvp8_memcpy_neon.asm22 ;pld [r1] ;preload pred data
48 …;pld [r1] ;preload pred data -- need to adjust for real devi…
/external/libpcap/
Doptimize.c1221 memcpy((char *)b->val, (char *)p->pred->val, sizeof(b->val));
1232 if (b->val[i] != p->pred->val[i])
1329 aval1 = ep->pred->val[A_ATOM];
1330 oval1 = ep->pred->oval;
1379 if (!use_conflict(ep->pred, ep->succ->et.succ)) {
1405 if (target != 0 && !use_conflict(ep->pred, target)) {
1437 val = ep->pred->val[A_ATOM];
1439 if (val != ep->pred->val[A_ATOM])
1442 if (JT(b->in_edges->pred) == b)
1443 diffp = &JT(b->in_edges->pred);
[all …]
/external/libvpx/vp8/encoder/
Dtemporal_filter.c71 unsigned char *pred in build_predictors_mb() argument
85 mv_col & 7, mv_row & 7, &pred[0], 16); in build_predictors_mb()
90 RECON_INVOKE(&x->rtcd->recon, copy16x16)(yptr, stride, &pred[0], 16); in build_predictors_mb()
104 mv_col & 7, mv_row & 7, &pred[256], 8); in build_predictors_mb()
106 mv_col & 7, mv_row & 7, &pred[320], 8); in build_predictors_mb()
110 RECON_INVOKE(&x->rtcd->recon, copy8x8)(uptr, stride, &pred[256], 8); in build_predictors_mb()
111 RECON_INVOKE(&x->rtcd->recon, copy8x8)(vptr, stride, &pred[320], 8); in build_predictors_mb()
Dencodemb.h31 void (sym)(short *diff, unsigned char *src, unsigned char *pred, int stride)
35 unsigned char *pred, int stride)
Dencodemb.c50 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, unsigned char *pred in vp8_subtract_mbuv_c() argument
54 unsigned char *upred = pred + 256; in vp8_subtract_mbuv_c()
55 unsigned char *vpred = pred + 320; in vp8_subtract_mbuv_c()
84 void vp8_subtract_mby_c(short *diff, unsigned char *src, unsigned char *pred, int stride) in vp8_subtract_mby_c() argument
92 diff[c] = src[c] - pred[c]; in vp8_subtract_mby_c()
96 pred += 16; in vp8_subtract_mby_c()
/external/libvpx/vp8/common/ppc/
Drecon_altivec.asm17 lvx v1, 0, \Pred ;# v1 = pred = p0..p15
18 addi \Pred, \Pred, 16 ;# next pred
57 lvx v1, 0, \Pred ;# v1 = pred = p0..p15
99 addi r4, r4, 16; ;# next pred
144 lvx v1, 0, r10; ;# v1 = pred = p0..p15
/external/iproute2/misc/
Dssfilter.y13 static struct ssfilter * alloc_node(int type, void *pred) in alloc_node() argument
19 n->pred = pred; in alloc_node()
Dss.c665 struct aafilter *a = (void*)f->pred; in run_ssfilter()
681 struct aafilter *a = (void*)f->pred; in run_ssfilter()
697 struct aafilter *a = (void*)f->pred; in run_ssfilter()
702 struct aafilter *a = (void*)f->pred; in run_ssfilter()
707 struct aafilter *a = (void*)f->pred; in run_ssfilter()
712 struct aafilter *a = (void*)f->pred; in run_ssfilter()
718 return run_ssfilter(f->pred, s) && run_ssfilter(f->post, s); in run_ssfilter()
720 return run_ssfilter(f->pred, s) || run_ssfilter(f->post, s); in run_ssfilter()
722 return !run_ssfilter(f->pred, s); in run_ssfilter()
754 struct aafilter *a = (void*)f->pred; in ssfilter_bytecompile()
[all …]
/external/skia/src/views/
DSkView.cpp37 void SkView::setVisibleP(bool pred) in setVisibleP() argument
39 this->setFlags(SkSetClearShift(fFlags, pred, kVisible_Shift)); in setVisibleP()
42 void SkView::setEnabledP(bool pred) in setEnabledP() argument
44 this->setFlags(SkSetClearShift(fFlags, pred, kEnabled_Shift)); in setEnabledP()
47 void SkView::setFocusableP(bool pred) in setFocusableP() argument
49 this->setFlags(SkSetClearShift(fFlags, pred, kFocusable_Shift)); in setFocusableP()

123