/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | motion_comp.cpp | 45 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 */ in EncPrediction_INTER() argument 209 c_prev += (xpred >> 1) + ((ypred >> 1) * lx); in EncPrediction_INTER() 211 GetPredAdvBTable[ypred&1][xpred&1](c_prev, c_rec, lx, round1); in EncPrediction_INTER() 216 GetPredAdvBTable[ypred&1][xpred&1](c_prev, c_rec, lx, round1); in EncPrediction_INTER() 218 c_prev += (lx << 3) - B_SIZE; in EncPrediction_INTER() [all …]
|
D | dct.h | 60 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 …]
|
D | fastidct.cpp | 313 void idct_row0Inter(Short *srce, UChar *rec, Int lx) in idct_row0Inter() argument 319 OSCL_UNUSED_ARG(lx); in idct_row0Inter() 324 void idct_row1Inter(Short *blk, UChar *rec, Int lx) in idct_row1Inter() argument 332 rec -= lx; in idct_row1Inter() 340 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */ in idct_row1Inter() 371 void idct_row2Inter(Short *blk, UChar *rec, Int lx) in idct_row2Inter() argument 379 rec -= lx; in idct_row2Inter() 399 pred_word = *((uint32*)(rec += lx)); /* read 4 bytes from pred */ in idct_row2Inter() 430 void idct_row3Inter(Short *blk, UChar *rec, Int lx) in idct_row3Inter() argument 438 rec -= lx; in idct_row3Inter() [all …]
|
D | me_utils.cpp | 23 #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 …]
|
D | mp4enc_lib.h | 55 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 …]
|
D | sad_mb_offset.h | 27 __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 …]
|
D | findhalfpel.cpp | 37 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()
|
D | sad_inline.h | 82 __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 …]
|
D | motion_est.cpp | 537 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 …]
|
D | fastcodemb.cpp | 77 Int lx = currVop->pitch; in CodeMB_H263() local 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_H263() 153 dctMode = ((lx << 3) - 8); in CodeMB_H263() 163 if (lx != width) input -= (ind_y << 7); in CodeMB_H263() 164 lx >>= 1; in CodeMB_H263() 184 if (lx != width) input -= (ind_y << 7); in CodeMB_H263() 236 … BlockIDCTMotionComp(dataBlock, bitmapcol, bitmaprow[k], dctMode, rec, pred, (lx << 1) | intra); in CodeMB_H263() 308 Int lx = currVop->pitch; in CodeMB_MPEG() local 358 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_MPEG() 380 dctMode = ((lx << 3) - 8); in CodeMB_MPEG() [all …]
|
D | fastcodemb.h | 56 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);
|
D | mp4lib_int.h | 239 …Int(*SAD_Blk_HalfPel)(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr… 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);
|
D | sad.cpp | 64 Int SAD_MB_PAD1(UChar *ref, UChar *cur, Int dmin, Int lx, Int *rep); 82 Int lx = dmin_lx & 0xFFFF; in SAD_Macroblock_C() local 88 x10 = simd_sad_mb(ref, blk, dmin, lx); in SAD_Macroblock_C() 314 Int SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *) in SAD_Block_C() argument 322 Int width = (lx - 32); in SAD_Block_C() 355 ii += lx; in SAD_Block_C()
|
D | datapart_encode.cpp | 43 Int lx = currVop->pitch; /* with padding */ in EncodeFrameDataPartMode() local 171 offset += (lx << 4) - width; in EncodeFrameDataPartMode() 220 Int lx = currVop->pitch; /* , with pading */ in EncodeSliceDataPartMode() local 436 offset += (lx << 4) - width; in EncodeSliceDataPartMode()
|
D | combined_encode.cpp | 44 Int lx = currVop->pitch; /* with padding */ in EncodeFrameCombinedMode() local 210 offset += (lx << 4) - width; in EncodeFrameCombinedMode() 272 Int lx = currVop->pitch; /* , with padding */ in EncodeSliceCombinedMode() local 524 offset += (lx << 4) - width; in EncodeSliceCombinedMode() 539 offset += (lx << 4) - width; in EncodeSliceCombinedMode()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastMath.java | 33 long lx = (long) (value * (65536 * 256f)); in round() local 34 return (int) ((lx + 0x800000) >> 24); in round()
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 319 int lx, int ly, int nx, int ny, in getBilinearSample2D() argument 327 return getSample_RGBA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D() 329 return getSample_A(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D() 331 return getSample_LA(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D() 334 return getSample_565(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D() 336 return getSample_RGB(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D() 338 return getSample_L(p, stride, lx, ly, nx, ny, w0, w1, w2, w3); in getBilinearSample2D() 502 int lx = wrapI(wrapS, iPixelU, sourceW); in sample_LOD_LinearPixel() local 505 return getBilinearSample2D(alloc, w0, w1, w2, w3, lx, ly, nx, ny, dk, dt, lod); in sample_LOD_LinearPixel()
|