Searched refs:lx (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DFastMath.java30 long lx = (long) (value * (65536 * 256f));
31 return (int) ((lx + 0x800000) >> 24);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.h60 void idct_rowInter(Short *srce, UChar *rec, Int lx);
61 void idct_row0Inter(Short *blk, UChar *rec, Int lx);
62 void idct_row1Inter(Short *blk, UChar *rec, Int lx);
63 void idct_row2Inter(Short *blk, UChar *rec, Int lx);
64 void idct_row3Inter(Short *blk, UChar *rec, Int lx);
65 void idct_row4Inter(Short *blk, UChar *rec, Int lx);
66 void idct_row0x40Inter(Short *blk, UChar *rec, Int lx);
67 void idct_row0x20Inter(Short *blk, UChar *rec, Int lx);
68 void idct_row0x10Inter(Short *blk, UChar *rec, Int lx);
69 void idct_row0xCCInter(Short *blk, UChar *rec, Int lx);
[all...]
H A Dmotion_comp.cpp45 Short mb[6][64], Int lx, Int lx_uv);
50 Int lx, /* i */
57 Int lx, /* i */
64 Int lx, /* i */
71 Int lx, /* i */
205 Int lx, /* i */
209 c_prev += (xpred >> 1) + ((ypred >> 1) * lx);
211 GetPredAdvBTable[ypred&1][xpred&1](c_prev, c_rec, lx, round1);
216 GetPredAdvBTable[ypred&1][xpred&1](c_prev, c_rec, lx, round1);
218 c_prev += (lx <<
200 EncPrediction_INTER( Int xpred, Int ypred, UChar *c_prev, UChar *c_rec, Int lx, Int round1 ) argument
239 EncPrediction_INTER4V( Int xpos, Int ypos, MOT *mot, UChar *c_prev, UChar *c_rec, Int lx, Int round1 ) argument
292 EncPrediction_Chrom( Int xpred, Int ypred, UChar *cu_prev, UChar *cv_prev, UChar *cu_rec, UChar *cv_rec, Int lx, Int width_uv, Int height_uv, Int round1 ) argument
350 GetPredAdvBy0x0( UChar *prev, UChar *rec, Int lx, Int rnd ) argument
449 GetPredAdvBy0x1( UChar *prev, UChar *rec, Int lx, Int rnd1 ) argument
774 GetPredAdvBy1x0( UChar *prev, UChar *rec, Int lx, Int rnd1 ) argument
1117 GetPredAdvBy1x1( UChar *prev, UChar *rec, Int lx, Int rnd1 ) argument
1523 Int lx; local
1905 get_MB(UChar *c_prev, UChar *c_prev_u , UChar *c_prev_v, Short mb[6][64], Int lx, Int lx_uv) argument
1944 PutSkippedBlock(UChar *rec, UChar *prev, Int lx) argument
[all...]
H A Dme_utils.cpp23 #define VOP_OFFSET ((lx<<4)+16) /* for offset to image area */
24 #define CVOP_OFFSET ((lx<<2)+8)
35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD) argument
39 Int offset = (lx >> 2) - 4;
68 offset = lx - 16;
110 void GetHalfPelMBRegion_C(UChar *cand, UChar *hmem, Int lx) argument
116 Int offset = lx - 17;
118 p1 = cand - lx - 1;
119 p2 = cand - lx;
166 void GetHalfPelBlkRegion(UChar *cand, UChar *hmem, Int lx) argument
313 ComputeMBSum_C(UChar *cur, Int lx, MOT *mot_mb) argument
[all...]
H A Dfindhalfpel.cpp37 void InterpDiag(UChar *prev, Int lx, UChar *pred_block);
38 void InterpHorz(UChar *prev, Int lx, UChar *pred_block);
39 void InterpVert(UChar *prev, Int lx, UChar *pred_block);
79 Int lx = video->currVop->pitch; local
87 Int next_ncand[9] = {0, 1 , lx, lx, 0, -1, -1, -lx, -lx};
127 ncand -= lx; /* initial position */
135 d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_inf
194 Int lx = video->currVop->pitch; local
[all...]
H A Dmp4enc_lib.h55 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
56 Int getBlockSum(UChar *rec, Int lx);
114 void PutSkippedBlock(UChar *rec, UChar *prev, Int lx);
124 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD);
125 void ChooseMode_MMX(UChar *Mode, UChar *cur, Int lx, Int min_SAD);
126 void GetHalfPelMBRegion_C(UChar *cand, UChar *hmem, Int lx);
127 void GetHalfPelMBRegion_SSE(UChar *cand, UChar *hmem, Int lx);
128 void GetHalfPelBlkRegion(UChar *cand, UChar *hmem, Int lx);
130 void ComputeMBSum_C(UChar *cur, Int lx, MOT *mot_mb);
131 void ComputeMBSum_MMX(UChar *cur, Int lx, MO
[all...]
H A Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin)
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin)
41 ref -= lx;
53 x10 = *((uint32*)(ref += lx)); /* D C B A */
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) argument
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8)
134 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8)
181 LDR x10, [ref], lx ; local
223 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, In argument
[all...]
H A Dfastidct.cpp313 void idct_row0Inter(Short *srce, UChar *rec, Int lx) argument
319 OSCL_UNUSED_ARG(lx);
324 void idct_row1Inter(Short *blk, UChar *rec, Int lx) argument
332 rec -= lx;
340 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
371 void idct_row2Inter(Short *blk, UChar *rec, Int lx) argument
379 rec -= lx;
399 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */
430 void idct_row3Inter(Short *blk, UChar *rec, Int lx) argument
438 rec -= lx;
500 idct_row4Inter(Short *blk, UChar *rec, Int lx) argument
576 idct_row0x40Inter(Short *blk, UChar *rec, Int lx) argument
633 idct_row0x20Inter(Short *blk, UChar *rec, Int lx) argument
689 idct_row0x10Inter(Short *blk, UChar *rec, Int lx) argument
744 idct_rowInter(Short *blk, UChar *rec, Int lx) argument
835 idct_row0Intra(Short *srce, UChar *rec, Int lx) argument
846 idct_row1Intra(Short *blk, UChar *rec, Int lx) argument
867 idct_row2Intra(Short *blk, UChar *rec, Int lx) argument
922 idct_row3Intra(Short *blk, UChar *rec, Int lx) argument
988 idct_row4Intra(Short *blk, UChar *rec, Int lx) argument
1061 idct_row0x40Intra(Short *blk, UChar *rec, Int lx) argument
1116 idct_row0x20Intra(Short *blk, UChar *rec, Int lx) argument
1169 idct_row0x10Intra(Short *blk, UChar *rec, Int lx) argument
1221 idct_rowIntra(Short *blk, UChar *rec, Int lx) argument
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
1867 Int lx = lx_intra >> 1; local
[all...]
H A Dsad_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
101 ref -= lx;
108 x10 = *((uint32*)(ref += lx));
163 return sad_mb_offset3(ref, blk, lx, dmin);
167 return sad_mb_offset2(ref, blk, lx, dmin);
171 return sad_mb_offset1(ref, blk, lx, dmin);
257 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
297 LDR x10, [ref], lx ; local
332 return sad_mb_offset3(ref, blk, lx, dmin, x8);
336 return sad_mb_offset2(ref, blk, lx, dmi
446 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
[all...]
H A Dfastcodemb.h56 Int Sad8x8(UChar *rec, UChar *prev, Int lx);
57 Int getBlockSum(UChar *rec, Int lx);
98 Int dctMode, UChar *rec, Int lx, Int intra);
101 void PutSkippedBlock(UChar *rec, UChar *prev, Int lx);
H A Dmotion_est.cpp537 Int lx = video->currVop->width; // padding local
538 Int lx2 = lx << 1;
539 Int lx3 = lx2 + lx;
586 offset[4] = lx + 1;
588 offset[6] = lx + 3;
590 offset[8] = lx;
593 offset[11] = lx + 2 ;
787 Int lx = video->currVop->pitch; /* padding */ local
840 ncand = ref + imin + jmin * lx;
849 ncand = ref + imin + jmin * lx;
1191 Int lx = video->currVop->pitch; /* with padding */ local
1272 Int lx = video->currVop->pitch; /* with padding */ local
[all...]
H A Dfastcodemb.cpp77 Int lx = currVop->pitch; local
131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */
153 dctMode = ((lx << 3) - 8);
163 if (lx != width) input -= (ind_y << 7);
164 lx >>= 1;
184 if (lx != width) input -= (ind_y << 7);
236 BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra);
308 Int lx = currVop->pitch; local
358 if (lx != width) input -= (ind_y << 9); /* non-padded offset */
380 dctMode = ((lx <<
[all...]
H A Dmp4lib_int.h239 Int(*SAD_Blk_HalfPel)(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extra_info);
241 Int(*SAD_Block)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info);
242 Int(*SAD_MB_PADDING)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); /*, 4/21/01 */
243 void (*ComputeMBSum)(UChar *cur, Int lx, MOT *mot_mb);
244 void (*ChooseMode)(UChar *Mode, UChar *cur, Int lx, Int min_SAD);
245 void (*GetHalfPelMBRegion)(UChar *cand, UChar *hmem, Int lx);
H A Dsad.cpp47 Int SAD_Macroblock_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
48 Int SAD_MB_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
49 Int SAD_MB_HTFM(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
50 Int SAD_Block_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
51 Int SAD_Blk_PADDING(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
52 Int SAD_MB_PADDING(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
53 Int SAD_MB_PAD1(UChar *ref,UChar *cur,Int dmin,Int lx,Int *rep);
54 Int SAD_MB_PADDING_HTFM_Collect(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
55 Int SAD_MB_PADDING_HTFM(UChar *ref,UChar *cur,Int dmin,Int lx,void *vptr)
64 Int SAD_MB_PAD1(UChar *ref, UChar *cur, Int dmin, Int lx, In
82 Int lx = dmin_lx & 0xFFFF; local
314 SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *) argument
[all...]
H A Ddatapart_encode.cpp43 Int lx = currVop->pitch; /* with padding */ local
171 offset += (lx << 4) - width;
220 Int lx = currVop->pitch; /* , with pading */ local
436 offset += (lx << 4) - width;
H A Dcombined_encode.cpp44 Int lx = currVop->pitch; /* with padding */ local
210 offset += (lx << 4) - width;
272 Int lx = currVop->pitch; /* , with padding */ local
524 offset += (lx << 4) - width;
539 offset += (lx << 4) - width;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageGraph.java163 final int lx = getX(x);
165 pendingXLoc = lx;
169 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) {
174 mLocalPaths.put(lx, ly);
/frameworks/rs/driver/runtime/
H A Drs_sample.c319 int lx, int ly, int nx, int ny,
327 return getSample_RGBA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3);
329 return getSample_A(p, stride, lx, ly, nx, ny, w0, w1, w2, w3);
331 return getSample_LA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3);
334 return getSample_565(p, stride, lx, ly, nx, ny, w0, w1, w2, w3);
336 return getSample_RGB(p, stride, lx, ly, nx, ny, w0, w1, w2, w3);
338 return getSample_L(p, stride, lx, ly, nx, ny, w0, w1, w2, w3);
502 int lx = wrapI(wrapS, iPixelU, sourceW); local
505 return getBilinearSample2D(alloc, w0, w1, w2, w3, lx, ly, nx, ny, dk, dt, lod);
318 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, int lx, int ly, int nx, int ny, rs_data_kind dk, rs_data_type dt, uint32_t lod) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java323 float lx = ps.mEstimator.estimateX(-ESTIMATE_PAST_POINTS * ESTIMATE_INTERVAL);
328 canvas.drawLine(lx, ly, x, y, mPaint);
329 lx = x;
342 lx = ps.mAltEstimator.estimateX(-ESTIMATE_PAST_POINTS * ESTIMATE_INTERVAL);
347 canvas.drawLine(lx, ly, x, y, mPaint);
348 lx = x;

Completed in 303 milliseconds