Home
last modified time | relevance | path

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

12

/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dpred_intra.cpp39 uint8 *pred; in IntraMBPrediction() local
48 video->pred_block = video->pred + 84; /* point to separate prediction memory */ in IntraMBPrediction()
49 pred = video->pred_block; in IntraMBPrediction()
78 itrans(dataBlock, pred, pred, 20); in IntraMBPrediction()
93 pred += 76; in IntraMBPrediction()
103 pred += 4; in IntraMBPrediction()
112 pred -= 8; in IntraMBPrediction()
121 pred -= 152; in IntraMBPrediction()
198 itrans(dataBlock, pred, pred, 20); in IntraMBPrediction()
209 pred += 4; in IntraMBPrediction()
[all …]
Ditrans.cpp90 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width) in itrans() argument
130 e0 = pred[0] + (e0 >> 6); in itrans()
132 e1 = pred[20] + (e1 >> 6); in itrans()
134 e2 = pred[40] + (e2 >> 6); in itrans()
136 e3 = pred[60] + (e3 >> 6); in itrans()
144 pred++; in itrans()
146 OSCL_UNUSED_ARG(pred); in itrans()
170 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width) in ictrans() argument
210 e0 = pred[0] + (e0 >> 6); in ictrans()
212 e1 = pred[12] + (e1 >> 6); in ictrans()
[all …]
Davcdec_lib.h92 uint8 *pred, int pred_pitch,
145 int x_pos, int y_pos, uint8 *pred, int pred_pitch,
151 uint8 *pred, int pred_pitch, int blkwidth, int blkheight);
153 uint8 *pred, int pred_pitch, int blkwidth, int blkheight);
155 void ChromaFullPelMCOutside(uint8 *ref, uint8 *pred, int pred_pitch,
159 uint8 *pred, int pred_pitch, int blkwidth, int blkheight,
162 int dx, int dy, uint8 *pred, int pred_pitch,
Dpred_inter.cpp67 predBlock = video->pred + 84; in InterMBPrediction()
68 predCb = video->pred + 452; in InterMBPrediction()
69 predCr = video->pred + 596; in InterMBPrediction()
242 uint8 *pred, int pred_pitch, in LumaMotionComp() argument
261 FullPelMC(ref, picwidth, pred, pred_pitch, blkwidth, blkheight); in LumaMotionComp()
266 FullPelMC(&temp[0][0], 24, pred, pred_pitch, blkwidth, blkheight); in LumaMotionComp()
277 HorzInterp1MC(ref, picwidth, pred, pred_pitch, blkwidth, blkheight, dx); in LumaMotionComp()
283 HorzInterp1MC(&temp[0][2], 24, pred, pred_pitch, blkwidth, blkheight, dx); in LumaMotionComp()
293 VertInterp1MC(ref, picwidth, pred, pred_pitch, blkwidth, blkheight, dy); in LumaMotionComp()
299 VertInterp1MC(&temp[2][0], 24, pred, pred_pitch, blkwidth, blkheight, dy); in LumaMotionComp()
[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/opencore/codecs_v2/video/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.cpp144 uint8 *pred_block, *pred; in MBMotionComp() local
261 pred = pred_block; in MBMotionComp()
266 pred = c_comp; in MBMotionComp()
278 pred, width, (pred_width << 1) | round1); in MBMotionComp()
285 pred, width, height, round1, pred_width); in MBMotionComp()
297 pred = pred_block + 8; in MBMotionComp()
302 pred = c_comp + 8; in MBMotionComp()
313 pred, width, (pred_width << 1) | round1); in MBMotionComp()
320 pred, width, height, round1, pred_width); in MBMotionComp()
333 pred = pred_block + 128; in MBMotionComp()
[all …]
Dblock_idct.cpp124 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width);
324 void Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) in Copy_Blk_to_Vop() argument
328 *((uint32*)dst) = *((uint32*)pred); in Copy_Blk_to_Vop()
329 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
330 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); in Copy_Blk_to_Vop()
331 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
332 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); in Copy_Blk_to_Vop()
333 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); in Copy_Blk_to_Vop()
334 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); in Copy_Blk_to_Vop()
335 *((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.cpp31 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow0() argument
36 OSCL_UNUSED_ARG(pred); in idctrow0()
45 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow1() argument
56 pred -= 12; in idctrow1()
64 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */ in idctrow1()
78 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */ in idctrow1()
102 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow2() argument
112 pred -= 12; in idctrow2()
132 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */ in idctrow2()
146 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */ in idctrow2()
[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()
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dintra_est.cpp218 uint8 *pred, *top, *left; in intrapred_luma_16x16() local
233 pred = encvid->pred_i16[AVC_I16_Vertical] - 16; in intrapred_luma_16x16()
242 *((uint32*)(pred += 16)) = word1; in intrapred_luma_16x16()
243 *((uint32*)(pred + 4)) = word2; in intrapred_luma_16x16()
244 *((uint32*)(pred + 8)) = word3; in intrapred_luma_16x16()
245 *((uint32*)(pred + 12)) = word4; in intrapred_luma_16x16()
279 pred = encvid->pred_i16[AVC_I16_Horizontal] - 16; in intrapred_luma_16x16()
289 *(uint32*)(pred += 16) = word1; in intrapred_luma_16x16()
290 *(uint32*)(pred + 4) = word1; in intrapred_luma_16x16()
291 *(uint32*)(pred + 8) = word1; in intrapred_luma_16x16()
[all …]
Dblock.cpp84 uint8 *pred = video->pred_block; // size 16 for a 4x4 block in dct_luma() local
100 r0 = org[0] - pred[0]; /* OPTIMIZEABLE */ in dct_luma()
101 r1 = org[1] - pred[1]; in dct_luma()
102 r2 = org[2] - pred[2]; in dct_luma()
103 r3 = org[3] - pred[3]; in dct_luma()
117 pred += pred_pitch; in dct_luma()
122 pred -= (pred_pitch << 2); in dct_luma()
228 r0 = pred[0] + (r0 >> 6); in dct_luma()
230 r1 = *(pred += pred_pitch) + (r1 >> 6); in dct_luma()
232 r2 = *(pred += pred_pitch) + (r2 >> 6); in dct_luma()
[all …]
Davcenc_lib.h340 int cost_i16(uint8 *org, int org_pitch, uint8 *pred, int min_cost);
380 void cost_i4(uint8 *org, int org_pitch, uint8 *pred, uint16 *cost);
399 int SATDChroma(uint8 *orgCb, uint8 *orgCr, int org_pitch, uint8 *pred, int mincost);
427 uint8 *pred, int pred_pitch,
456 int x_pos, int y_pos, uint8 *pred, int pred_pitch,
/external/jpeg/
Djdcoefct.c479 int Al, pred; in decompress_smooth_data() local
578 pred = (int) (((Q01<<7) + num) / (Q01<<8)); in decompress_smooth_data()
579 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
580 pred = (1<<Al)-1; in decompress_smooth_data()
582 pred = (int) (((Q01<<7) - num) / (Q01<<8)); in decompress_smooth_data()
583 if (Al > 0 && pred >= (1<<Al)) in decompress_smooth_data()
584 pred = (1<<Al)-1; in decompress_smooth_data()
585 pred = -pred; in decompress_smooth_data()
587 workspace[1] = (JCOEF) pred; in decompress_smooth_data()
593 pred = (int) (((Q10<<7) + num) / (Q10<<8)); in decompress_smooth_data()
[all …]
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
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 …]
Dfastcodemb.cpp80 UChar *rec, *input, *pred; in CodeMB_H263() local
135 pred = video->predictedMB; in CodeMB_H263()
179 sad = Sad8x8(input, pred, width); in CodeMB_H263()
191 sad = Sad8x8(input, pred, width); in CodeMB_H263()
204 BlockDCT1x1(dataBlock, input, pred, width); in CodeMB_H263()
218 BlockDCT2x2(dataBlock, input, pred, width); in CodeMB_H263()
224 BlockDCT4x4(dataBlock, input, pred, width); in CodeMB_H263()
230 BlockDCT8x8(dataBlock, input, pred, width); in CodeMB_H263()
237 … BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra); in CodeMB_H263()
241 pred += 8; in CodeMB_H263()
[all …]
Dfastidct.cpp1310 void idct_row0zmv(Short *srce, UChar *rec, UChar *pred, Int lx) in idct_row0zmv() argument
1314 OSCL_UNUSED_ARG(pred); in idct_row0zmv()
1320 void idct_row1zmv(Short *blk, UChar *rec, UChar *pred, Int lx) in idct_row1zmv() argument
1328 pred -= 16; in idct_row1zmv()
1337 pred_word = *((uint32*)(pred += 16)); /* read 4 bytes from pred */ in idct_row1zmv()
1351 pred_word = *((uint32*)(pred + 4)); /* read 4 bytes from pred */ in idct_row1zmv()
1368 void idct_row2zmv(Short *blk, UChar *rec, UChar *pred, Int lx) in idct_row2zmv() argument
1377 pred -= 16; in idct_row2zmv()
1397 pred_word = *((uint32*)(pred += 16)); /* read 4 bytes from pred */ in idct_row2zmv()
1411 pred_word = *((uint32*)(pred + 4)); /* read 4 bytes from pred */ in idct_row2zmv()
[all …]
Ddct.cpp39 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub() argument
61 tmp2 = *((Int*) pred); /* prediction 4 pixels */ in BlockDCT_AANwSub()
75 tmp2 = *((Int*)(pred + 4)); in BlockDCT_AANwSub()
89 pred += 16; in BlockDCT_AANwSub()
268 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block4x4DCT_AANwSub() argument
290 tmp2 = *((Int*) pred); /* prediction 4 pixels */ in Block4x4DCT_AANwSub()
304 tmp2 = *((Int*)(pred + 4)); in Block4x4DCT_AANwSub()
318 pred += 16; in Block4x4DCT_AANwSub()
474 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block2x2DCT_AANwSub() argument
496 tmp2 = *((Int*) pred); /* prediction 4 pixels */ in Block2x2DCT_AANwSub()
[all …]
/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/opencore/codecs_v2/audio/gsm_amr/amr_wb/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()
/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/opencore/codecs_v2/video/avc_h264/common/include/
Davclib_common.h327 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width);
337 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width);
356 void copy_block(uint8 *pred, uint8 *cur, int width, int pred_pitch);
/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()
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/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()

12