Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dget_pred_outside.cpp256 uint8 pred[256]; /* storage for padded pixel values, 16x16 */ in GetPredOutside() local
275 ptr = pred + (8 << 4) + 8; in GetPredOutside()
280 ptr = pred; in GetPredOutside()
281 prev = pred + (8 << 4) + 8; in GetPredOutside()
285 ptr = pred + 8; in GetPredOutside()
286 prev = pred + (8 << 4) + 8; in GetPredOutside()
290 ptr = pred + (8 << 4); in GetPredOutside()
291 prev = pred + (8 << 4) + 8; in GetPredOutside()
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8; in GetPredOutside()
304 ptr = pred + 8; in GetPredOutside()
[all …]
Dmb_motion_comp.cpp148 uint8 *pred_block, *pred; in MBMotionComp() local
270 pred = pred_block; in MBMotionComp()
275 pred = c_comp; in MBMotionComp()
287 pred, width, (pred_width << 1) | round1); in MBMotionComp()
294 pred, width, height, round1, pred_width); in MBMotionComp()
306 pred = pred_block + 8; in MBMotionComp()
311 pred = c_comp + 8; in MBMotionComp()
322 pred, width, (pred_width << 1) | round1); in MBMotionComp()
329 pred, width, height, round1, pred_width); in MBMotionComp()
342 pred = pred_block + 128; in MBMotionComp()
[all …]
Dblock_idct.cpp123 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width);
323 void Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) in Copy_Blk_to_Vop() argument
327 *((uint32*)dst) = *((uint32*)pred); in Copy_Blk_to_Vop()
328 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
329 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); in Copy_Blk_to_Vop()
330 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
331 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); in Copy_Blk_to_Vop()
332 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
333 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); in Copy_Blk_to_Vop()
334 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
[all …]
Didct.h48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width);
49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width);
50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width);
51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width);
52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width);
Didct_vca.cpp40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow1() argument
51 pred -= 12; in idctrow1()
59 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */ in idctrow1()
73 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */ in idctrow1()
97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow2() argument
107 pred -= 12; in idctrow2()
127 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */ in idctrow2()
141 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */ in idctrow2()
185 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow3() argument
195 pred -= 12; in idctrow3()
[all …]
Didct.cpp345 int *blk, uint8 *pred, uint8 *dst, int width) in idct() argument
538 res = (*pred++ + block[0+(i<<3)]); in idct()
541 res = (*pred++ + block[1+(i<<3)]); in idct()
544 res = (*pred++ + block[2+(i<<3)]); in idct()
547 res = (*pred++ + block[3+(i<<3)]); in idct()
550 res = (*pred++ + block[4+(i<<3)]); in idct()
553 res = (*pred++ + block[5+(i<<3)]); in idct()
556 res = (*pred++ + block[6+(i<<3)]); in idct()
559 res = (*pred++ + block[7+(i<<3)]); in idct()
563 pred += 8; in idct()
Dmp4dec_lib.h95 void BlockIDCT(uint8 *dst, uint8 *pred, int16 *blk, int width, int nzcoefs,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastcodemb.cpp79 UChar *rec, *input, *pred; in CodeMB_H263() local
134 pred = video->predictedMB; in CodeMB_H263()
178 sad = Sad8x8(input, pred, width); in CodeMB_H263()
190 sad = Sad8x8(input, pred, width); in CodeMB_H263()
203 BlockDCT1x1(dataBlock, input, pred, width); in CodeMB_H263()
217 BlockDCT2x2(dataBlock, input, pred, width); in CodeMB_H263()
223 BlockDCT4x4(dataBlock, input, pred, width); in CodeMB_H263()
229 BlockDCT8x8(dataBlock, input, pred, width); in CodeMB_H263()
236 … BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra); in CodeMB_H263()
240 pred += 8; in CodeMB_H263()
[all …]
Dvlc_encode.cpp2009 pred[m] = tmp;\
2053 Short pred[7], *predptr; in DCACPred() local
2220 predptr = pred; in DCACPred()
2230 predptr = pred; in DCACPred()
2231 pred[0] = pred[1] = pred[2] = pred[3] = pred[4] = pred[5] = pred[6] = 0; in DCACPred()
2242 predptr = pred; in DCACPred()
2252 predptr = pred; in DCACPred()
2253 pred[0] = pred[1] = pred[2] = pred[3] = pred[4] = pred[5] = pred[6] = 0; in DCACPred()
2267 predptr = pred; in DCACPred()
2277 predptr = pred; in DCACPred()
[all …]
Dfastidct.cpp1309 void idct_row0zmv(Short *srce, UChar *rec, UChar *pred, Int lx) in idct_row0zmv() argument
1313 OSCL_UNUSED_ARG(pred); in idct_row0zmv()
1319 void idct_row1zmv(Short *blk, UChar *rec, UChar *pred, Int lx) in idct_row1zmv() argument
1327 pred -= 16; in idct_row1zmv()
1336 pred_word = *((uint32*)(pred += 16)); /* read 4 bytes from pred */ in idct_row1zmv()
1350 pred_word = *((uint32*)(pred + 4)); /* read 4 bytes from pred */ in idct_row1zmv()
1367 void idct_row2zmv(Short *blk, UChar *rec, UChar *pred, Int lx) in idct_row2zmv() argument
1376 pred -= 16; in idct_row2zmv()
1396 pred_word = *((uint32*)(pred += 16)); /* read 4 bytes from pred */ in idct_row2zmv()
1410 pred_word = *((uint32*)(pred + 4)); /* read 4 bytes from pred */ in idct_row2zmv()
[all …]
Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub() argument
60 tmp2 = *((Int*) pred); /* prediction 4 pixels */ in BlockDCT_AANwSub()
74 tmp2 = *((Int*)(pred + 4)); in BlockDCT_AANwSub()
88 pred += 16; in BlockDCT_AANwSub()
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block4x4DCT_AANwSub() argument
289 tmp2 = *((Int*) pred); /* prediction 4 pixels */ in Block4x4DCT_AANwSub()
303 tmp2 = *((Int*)(pred + 4)); in Block4x4DCT_AANwSub()
317 pred += 16; in Block4x4DCT_AANwSub()
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block2x2DCT_AANwSub() argument
495 tmp2 = *((Int*) pred); /* prediction 4 pixels */ in Block2x2DCT_AANwSub()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DTernaryExpr.java30 TernaryExpr(Expr pred, Expr ifTrue, Expr ifFalse) { in TernaryExpr() argument
31 super(pred, ifTrue, ifFalse); in TernaryExpr()
88 final Dependency pred = new Dependency(this, predExpr); in constructDependencies() local
89 pred.setMandatory(true); in constructDependencies()
90 deps.add(pred); in constructDependencies()
137 final Expr pred = getPred().cloneToModel(model); in generateInverse() local
140 return model.ternary(pred, ifTrue, ifFalse); in generateInverse()
DExprModel.java184 public TernaryExpr ternary(Expr pred, Expr ifTrue, Expr ifFalse) { in ternary() argument
185 return register(new TernaryExpr(pred, ifTrue, ifFalse)); in ternary()
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp29 FilterIterator(Iterator begin, Iterator end, Pred pred = Pred()) in FilterIterator() argument
30 : current_(begin), end_(end), pred_(pred) { in FilterIterator()
61 Pred pred = Pred()) { in make_filter_iterator() argument
62 return FilterIterator<Iterator, Pred>(begin, end, pred); in make_filter_iterator()
90 auto pred = [&](const std::unique_ptr<ResourceConfigValue>& val) -> bool { in CollapseVersions() local
104 make_filter_iterator(iter + 1, entry->values.rend(), pred); in CollapseVersions()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/
DExecutionPath.java64 public ExecutionPath addBranch(Expr pred, boolean expectedValue) { in addBranch() argument
68 final Boolean knownValue = mKnownValues.get(pred); in addBranch()
80 ExecutionBranch edge = new ExecutionBranch(path, pred, expectedValue); in addBranch()
81 path.mKnownValues.put(pred, expectedValue); in addBranch()
84 Preconditions.check(mFalseBranch.getConditional() == pred, "Cannot add" in addBranch()
90 Preconditions.check(mTrueBranch.getConditional() == pred, "Cannot add" in addBranch()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_gain2_amr_wb.cpp127 const int16 pred[PRED_ORDER] = {4096, 3277, 2458, 1638}; variable
303 L_tmp = mac_16by16_to_int32(L_tmp, pred[0], past_qua_en[0]); /* Q13*Q10 -> Q24 */ in dec_gain2_amr_wb()
304 L_tmp = mac_16by16_to_int32(L_tmp, pred[1], past_qua_en[1]); /* Q13*Q10 -> Q24 */ in dec_gain2_amr_wb()
305 L_tmp = mac_16by16_to_int32(L_tmp, pred[2], past_qua_en[2]); /* Q13*Q10 -> Q24 */ in dec_gain2_amr_wb()
306 L_tmp = mac_16by16_to_int32(L_tmp, pred[3], past_qua_en[3]); /* Q13*Q10 -> Q24 */ in dec_gain2_amr_wb()
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover.cpp29 OutputIterator move_if(InputContainer& input_container, OutputIterator result, Predicate pred) { in move_if() argument
31 auto new_end = std::find_if(input_container.begin(), input_container.end(), pred); in move_if()
42 if (bool(pred(*first))) { in move_if()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp960 auto pred = [](const uint32_t a, const uint32_t b) -> bool { in ConflictsWith() local
965 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
966 !pred(screenLayout & MASK_LAYOUTDIR, in ConflictsWith()
968 !pred(screenLayout & MASK_SCREENLONG, in ConflictsWith()
970 !pred(uiMode & MASK_UI_MODE_TYPE, o.uiMode & MASK_UI_MODE_TYPE) || in ConflictsWith()
971 !pred(uiMode & MASK_UI_MODE_NIGHT, o.uiMode & MASK_UI_MODE_NIGHT) || in ConflictsWith()
972 !pred(screenLayout2 & MASK_SCREENROUND, in ConflictsWith()
974 !pred(colorMode & MASK_HDR, o.colorMode & MASK_HDR) || in ConflictsWith()
975 !pred(colorMode & MASK_WIDE_COLOR_GAMUT, in ConflictsWith()
977 !pred(orientation, o.orientation) || in ConflictsWith()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_gain2.c44 static Word16 pred[PRED_ORDER] = {4096, 3277, 2458, 1638}; variable
195 L_tmp += (pred[0] * past_qua_en[0])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
196 L_tmp += (pred[1] * past_qua_en[1])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
197 L_tmp += (pred[2] * past_qua_en[2])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
198 L_tmp += (pred[3] * past_qua_en[3])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
/frameworks/minikin/tools/
Dmk_hyb_file.py68 self.pred = []
72 this = len(self.pred)
73 self.pred.append(self.last)
92 while ix >= len(self.pred):
94 return self.pred[ix] != -1
97 if self.pred[ix] is None:
100 self.succ[self.pred[ix]] = self.succ[ix]
102 self.last = self.pred[ix]
104 self.pred[self.succ[ix]] = self.pred[ix]
105 if self.pred[ix] == -1:
[all …]
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/
DExprWriters.kt53 if (knownValues.containsKey(myExpr.pred)) { in <lambda>()
54 val chosen = if (knownValues[myExpr.pred]!!) myExpr.ifTrue else myExpr.ifFalse in <lambda>()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dgc_pred.cpp86 static const Word16 pred[NPRED] = {5571, 4751, 2785, 1556}; variable
695 L_temp2 = ((((Word32) pred[i]) * st->past_qua_en[i]) << 1); in gc_pred()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DExpressionVisitorTest.java132 ComparisonExpr pred = (ComparisonExpr) parsed.getPred(); in testTernary() local
139 assertEquals(dependency.getOther() != pred, dependency.isConditional()); in testTernary()
/frameworks/base/core/java/android/text/
DHtml.java1228 char pred; in characters() local
1235 pred = '\n'; in characters()
1237 pred = mSpannableStringBuilder.charAt(len - 1); in characters()
1240 pred = sb.charAt(len - 1); in characters()
1243 if (pred != ' ' && pred != '\n') { in characters()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp394 const Status<T>& status, Op pred) { in StatusPred() argument
397 } else if (!pred(status.get())) { in StatusPred()
425 #define EXPECT_STATUS_PRED(pred, status) \ argument
426 EXPECT_PRED_FORMAT2(StatusPred, status, pred)

12