Home
last modified time | relevance | path

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

/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.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.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/avc/enc/src/
Dintra_est.cpp217 uint8 *pred, *top, *left; in intrapred_luma_16x16() local
232 pred = encvid->pred_i16[AVC_I16_Vertical] - 16; in intrapred_luma_16x16()
241 *((uint32*)(pred += 16)) = word1; in intrapred_luma_16x16()
242 *((uint32*)(pred + 4)) = word2; in intrapred_luma_16x16()
243 *((uint32*)(pred + 8)) = word3; in intrapred_luma_16x16()
244 *((uint32*)(pred + 12)) = word4; in intrapred_luma_16x16()
278 pred = encvid->pred_i16[AVC_I16_Horizontal] - 16; in intrapred_luma_16x16()
288 *(uint32*)(pred += 16) = word1; in intrapred_luma_16x16()
289 *(uint32*)(pred + 4) = word1; in intrapred_luma_16x16()
290 *(uint32*)(pred + 8) = word1; in intrapred_luma_16x16()
[all …]
Dblock.cpp83 uint8 *pred = video->pred_block; // size 16 for a 4x4 block in dct_luma() local
99 r0 = org[0] - pred[0]; /* OPTIMIZEABLE */ in dct_luma()
100 r1 = org[1] - pred[1]; in dct_luma()
101 r2 = org[2] - pred[2]; in dct_luma()
102 r3 = org[3] - pred[3]; in dct_luma()
116 pred += pred_pitch; in dct_luma()
121 pred -= (pred_pitch << 2); in dct_luma()
227 r0 = pred[0] + (r0 >> 6); in dct_luma()
229 r1 = *(pred += pred_pitch) + (r1 >> 6); in dct_luma()
231 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,
Dmotion_comp.cpp123 uint8 *pred, int pred_pitch, in eLumaMotionComp() argument
143 eFullPelMC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight); in eLumaMotionComp()
151 eHorzInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dx); in eLumaMotionComp()
158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy); in eLumaMotionComp()
167 eHorzInterp2MC(&temp2[0][2], 21, pred, pred_pitch, blkwidth, blkheight, dx); in eLumaMotionComp()
175 eVertInterp3MC(&temp2[2][0], 21, pred, pred_pitch, blkwidth, blkheight, dy); in eLumaMotionComp()
184 eDiagonalInterpMC(ref2, ref, picpitch, pred, pred_pitch, blkwidth, blkheight); in eLumaMotionComp()
1807 uint8 *pred, int picpitch, in eChromaMotionComp() argument
1827 (*(eChromaMC_SIMD[index]))(ref, picpitch , dx, dy, pred, picpitch, blkwidth, blkheight); in eChromaMotionComp()
/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/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/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/av/media/libstagefright/codecs/avc/common/include/
Davclib_common.h325 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width);
335 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width);
354 void copy_block(uint8 *pred, uint8 *cur, int width, int pred_pitch);
Davcint_common.h617 uint8 pred[688]; /* for prediction */ member
/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/base/core/java/android/text/
DHtml.java780 char pred; in characters() local
787 pred = '\n'; in characters()
789 pred = mSpannableStringBuilder.charAt(len - 1); in characters()
792 pred = sb.charAt(len - 1); in characters()
795 if (pred != ' ' && pred != '\n') { in characters()
/frameworks/native/services/inputflinger/
DEventHub.cpp1517 Device* pred = NULL; in closeDeviceLocked() local
1524 pred = entry; in closeDeviceLocked()
1532 if (pred) { in closeDeviceLocked()
1533 pred->next = device->next; in closeDeviceLocked()
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddeblock.cpp136 pred_block = video->pred; in MBInLoopDeblock()
177 pred_block = video->pred; in MBInLoopDeblock()
250 pred_block = video->pred; in MBInLoopDeblock()