Home
last modified time | relevance | path

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

/frameworks/av/media/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
262 pred = pred_block; in MBMotionComp()
267 pred = c_comp; in MBMotionComp()
279 pred, width, (pred_width << 1) | round1); in MBMotionComp()
286 pred, width, height, round1, pred_width); in MBMotionComp()
298 pred = pred_block + 8; in MBMotionComp()
303 pred = c_comp + 8; in MBMotionComp()
314 pred, width, (pred_width << 1) | round1); in MBMotionComp()
321 pred, width, height, round1, pred_width); in MBMotionComp()
334 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.cpp41 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow1() argument
52 pred -= 12; in idctrow1()
60 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */ in idctrow1()
74 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */ in idctrow1()
99 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow2() argument
109 pred -= 12; in idctrow2()
129 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */ in idctrow2()
143 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */ in idctrow2()
189 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow3() argument
199 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/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/base/tools/aapt2/optimize/
DVersionCollapser.cpp32 FilterIterator(Iterator begin, Iterator end, Pred pred = Pred()) in FilterIterator() argument
33 : current_(begin), end_(end), pred_(pred) { in FilterIterator()
64 Pred pred = Pred()) { in make_filter_iterator() argument
65 return FilterIterator<Iterator, Pred>(begin, end, pred); in make_filter_iterator()
89 auto pred = [&](const std::unique_ptr<ResourceConfigValue>& val) -> bool { in CollapseVersions() local
103 make_filter_iterator(iter + 1, entry->values.rend(), pred); in CollapseVersions()
/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/av/media/codecs/amrwb/dec/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/libs/androidfw/
DConfigDescription.cpp968 auto pred = [](const uint32_t a, const uint32_t b) -> bool { in ConflictsWith() local
973 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
974 !pred(screenLayout & MASK_LAYOUTDIR, in ConflictsWith()
976 !pred(screenLayout & MASK_SCREENLONG, in ConflictsWith()
978 !pred(uiMode & MASK_UI_MODE_TYPE, o.uiMode & MASK_UI_MODE_TYPE) || in ConflictsWith()
979 !pred(uiMode & MASK_UI_MODE_NIGHT, o.uiMode & MASK_UI_MODE_NIGHT) || in ConflictsWith()
980 !pred(screenLayout2 & MASK_SCREENROUND, in ConflictsWith()
982 !pred(colorMode & MASK_HDR, o.colorMode & MASK_HDR) || in ConflictsWith()
983 !pred(colorMode & MASK_WIDE_COLOR_GAMUT, in ConflictsWith()
985 !pred(orientation, o.orientation) || in ConflictsWith()
[all …]
/frameworks/av/media/codecs/amrwb/enc/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/base/packages/SystemUI/src/com/android/systemui/util/
DConvenienceExtensions.kt30 fun <T> Sequence<T>.takeUntil(pred: (T) -> Boolean): Sequence<T> = sequence { in <lambda>()
33 if (pred(x)) { in <lambda>()
/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/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp110 const std::function<bool(SensorInfo)> &pred = nullptr) { in GetSensorList() argument
118 if (!pred || pred(info)) { in GetSensorList()
/frameworks/av/media/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/base/core/java/android/text/
DHtml.java1251 char pred; in characters() local
1258 pred = '\n'; in characters()
1260 pred = mSpannableStringBuilder.charAt(len - 1); in characters()
1263 pred = sb.charAt(len - 1); in characters()
1266 if (pred != ' ' && pred != '\n') { in characters()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp397 const Status<T>& status, Op pred) { in StatusPred() argument
400 } else if (!pred(status.get())) { in StatusPred()
428 #define EXPECT_STATUS_PRED(pred, status) \ argument
429 EXPECT_PRED_FORMAT2(StatusPred, status, pred)
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h479 const std::function<bool()>& pred);
Dhardware_composer.cpp277 const std::function<bool()>& pred) { in PostThreadCondWait() argument
279 return pred() || (post_thread_state_ & PostThreadState::Quit); in PostThreadCondWait()