Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
Ddcac_prediction.cpp30 int comp, in doDCACPrediction() argument
79 if (!comp && x_pos && !(video->headerInfo.Mode[mbnum-1]&INTRA_MASK)) /* not intra */ in doDCACPrediction()
83 if (!comp && y_pos && !(video->headerInfo.Mode[mbnum-nMBPerRow]&INTRA_MASK)) /* not intra */ in doDCACPrediction()
88 y_offset = Ypos[comp] * nMBPerRow; in doDCACPrediction()
89 x_offset = Xpos[comp]; in doDCACPrediction()
90 x_tab = Xtab[comp]; in doDCACPrediction()
91 y_tab = Ytab[comp]; in doDCACPrediction()
92 z_tab = Ztab[comp]; in doDCACPrediction()
94 b_xtab = B_Xtab[comp]; in doDCACPrediction()
95 b_ytab = B_Ytab[comp]; in doDCACPrediction()
[all …]
Dmb_utils.cpp25 void PutSKIPPED_MB(uint8 *comp, uint8 *prev, int width) in PutSKIPPED_MB() argument
35 temp1 = (int32 *)comp; in PutSKIPPED_MB()
42 comp += width; in PutSKIPPED_MB()
46 temp1 = (int32 *)comp; in PutSKIPPED_MB()
53 comp += width; in PutSKIPPED_MB()
57 temp1 = (int32 *)comp; in PutSKIPPED_MB()
64 comp += width; in PutSKIPPED_MB()
68 temp1 = (int32 *)comp; in PutSKIPPED_MB()
74 comp += width; in PutSKIPPED_MB()
86 void PutSKIPPED_B(uint8 *comp, uint8 *prev, int width) in PutSKIPPED_B() argument
[all …]
Dcombined_decode.cpp360 int comp; in GetMBheader() local
375 for (comp = 0; comp < 6; comp++) in GetMBheader()
377 (*DC)[comp] = mid_gray; in GetMBheader()
540 int comp; local
588 for (comp = 0; comp < 6; comp++)
590 dataBlock = mblock->block[comp]; /* 10/20/2000 */
620 …ncoeffs[comp] = VlcDequantH263IntraBlock_SH(video, comp, mblock->bitmapcol[comp], &mblock->bitmapr…
627 status = PV_DecodePredictedIntraDC(comp, stream, &DC_coeff);
632 ncoeffs[comp] = VlcDequantH263IntraBlock(video, comp,
633 switched, mblock->bitmapcol[comp], &mblock->bitmaprow[comp]);
[all …]
Ddatapart_decode.cpp525 int comp; in GetMBheaderDataPart_DQUANT_DC() local
552 for (comp = 0; comp < 6; comp++) in GetMBheaderDataPart_DQUANT_DC()
554 status = PV_DecodePredictedIntraDC(comp, stream, (*DC + comp)); /* 03/01/01 */ in GetMBheaderDataPart_DQUANT_DC()
560 for (comp = 0; comp < 6; comp++) in GetMBheaderDataPart_DQUANT_DC()
562 (*DC)[comp] = 0; /* 04/26/01 needed for switched case*/ in GetMBheaderDataPart_DQUANT_DC()
581 int comp; in GetMBheaderDataPart_P() local
591 for (comp = 0; comp < 6; comp++) in GetMBheaderDataPart_P()
593 (*DC)[comp] = mid_gray; in GetMBheaderDataPart_P()
633 int comp; in GetMBData_DataPart() local
678 for (comp = 0; comp < 6; comp++) in GetMBData_DataPart()
[all …]
Didct.cpp122 int *blk, uint8 *comp, int width in idct_intra() argument
255 *comp++ = a; in idct_intra()
256 *comp++ = a; in idct_intra()
257 *comp++ = a; in idct_intra()
258 *comp++ = a; in idct_intra()
259 *comp++ = a; in idct_intra()
260 *comp++ = a; in idct_intra()
261 *comp++ = a; in idct_intra()
262 *comp++ = a; in idct_intra()
264 comp += offset; in idct_intra()
[all …]
Dmp4dec_lib.h85 void doDCACPrediction(VideoDecData *video, int comp, int16 *q_block,
89 void doDCACPrediction_I(VideoDecData *video, int comp, int16 *q_block);
99 void BlockIDCT_intra(MacroBlock *mblock, PIXEL *c_comp, int comp, int width_offset);
266 void Copy_MB_into_Vop(uint8 *comp, int yChan[][NCOEFF_BLOCK], int width);
267 void Copy_B_into_Vop(uint8 *comp, int cChan[], int width);
268 void PutSKIPPED_MB(uint8 *comp, uint8 *c_prev, int width);
269 void PutSKIPPED_B(uint8 *comp, uint8 *c_prev, int width);
314 int VlcDequantMpegIntraBlock(void *video, int comp, int switched,
316 int VlcDequantMpegInterBlock(void *video, int comp,
319 int VlcDequantH263IntraBlock(VideoDecData *video, int comp, int switched,
[all …]
Dvlc_dequant.cpp50 int VlcDequantMpegIntraBlock(void *vid, int comp, int switched, in VlcDequantMpegIntraBlock() argument
56 …int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero… in VlcDequantMpegIntraBlock()
84 dcac_row = (*DCAC_row)[B_Xtab[comp]]; in VlcDequantMpegIntraBlock()
85 dcac_col = (*DCAC_col)[B_Ytab[comp]]; in VlcDequantMpegIntraBlock()
99 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr; in VlcDequantMpegIntraBlock()
107 doDCACPrediction(video, comp, datablock, &direction); in VlcDequantMpegIntraBlock()
110 if (CBP & (1 << (5 - comp))) in VlcDequantMpegIntraBlock()
367 (*DC)[comp] = datablock[0]; in VlcDequantMpegIntraBlock()
383 int VlcDequantMpegInterBlock(void *vid, int comp, in VlcDequantMpegInterBlock() argument
389 …int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero… in VlcDequantMpegInterBlock()
[all …]
Didct.h59 void idctrow0_intra(int16 *blk, PIXEL *comp, int width);
60 void idctrow1_intra(int16 *blk, PIXEL *comp, int width);
61 void idctrow2_intra(int16 *blk, PIXEL *comp, int width);
62 void idctrow3_intra(int16 *blk, PIXEL *comp, int width);
63 void idctrow4_intra(int16 *blk, PIXEL *comp, int width);
Didct_vca.cpp419 void idctrow1_intra(int16 *blk, PIXEL *comp, int width) in idctrow1_intra() argument
427 comp -= offset; in idctrow1_intra()
437 *((uint32*)(comp += offset)) = word; in idctrow1_intra()
438 *((uint32*)(comp + 4)) = word; in idctrow1_intra()
448 void idctrow2_intra(int16 *blk, PIXEL *comp, int width) in idctrow2_intra() argument
455 comp -= offset; in idctrow2_intra()
485 *((int32*)(comp += offset)) = word; in idctrow2_intra()
498 *((int32*)(comp + 4)) = word; in idctrow2_intra()
505 void idctrow3_intra(int16 *blk, PIXEL *comp, int width) in idctrow3_intra() argument
512 comp -= offset; in idctrow3_intra()
[all …]
Dblock_idct.cpp251 MacroBlock *mblock, PIXEL *c_comp, int comp, int width) in BlockIDCT_intra() argument
256 int16 *coeff_in = mblock->block[comp]; in BlockIDCT_intra()
260 int nz_coefs = mblock->no_coeff[comp]; in BlockIDCT_intra()
261 uint8 *bitmapcol = mblock->bitmapcol[comp]; in BlockIDCT_intra()
262 uint8 bitmaprow = mblock->bitmaprow[comp]; in BlockIDCT_intra()
307 void idct_intra(int *block, uint8 *comp, int width); in BlockIDCT_intra()
311 void idctref_intra(int *block, uint8 *comp, int width); in BlockIDCT_intra()
621 int16 *blk, PIXEL *comp, int width in idctrow_intra() argument
710 *((int32*)(comp)) = word; in idctrow_intra()
726 *((int32*)(comp + 4)) = word; in idctrow_intra()
[all …]
Dmb_motion_comp.cpp553 Vop *comp; in SkippedMBMotionComp() local
583 comp = video->currVop; in SkippedMBMotionComp()
585 c_comp = comp->yChan + offset; in SkippedMBMotionComp()
586 cu_comp = comp->uChan + (offset >> 2) + (xpos >> 2); in SkippedMBMotionComp()
587 cv_comp = comp->vChan + (offset >> 2) + (xpos >> 2); in SkippedMBMotionComp()
/frameworks/base/services/java/com/android/server/
DRecognitionManagerService.java43 ComponentName comp = getCurRecognizer(); in onSomePackagesChanged() local
44 if (comp == null) { in onSomePackagesChanged()
46 comp = findAvailRecognizer(null); in onSomePackagesChanged()
47 if (comp != null) { in onSomePackagesChanged()
48 setCurRecognizer(comp); in onSomePackagesChanged()
54 int change = isPackageDisappearing(comp.getPackageName()); in onSomePackagesChanged()
59 } else if (isPackageModified(comp.getPackageName())) { in onSomePackagesChanged()
60 setCurRecognizer(findAvailRecognizer(comp.getPackageName())); in onSomePackagesChanged()
72 ComponentName comp = getCurRecognizer(); in systemReady() local
73 if (comp != null) { in systemReady()
[all …]
DWallpaperManagerService.java235 ComponentName comp = mWallpaperComponent; in onPackageUpdateFinished() local
237 if (!bindWallpaperComponentLocked(comp, false, false)) { in onPackageUpdateFinished()
756 String comp = parser.getAttributeValue(null, "component"); in loadSettingsLocked() local
757 mNextWallpaperComponent = comp != null in loadSettingsLocked()
758 ? ComponentName.unflattenFromString(comp) in loadSettingsLocked()
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
Dfindhalfpel.cpp187 Int k, comp; in FindHalfPelBlk() local
207 for (comp = 0; comp < 4; comp++) in FindHalfPelBlk()
215 imin = xpos + ((comp & 1) << 3) + (mot[comp+1].x >> 1); in FindHalfPelBlk()
216 jmin = ypos + ((comp & 2) << 2) + (mot[comp+1].y >> 1); in FindHalfPelBlk()
217 ilow = xpos + ((comp & 1) << 3) - range; in FindHalfPelBlk()
218 jlow = ypos + ((comp & 2) << 2) - range; in FindHalfPelBlk()
231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ; in FindHalfPelBlk()
235 cand = ncand8[comp+1]; in FindHalfPelBlk()
239 xhmin[comp+1] = 0; in FindHalfPelBlk()
240 yhmin[comp+1] = 0; in FindHalfPelBlk()
[all …]
Dvlc_encode.cpp2035 Int comp; in DCACPred() local
2111 for (comp = 0; comp < 6; comp++) in DCACPred()
2114 if (Ypos[comp] != 0) y_offset = -nMBPerRow; in DCACPred()
2116 x_offset = Xpos[comp]; in DCACPred()
2117 x_tab = Xtab[comp]; in DCACPred()
2118 y_tab = Ytab[comp]; in DCACPred()
2119 z_tab = Ztab[comp]; in DCACPred()
2121 b_xtab = B_Xtab[comp]; in DCACPred()
2122 b_ytab = B_Ytab[comp]; in DCACPred()
2124 qcoeff = MB->block[comp]; in DCACPred()
[all …]
Dmotion_est.cpp142 Int i, j, comp; in MotionEstimation() local
327 for (comp = 1; comp <= 4; comp++) in MotionEstimation()
329 mot_mb[comp].x = 0; in MotionEstimation()
330 mot_mb[comp].y = 0; in MotionEstimation()
434 for (comp = 1; comp <= 4; comp++) in MotionEstimation()
436 if (mot_mb[comp].x > max_mag) in MotionEstimation()
437 max_mag = mot_mb[comp].x; in MotionEstimation()
438 if (mot_mb[comp].y > max_mag) in MotionEstimation()
439 max_mag = mot_mb[comp].y; in MotionEstimation()
440 if (mot_mb[comp].x < min_mag) in MotionEstimation()
[all …]
Dfastcodemb.h70 Int dctMode, Int comp, Int dummy);
74 Int dctMode, Int comp, Int dc_scaler);
84 Int DctMode, Int comp, Int dc_scaler);
88 Int DctMode, Int comp, Int dc_scaler);
Dmotion_comp.cpp40 void Copy_MB_from_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int width);
41 void Copy_B_from_Vop(UChar *comp, Int cChan[], Int width);
42 void Copy_MB_into_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int width);
43 void Copy_B_into_Vop(UChar *comp, Int cChan[], Int width);
1717 void Copy_MB_from_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int pitch) in Copy_MB_from_Vop() argument
1735 temp = *((ULong*)comp); in Copy_MB_from_Vop()
1740 comp += 4; in Copy_MB_from_Vop()
1746 temp = *((ULong*)comp); in Copy_MB_from_Vop()
1751 comp += 4; in Copy_MB_from_Vop()
1754 comp += offset; in Copy_MB_from_Vop()
[all …]
Dfastquant.cpp151 Int dctMode, Int comp, Int dummy, UChar shortHeader) in BlockQuantDequantH263Inter() argument
166 OSCL_UNUSED_ARG(comp); in BlockQuantDequantH263Inter()
271 Int dctMode, Int comp, Int dc_scaler, UChar shortHeader) in BlockQuantDequantH263Intra() argument
285 OSCL_UNUSED_ARG(comp); in BlockQuantDequantH263Intra()
546 Int dctMode, Int comp, Int dc_scaler) in BlockQuantDequantMPEGInter() argument
559 OSCL_UNUSED_ARG(comp); in BlockQuantDequantMPEGInter()
675 Int dctMode, Int comp, Int dc_scaler) in BlockQuantDequantMPEGIntra() argument
690 OSCL_UNUSED_ARG(comp); in BlockQuantDequantMPEGIntra()
Dmp4enc_lib.h67 Int dctMode, Int comp, Int dummy, UChar shortHeader);
71 Int dctMode, Int comp, Int dc_scaler, UChar shortHeader);
82 Int DctMode, Int comp, Int dc_scaler);
86 Int DctMode, Int comp, Int dc_scaler);
/frameworks/base/core/java/android/database/
DCursorJoiner.java257 int comp = values[index].compareTo(values[index+1]); in compareStrings() local
258 if (comp != 0) { in compareStrings()
259 return comp < 0 ? -1 : 1; in compareStrings()
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java186 String comp = in.readString(); in PkgUsageStatsExtended() local
187 if (localLOGV) Slog.v(TAG, "Component: " + comp); in PkgUsageStatsExtended()
189 mLaunchTimes.put(comp, times); in PkgUsageStatsExtended()
193 void updateResume(String comp, boolean launched) { in updateResume() argument
205 void addLaunchCount(String comp) { in addLaunchCount() argument
206 TimeStats times = mLaunchTimes.get(comp); in addLaunchCount()
209 mLaunchTimes.put(comp, times); in addLaunchCount()
214 void addLaunchTime(String comp, int millis) { in addLaunchTime() argument
215 TimeStats times = mLaunchTimes.get(comp); in addLaunchTime()
218 mLaunchTimes.put(comp, times); in addLaunchTime()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_conceal.c259 u32 i, j, comp; in ConcealMb() local
458 for (comp = 0; comp < 2; comp++) in ConcealMb()
553 pData = data + 256 + comp*64; in ConcealMb()
Dh264bsd_reconstruct.c124 u32 comp; in h264bsdInterpolateChromaHor() local
154 for (comp = 0; comp <= 1; comp++) in h264bsdInterpolateChromaHor()
157 ptrA = pRef + (comp * height + (u32)y0) * width + x0; in h264bsdInterpolateChromaHor()
158 cbr = predPartChroma + comp * 8 * 8; in h264bsdInterpolateChromaHor()
220 u32 comp; in h264bsdInterpolateChromaVer() local
250 for (comp = 0; comp <= 1; comp++) in h264bsdInterpolateChromaVer()
253 ptrA = pRef + (comp * height + (u32)y0) * width + x0; in h264bsdInterpolateChromaVer()
254 cbr = predPartChroma + comp * 8 * 8; in h264bsdInterpolateChromaVer()
314 u32 comp; in h264bsdInterpolateChromaHorVer() local
346 for (comp = 0; comp <= 1; comp++) in h264bsdInterpolateChromaHorVer()
[all …]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java169 private static int computePrePostMul(int alpha, int comp) { in computePrePostMul() argument
173 int premul = Math.round(alpha * comp / 255.f); in computePrePostMul()

12