Home
last modified time | relevance | path

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

1234

/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 …]
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()
622 int16 *blk, PIXEL *comp, int width in idctrow_intra() argument
711 *((int32*)(comp)) = word; in idctrow_intra()
727 *((int32*)(comp + 4)) = word; in idctrow_intra()
[all …]
/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);
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h63 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component> &comp, in onWorkDone()
66 (void)comp; in onWorkDone()
71 const std::weak_ptr<android::Codec2Client::Component> &comp, in onTripped()
73 (void)comp; in onTripped()
77 virtual void onError(const std::weak_ptr<android::Codec2Client::Component> &comp, in onError()
79 (void)comp; in onError()
84 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component> &comp) override { in onDeath()
85 (void)comp; in onDeath()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h60 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
64 (void)comp; in onWorkDone()
69 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped()
72 (void)comp; in onTripped()
76 virtual void onError(const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
79 (void)comp; in onError()
84 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
86 (void)comp; in onDeath()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp148 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect() argument
152 return toStatusT(comp->connectToInputSurface(mSurface, &mConnection)); in connect()
202 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect() argument
203 mNode = new C2OMXNode(comp); in connect()
513 std::shared_ptr<Codec2Client::Component> comp = component.lock(); in onDeath() local
514 if (!comp) { in onDeath()
517 ALOGE("Codec2 component \"%s\" died.", comp->getName().c_str()); in onDeath()
637 std::shared_ptr<Codec2Client::Component> comp = in allocate() local
642 if (!comp) { in allocate()
652 mChannel->setComponent(comp); in allocate()
[all …]
DC2OMXNode.cpp59 const std::shared_ptr<Codec2Client::Component> &comp, in queue() argument
65 auto it = jobs->queues.try_emplace(comp, comp).first; in queue()
87 std::shared_ptr<Codec2Client::Component> comp = queue.component.lock(); in threadLoop() local
88 if (!comp) { in threadLoop()
109 comp->queue(&items); in threadLoop()
115 it = jobs->queues.upper_bound(comp); in threadLoop()
148 Queue(const std::shared_ptr<Codec2Client::Component> &comp) in Queue()
149 : component(comp), lastQueuedTimestampNs(0) {} in Queue()
166 C2OMXNode::C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2OMXNode() argument
167 : mComp(comp), mFrameIndex(0), mWidth(0), mHeight(0), mUsage(0), in C2OMXNode()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java50 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp) in VoiceInteractionServiceInfo() argument
52 this(pm, pm.getServiceInfo(comp, PackageManager.GET_META_DATA)); in VoiceInteractionServiceInfo()
55 public VoiceInteractionServiceInfo(PackageManager pm, ComponentName comp, int userHandle) in VoiceInteractionServiceInfo() argument
57 this(pm, getServiceInfoOrThrow(comp, userHandle)); in VoiceInteractionServiceInfo()
60 static ServiceInfo getServiceInfoOrThrow(ComponentName comp, int userHandle) in getServiceInfoOrThrow() argument
63 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo(comp, in getServiceInfoOrThrow()
74 throw new PackageManager.NameNotFoundException(comp.toString()); in getServiceInfoOrThrow()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java277 NotificationComparator comp = new NotificationComparator(mContext); in testRankingScoreOverrides() local
279 assertTrue(comp.compare(mRecordMinCall, recordMinCallNonInterruptive) < 0); in testRankingScoreOverrides()
282 assertTrue(comp.compare(mRecordMinCall, recordMinCallNonInterruptive) > 0); in testRankingScoreOverrides()
283 assertTrue(comp.compare(mRecordCheater, recordMinCallNonInterruptive) > 0); in testRankingScoreOverrides()
284 assertTrue(comp.compare(mRecordColorizedCall, recordMinCallNonInterruptive) < 0); in testRankingScoreOverrides()
289 NotificationComparator comp = new NotificationComparator(mContext);
290 assertTrue(comp.isImportantMessaging(mRecordInlineReply));
292 assertTrue(comp.isImportantMessaging(mRecordSms));
294 assertFalse(comp.isImportantMessaging(mRecordEmail));
295 assertFalse(comp.isImportantMessaging(mRecordCheater));
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Resize.S143 .irp comp, 1, 2, 4
144 .if \comp == 1
146 .elseif \comp == 2
148 .elseif \comp == 4
177 ENTRY(rsdIntrinsicResizeB\comp\()_K)
241 .if \comp == 1
247 .elseif \comp == 2
253 .elseif \comp == 4
318 .if \comp == 4
338 .if \comp == 1
[all …]
DrsCpuIntrinsics_advsimd_Resize.S126 .irp comp, 1, 2, 4
127 .if \comp == 1
129 .elseif \comp == 2
131 .elseif \comp == 4
155 ENTRY(rsdIntrinsicResizeB\comp\()_K)
213 .if \comp == 1
219 .elseif \comp == 2
225 .elseif \comp == 4
283 .if \comp == 4
303 .if \comp == 1
[all …]
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureServiceInfo.java56 private static ServiceInfo getServiceInfoOrThrow(ComponentName comp, boolean isTemp, in getServiceInfoOrThrow() argument
65 si = AppGlobals.getPackageManager().getServiceInfo(comp, flags, userId); in getServiceInfoOrThrow()
71 + " " + comp.flattenToShortString()); in getServiceInfoOrThrow()
82 public ContentCaptureServiceInfo(@NonNull Context context, @NonNull ComponentName comp, in ContentCaptureServiceInfo() argument
85 this(context, getServiceInfoOrThrow(comp, isTemporaryService, userId)); in ContentCaptureServiceInfo()
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java325 CompositePositionUpdateListener comp = mCompositePositionUpdateListener; in addPositionUpdateListener() local
326 if (comp == null) { in addPositionUpdateListener()
327 comp = new CompositePositionUpdateListener(listener); in addPositionUpdateListener()
329 comp = comp.with(listener); in addPositionUpdateListener()
331 mCompositePositionUpdateListener = comp; in addPositionUpdateListener()
332 nRequestPositionUpdates(mNativeRenderNode, comp); in addPositionUpdateListener()
343 CompositePositionUpdateListener comp = mCompositePositionUpdateListener; in removePositionUpdateListener() local
344 if (comp != null) { in removePositionUpdateListener()
345 comp = comp.without(listener); in removePositionUpdateListener()
346 mCompositePositionUpdateListener = comp; in removePositionUpdateListener()
[all …]
/frameworks/base/services/net/java/android/net/
DConnectivityModuleConnector.java162 final ComponentName comp = intent.resolveSystemService(pm, 0); in getModuleServiceIntent() local
163 if (comp == null) { in getModuleServiceIntent()
166 intent.setComponent(comp); in getModuleServiceIntent()
170 uid = pm.getPackageUidAsUser(comp.getPackageName(), UserHandle.USER_SYSTEM); in getModuleServiceIntent()
183 checkModuleServicePermission(pm, comp, servicePermissionName); in getModuleServiceIntent()
286 @NonNull PackageManager pm, @NonNull ComponentName comp, in checkModuleServicePermission() argument
289 pm.checkPermission(servicePermissionName, comp.getPackageName()); in checkModuleServicePermission()

1234