Searched defs:pred (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp98 (comp[]) are calculed from the motion compensated prediction (pred[])values and
256 uint8 pred[256]; /* storage for padded pixel values, 16x16 */ local
275 ptr = pred + (8 << 4) + 8;
280 ptr = pred;
281 prev = pred + (8 << 4) + 8;
285 ptr = pred + 8;
286 prev = pred + (8 << 4) + 8;
290 ptr = pred + (8 << 4);
291 prev = pred + (8 << 4) + 8;
295 ptr = pred
[all...]
H A Didct.cpp345 int *blk, uint8 *pred, uint8 *dst, int width)
538 res = (*pred++ + block[0+(i<<3)]);
541 res = (*pred++ + block[1+(i<<3)]);
544 res = (*pred++ + block[2+(i<<3)]);
547 res = (*pred++ + block[3+(i<<3)]);
550 res = (*pred++ + block[4+(i<<3)]);
553 res = (*pred++ + block[5+(i<<3)]);
556 res = (*pred++ + block[6+(i<<3)]);
559 res = (*pred++ + block[7+(i<<3)]);
563 pred
344 idct( int *blk, uint8 *pred, uint8 *dst, int width) argument
[all...]
H A Didct_vca.cpp40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
51 pred -= 12;
59 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */
73 pred_word = *((uint32*)(pred += 4)); /* read 4 bytes from pred */
97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
107 pred -= 12;
127 pred_word = *((uint32*)(pred += 12)); /* read 4 bytes from pred */
185 idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
294 idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
[all...]
H A Dblock_idct.cpp123 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width);
322 /* 08/04/05, no residue, just copy from pred to output */
323 void Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) argument
327 *((uint32*)dst) = *((uint32*)pred);
328 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4));
329 *((uint32*)(dst += width)) = *((uint32*)(pred += 12));
330 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4));
331 *((uint32*)(dst += width)) = *((uint32*)(pred += 12));
332 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4));
333 *((uint32*)(dst += width)) = *((uint32*)(pred
348 BlockIDCT( uint8 *dst, uint8 *pred, int16 *coeff_in, int width, int nz_coefs, uint8 *bitmapcol, uint8 bitmaprow ) argument
509 idctrow( int16 *blk, uint8 *pred, uint8 *dst, int width ) argument
[all...]
H A Dmb_motion_comp.cpp144 uint8 *pred_block, *pred; local
261 pred = pred_block;
266 pred = c_comp;
278 pred, width, (pred_width << 1) | round1);
285 pred, width, height, round1, pred_width);
297 pred = pred_block + 8;
302 pred = c_comp + 8;
313 pred, width, (pred_width << 1) | round1);
320 pred, width, height, round1, pred_width);
333 pred
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp86 static const Word16 pred[NPRED] = {5571, 4751, 2785, 1556}; variable
234 pred = table of MA prediction coefficients (Q13) (Word16)
310 * ener(Q24) = (Emean + sum{pred[i]*past_en[i]})/constant *
311 * = MEAN_ENER + sum(pred[i]*past_qua_en[i]) *
415 * = Sum(i=0,3) pred[i]*past_qua_en[i] - ener_code + mean_ener *
420 L_tmp = L_mac(L_tmp, pred[i], st->past_qua_en[i]);
545 * ener(Q24) = (Emean + sum{pred[i]*past_en[i]})/constant *
546 * = MEAN_ENER + sum(pred[i]*past_qua_en[i]) *
675 * = Sum(i=0,3) pred[i]*past_qua_en[i] - ener_code + mean_ener *
695 L_temp2 = ((((Word32) pred[
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
60 tmp2 = *((Int*) pred); /* prediction 4 pixels */
74 tmp2 = *((Int*)(pred + 4));
88 pred += 16;
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
289 tmp2 = *((Int*) pred); /* prediction 4 pixels */
303 tmp2 = *((Int*)(pred + 4));
317 pred += 16;
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
495 tmp2 = *((Int*) pred); /* predictio
1210 Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
[all...]
H A Dfastcodemb.cpp79 UChar *rec, *input, *pred; local
134 pred = video->predictedMB;
178 sad = Sad8x8(input, pred, width);
190 sad = Sad8x8(input, pred, width);
203 BlockDCT1x1(dataBlock, input, pred, width);
217 BlockDCT2x2(dataBlock, input, pred, width);
223 BlockDCT4x4(dataBlock, input, pred, width);
229 BlockDCT8x8(dataBlock, input, pred, width);
236 BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra);
240 pred
310 UChar *rec, *input, *pred; local
[all...]
H A Dfastidct.cpp340 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
354 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */
399 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
413 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */
468 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
482 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */
544 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
558 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */
602 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
616 pred_word = *((uint32*)(rec + 4)); /* read 4 bytes from pred */
1309 idct_row0zmv(Short *srce, UChar *rec, UChar *pred, Int lx) argument
1319 idct_row1zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1367 idct_row2zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1427 idct_row3zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1498 idct_row4zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1575 idct_row0x40zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1633 idct_row0x20zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1690 idct_row0x10zmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1746 idct_rowzmv(Short *blk, UChar *rec, UChar *pred, Int lx) argument
1857 BlockIDCTMotionComp(Short *block, UChar *bitmapcol, UChar bitmaprow, Int dctMode, UChar *rec, UChar *pred, Int lx_intra) argument
[all...]
H A Dvlc_encode.cpp2009 pred[m] = tmp;\
2053 Short pred[7], *predptr; local
2220 predptr = pred;
2230 predptr = pred;
2231 pred[0] = pred[1] = pred[2] = pred[3] = pred[4] = pred[
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_gain2_amr_wb.cpp127 const int16 pred[PRED_ORDER] = {4096, 3277, 2458, 1638}; variable
298 * = Sum(i=0,1) pred[i]*past_qua_en[i] + mean_ener - ener_code
303 L_tmp = mac_16by16_to_int32(L_tmp, pred[0], past_qua_en[0]); /* Q13*Q10 -> Q24 */
304 L_tmp = mac_16by16_to_int32(L_tmp, pred[1], past_qua_en[1]); /* Q13*Q10 -> Q24 */
305 L_tmp = mac_16by16_to_int32(L_tmp, pred[2], past_qua_en[2]); /* Q13*Q10 -> Q24 */
306 L_tmp = mac_16by16_to_int32(L_tmp, pred[3], past_qua_en[3]); /* Q13*Q10 -> Q24 */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_gain2.c44 static Word16 pred[PRED_ORDER] = {4096, 3277, 2458, 1638}; variable
192 * = Sum(i=0,1) pred[i]*past_qua_en[i] + mean_ener - ener_code *
195 L_tmp += (pred[0] * past_qua_en[0])<<1; /* Q13*Q10 -> Q24 */
196 L_tmp += (pred[1] * past_qua_en[1])<<1; /* Q13*Q10 -> Q24 */
197 L_tmp += (pred[2] * past_qua_en[2])<<1; /* Q13*Q10 -> Q24 */
198 L_tmp += (pred[3] * past_qua_en[3])<<1; /* Q13*Q10 -> Q24 */
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dblock.cpp83 uint8 *pred = video->pred_block; // size 16 for a 4x4 block local
99 r0 = org[0] - pred[0]; /* OPTIMIZEABLE */
100 r1 = org[1] - pred[1];
101 r2 = org[2] - pred[2];
102 r3 = org[3] - pred[3];
116 pred += pred_pitch;
121 pred -= (pred_pitch << 2);
227 r0 = pred[0] + (r0 >> 6);
229 r1 = *(pred += pred_pitch) + (r1 >> 6);
231 r2 = *(pred
367 uint8 *pred = encvid->pred_i16[currMB->i16Mode]; local
730 uint8 *pred = video->pred_block; local
[all...]
H A Dmotion_comp.cpp123 uint8 *pred, int pred_pitch,
143 eFullPelMC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight);
151 eHorzInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dx);
158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy);
167 eHorzInterp2MC(&temp2[0][2], 21, pred, pred_pitch, blkwidth, blkheight, dx);
175 eVertInterp3MC(&temp2[2][0], 21, pred, pred_pitch, blkwidth, blkheight, dy);
184 eDiagonalInterpMC(ref2, ref, picpitch, pred, pred_pitch, blkwidth, blkheight);
1807 uint8 *pred, int picpitch,
1827 (*(eChromaMC_SIMD[index]))(ref, picpitch , dx, dy, pred, picpitch, blkwidth, blkheight);
121 eLumaMotionComp(uint8 *ref, int picpitch, int picheight, int x_pos, int y_pos, uint8 *pred, int pred_pitch, int blkwidth, int blkheight) argument
1805 eChromaMotionComp(uint8 *ref, int picwidth, int picheight, int x_pos, int y_pos, uint8 *pred, int picpitch, int blkwidth, int blkheight) argument
H A Dintra_est.cpp217 uint8 *pred, *top, *left; local
232 pred = encvid->pred_i16[AVC_I16_Vertical] - 16;
241 *((uint32*)(pred += 16)) = word1;
242 *((uint32*)(pred + 4)) = word2;
243 *((uint32*)(pred + 8)) = word3;
244 *((uint32*)(pred + 12)) = word4;
278 pred = encvid->pred_i16[AVC_I16_Horizontal] - 16;
288 *(uint32*)(pred += 16) = word1;
289 *(uint32*)(pred + 4) = word1;
290 *(uint32*)(pred
492 cost_i16(uint8 *org, int org_pitch, uint8 *pred, int min_cost) argument
729 uint8 *pred; local
1289 cost_i4(uint8 *org, int org_pitch, uint8 *pred, uint16 *cost) argument
1373 uint8 *comp_ref_x, *comp_ref_y, *pred; local
1725 SATDChroma(uint8 *orgCb, uint8 *orgCr, int org_pitch, uint8 *pred, int min_cost) argument
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp1517 Device* pred = NULL; local
1524 pred = entry;
1532 if (pred) {
1533 pred->next = device->next;
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h617 uint8 pred[688]; /* for prediction */ member in struct:tagCommonObj

Completed in 1434 milliseconds