Home
last modified time | relevance | path

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

123

/frameworks/av/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 …]
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);
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_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/av/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()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Dtransform.rs40 const SgTransformComponent *comp = NULL;
41 comp = (const SgTransformComponent *)rsGetElementAt(data->components, i);
43 if (rsIsObject(comp->name)) {
44 rsDebug((const char*)rsGetElementAt(comp->name, 0), comp->value);
45 rsDebug("Type", comp->type);
47 rsDebug("no name", comp->value);
48 rsDebug("Type", comp->type);
96 const SgTransformComponent *comp = NULL;
97 comp = (const SgTransformComponent *)rsGetElementAt(data->components, i);
98 appendTransformation(comp->type, comp->value, localMat);
/frameworks/support/v4/java/android/support/v4/content/
DWakefulBroadcastReceiver.java89 ComponentName comp = context.startService(intent); in startWakefulService() local
90 if (comp == null) { in startWakefulService()
96 "wake:" + comp.flattenToShortString()); in startWakefulService()
100 return comp; in startWakefulService()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java47 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp) in VoiceInteractionServiceInfo() argument
49 this(pm, pm.getServiceInfo(comp, PackageManager.GET_META_DATA)); in VoiceInteractionServiceInfo()
52 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp, int userHandle) in VoiceInteractionServiceInfo() argument
54 this(pm, AppGlobals.getPackageManager().getServiceInfo(comp, in VoiceInteractionServiceInfo()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java266 ComponentName comp = new ComponentName(cur.packageName, cur.name); in findAvailInteractor() local
269 mContext.getPackageManager(), comp, userHandle); in findAvailInteractor()
286 Slog.w(TAG, "Bad interaction service " + comp + ": " in findAvailInteractor()
290 Slog.w(TAG, "Failure looking up interaction service " + comp); in findAvailInteractor()
312 void setCurInteractor(ComponentName comp, int userHandle) { in setCurInteractor() argument
315 comp != null ? comp.flattenToShortString() : "", userHandle); in setCurInteractor()
316 if (DEBUG) Slog.i(TAG, "setCurInteractor comp=" + comp in setCurInteractor()
359 void setCurRecognizer(ComponentName comp, int userHandle) { in setCurRecognizer() argument
362 comp != null ? comp.flattenToShortString() : "", userHandle); in setCurRecognizer()
363 if (DEBUG) Slog.i(TAG, "setCurRecognizer comp=" + comp in setCurRecognizer()
/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/core/java/android/bluetooth/
DBluetoothPbap.java161 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); in doBind() local
162 intent.setComponent(comp); in doBind()
163 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothAvrcpController.java123 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); in doBind() local
124 intent.setComponent(comp); in doBind()
125 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothA2dpSink.java181 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); in doBind() local
182 intent.setComponent(comp); in doBind()
183 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()

123