Home
last modified time | relevance | path

Searched refs:lx (Results 1 – 25 of 64) sorted by relevance

123

/external/fdlibm/
De_fmod.c36 unsigned lx,ly,lz; local
39 lx = __LO(x); /* low word of x */
51 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
52 if(lx==ly)
59 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1;
80 hx = (hx<<n)|(lx>>(32-n));
81 lx <<= n;
83 hx = lx<<(n-32);
84 lx = 0;
103 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
[all …]
Ds_nextafter.c31 unsigned lx,ly; local
34 lx = __LO(x); /* low word of x */
40 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */
44 if((ix|lx)==0) { /* x == 0 */
51 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
52 if(lx==0) hx -= 1;
53 lx -= 1;
55 lx += 1;
56 if(lx==0) hx += 1;
59 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */
[all …]
Ds_ilogb.c29 int hx,lx,ix; local
33 lx = __LO(x);
34 if((hx|lx)==0)
38 for (ix = -1043; lx>0; lx<<=1) ix -=1;
De_jn.c60 int i,hx,ix,lx, sgn; local
69 lx = __LO(x);
71 if((ix|((unsigned)(lx|-lx))>>31)>0x7ff00000) return x+x;
81 if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */
221 int i,hx,ix,lx; local
227 lx = __LO(x);
229 if((ix|((unsigned)(lx|-lx))>>31)>0x7ff00000) return x+x;
230 if((ix|lx)==0) return -one/zero;
De_atan2.c65 unsigned lx,ly; local
68 lx = __LO(x);
71 if(((ix|((lx|-lx)>>31))>0x7ff00000)||
74 if((hx-0x3ff00000|lx)==0) return ieee_atan(y); /* x=1.0 */
87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
Ds_isnan.c28 int hx,lx; local
30 lx = __LO(x);
31 hx |= (unsigned)(lx|(-lx))>>31;
De_atanh.c52 unsigned lx; local
54 lx = __LO(x); /* low word */
56 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
Ds_logb.c29 int lx,ix; local
31 lx = __LO(x); /* low x */
32 if((ix|lx)==0) return -1.0/ieee_fabs(x);
Ds_frexp.c40 int hx, ix, lx; local
43 lx = __LO(x);
45 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
De_log10.c70 unsigned lx; local
73 lx = __LO(x); /* low word of x */
77 if (((hx&0x7fffffff)|lx)==0)
De_cosh.c52 unsigned lx; local
79 lx = *( (((*(unsigned*)&one)>>29)) + (unsigned*)&x);
81 (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) {
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dmotion_comp.cpp46 Short mb[6][64], Int lx, Int lx_uv);
51 Int lx, /* i */
58 Int lx, /* i */
65 Int lx, /* i */
72 Int lx, /* i */
206 Int lx, /* i */ in EncPrediction_INTER() argument
210 c_prev += (xpred >> 1) + ((ypred >> 1) * lx); in EncPrediction_INTER()
212 GetPredAdvBTable[ypred&1][xpred&1](c_prev, c_rec, lx, round1); in EncPrediction_INTER()
217 GetPredAdvBTable[ypred&1][xpred&1](c_prev, c_rec, lx, round1); in EncPrediction_INTER()
219 c_prev += (lx << 3) - B_SIZE; in EncPrediction_INTER()
[all …]
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 …]
Dfastidct.cpp314 void idct_row0Inter(Short *srce, UChar *rec, Int lx) in idct_row0Inter() argument
320 OSCL_UNUSED_ARG(lx); in idct_row0Inter()
325 void idct_row1Inter(Short *blk, UChar *rec, Int lx) in idct_row1Inter() argument
333 rec -= lx; in idct_row1Inter()
341 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */ in idct_row1Inter()
372 void idct_row2Inter(Short *blk, UChar *rec, Int lx) in idct_row2Inter() argument
380 rec -= lx; in idct_row2Inter()
400 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */ in idct_row2Inter()
431 void idct_row3Inter(Short *blk, UChar *rec, Int lx) in idct_row3Inter() argument
439 rec -= lx; in idct_row3Inter()
[all …]
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) in ChooseMode_C() argument
39 Int offset = (lx >> 2) - 4; in ChooseMode_C()
68 offset = lx - 16; in ChooseMode_C()
110 void GetHalfPelMBRegion_C(UChar *cand, UChar *hmem, Int lx) in GetHalfPelMBRegion_C() argument
116 Int offset = lx - 17; in GetHalfPelMBRegion_C()
118 p1 = cand - lx - 1; in GetHalfPelMBRegion_C()
119 p2 = cand - lx; in GetHalfPelMBRegion_C()
166 void GetHalfPelBlkRegion(UChar *cand, UChar *hmem, Int lx) in GetHalfPelBlkRegion() argument
[all …]
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, MOT *mot_mb);
[all …]
Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() argument
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
41 ref -= lx; in sad_mb_offset3()
53 x10 = *((uint32*)(ref += lx)); /* D C B A */ in sad_mb_offset3()
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3() argument
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3()
134 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3()
181 LDR x10, [ref], lx ; in sad_mb_offset3()
223 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() argument
[all …]
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; in FindHalfPelMB() local
87 Int next_ncand[9] = {0, 1 , lx, lx, 0, -1, -1, -lx, -lx}; in FindHalfPelMB()
127 ncand -= lx; /* initial position */ in FindHalfPelMB()
135 … d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_info); in FindHalfPelMB()
194 Int lx = video->currVop->pitch; in FindHalfPelBlk() local
236 swidth = lx; in FindHalfPelBlk()
249 d = (*SAD_Blk_HalfPel)(cand, cur8, dmin, lx, swidth, xh, yh, extra_info); in FindHalfPelBlk()
Dsad_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb() argument
101 ref -= lx; in simd_sad_mb()
108 x10 = *((uint32*)(ref += lx)); in simd_sad_mb()
163 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb()
167 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb()
171 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb()
257 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx)
297 LDR x10, [ref], lx ;
332 return sad_mb_offset3(ref, blk, lx, dmin, x8);
336 return sad_mb_offset2(ref, blk, lx, dmin, x8);
[all …]
Dmotion_est.cpp537 Int lx = video->currVop->width; // padding in InitHTFM() local
538 Int lx2 = lx << 1; in InitHTFM()
539 Int lx3 = lx2 + lx; in InitHTFM()
586 offset[4] = lx + 1; in InitHTFM()
588 offset[6] = lx + 3; in InitHTFM()
590 offset[8] = lx; in InitHTFM()
593 offset[11] = lx + 2 ; in InitHTFM()
787 Int lx = video->currVop->pitch; /* padding */ in MBMotionSearch() local
840 ncand = ref + imin + jmin * lx; in MBMotionSearch()
849 ncand = ref + imin + jmin * lx; in MBMotionSearch()
[all …]
Dfastcodemb.cpp78 Int lx = currVop->pitch; in CodeMB_H263() local
132 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_H263()
154 dctMode = ((lx << 3) - 8); in CodeMB_H263()
164 if (lx != width) input -= (ind_y << 7); in CodeMB_H263()
165 lx >>= 1; in CodeMB_H263()
185 if (lx != width) input -= (ind_y << 7); in CodeMB_H263()
237 … BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra); in CodeMB_H263()
309 Int lx = currVop->pitch; in CodeMB_MPEG() local
359 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_MPEG()
381 dctMode = ((lx << 3) - 8); in CodeMB_MPEG()
[all …]
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dsad_mb_offset.h22 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() argument
24 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3()
26 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3()
36 ref -= lx; in sad_mb_offset3()
48 x10 = *((uint32*)(ref += lx)); /* D C B A */ in sad_mb_offset3()
125 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3() argument
127 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3()
129 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3()
175 LDR x10, [ref], lx ; in sad_mb_offset3()
217 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() argument
[all …]
Dsad_inline.h77 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) in simd_sad_mb() argument
96 ref -= lx; in simd_sad_mb()
103 x10 = *((uint32*)(ref += lx)); in simd_sad_mb()
158 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb()
162 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb()
166 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb()
252 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx)
292 LDR x10, [ref], lx ;
327 return sad_mb_offset3(ref, blk, lx, dmin, x8);
331 return sad_mb_offset2(ref, blk, lx, dmin, x8);
[all …]
Dmotion_est.cpp606 int lx = video->currPic->width; // padding in InitHTFM() local
607 int lx2 = lx << 1; in InitHTFM()
608 int lx3 = lx2 + lx; in InitHTFM()
655 offset[4] = lx + 1; in InitHTFM()
657 offset[6] = lx + 3; in InitHTFM()
659 offset[8] = lx; in InitHTFM()
662 offset[11] = lx + 2 ; in InitHTFM()
974 int lx = currPic->pitch; /* padding */ in AVCMBMotionSearch() local
1058 ncand = ref + i0 + j0 * lx; in AVCMBMotionSearch()
1067 ncand = ref + imin + jmin * lx; in AVCMBMotionSearch()
[all …]
/external/webkit/WebCore/rendering/
DRenderFieldset.cpp187 const RenderStyle* style, int lx, int lw, int lb) in paintBorderMinusLegend() argument
206 if (lx >= borderLeftWidth) in paintBorderMinusLegend()
207 …drawBorder(graphicsContext, tx, ty, tx + min(lx, w), ty + style->borderTopWidth(), BSTop, tc, styl… in paintBorderMinusLegend()
209 … (lx >= w && render_r && (rs == DOTTED || rs == DASHED || rs == DOUBLE) ? borderRightWidth : 0)); in paintBorderMinusLegend()
210 if (lx + lw <= w - borderRightWidth) in paintBorderMinusLegend()
211 …drawBorder(graphicsContext, tx + max(0, lx + lw), ty, tx + w, ty + style->borderTopWidth(), BSTop,… in paintBorderMinusLegend()
212 …(lx + lw <= 0 && render_l && (ls == DOTTED || ls == DASHED || ls == DOUBLE) ? borderLeftWidth : 0), in paintBorderMinusLegend()
235 if (lx < borderLeftWidth && lx + lw > 0) { in paintBorderMinusLegend()
259 if (lx < w && lx + lw > w - borderRightWidth) { in paintBorderMinusLegend()

123