/frameworks/av/media/libstagefright/ |
D | SimpleDecodingSource.cpp | 140 Mutexed<ProtectedState>::Locked me(mProtectedState); in start() local 141 if (me->mState != INIT) { in start() 150 me->mState = STARTED; in start() 151 me->mQueuedInputEOS = false; in start() 152 me->mGotOutputEOS = false; in start() 154 me->mState = ERROR; in start() 161 Mutexed<ProtectedState>::Locked me(mProtectedState); in stop() local 162 if (me->mState != STARTED) { in stop() 167 me->mState = STOPPING; in stop() 168 while (me->mReading) { in stop() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSEmbedInfo.cpp | 71 bcinfo::MetadataExtractor me(module); in getRSInfoString() local 72 if (!me.extract()) { in getRSInfoString() 77 size_t exportVarCount = me.getExportVarCount(); in getRSInfoString() 78 size_t exportFuncCount = me.getExportFuncCount(); in getRSInfoString() 79 size_t exportForEachCount = me.getExportForEachSignatureCount(); in getRSInfoString() 80 size_t exportReduceCount = me.getExportReduceCount(); in getRSInfoString() 81 size_t objectSlotCount = me.getObjectSlotCount(); in getRSInfoString() 82 size_t pragmaCount = me.getPragmaCount(); in getRSInfoString() 83 const char **exportVarNameList = me.getExportVarNameList(); in getRSInfoString() 84 const char **exportFuncNameList = me.getExportFuncNameList(); in getRSInfoString() [all …]
|
D | Compiler.cpp | 372 bcinfo::MetadataExtractor me(&module); in addInternalizeSymbolsPass() local 373 if (!me.extract()) { in addInternalizeSymbolsPass() 402 size_t exportVarCount = me.getExportVarCount(); in addInternalizeSymbolsPass() 403 size_t exportFuncCount = me.getExportFuncCount(); in addInternalizeSymbolsPass() 404 size_t exportForEachCount = me.getExportForEachSignatureCount(); in addInternalizeSymbolsPass() 405 size_t exportReduceCount = me.getExportReduceCount(); in addInternalizeSymbolsPass() 406 const char **exportVarNameList = me.getExportVarNameList(); in addInternalizeSymbolsPass() 407 const char **exportFuncNameList = me.getExportFuncNameList(); in addInternalizeSymbolsPass() 408 const char **exportForEachNameList = me.getExportForEachNameList(); in addInternalizeSymbolsPass() 409 const bcinfo::MetadataExtractor::Reduce *exportReduceList = me.getExportReduceList(); in addInternalizeSymbolsPass()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftOMXComponent.cpp | 115 SoftOMXComponent *me = in SendCommandWrapper() local 119 return me->sendCommand(cmd, param, data); in SendCommandWrapper() 127 SoftOMXComponent *me = in GetParameterWrapper() local 131 return me->getParameter(index, params); in GetParameterWrapper() 139 SoftOMXComponent *me = in SetParameterWrapper() local 143 return me->setParameter(index, params); in SetParameterWrapper() 151 SoftOMXComponent *me = in GetConfigWrapper() local 155 return me->getConfig(index, params); in GetConfigWrapper() 163 SoftOMXComponent *me = in SetConfigWrapper() local 167 return me->setConfig(index, params); in SetConfigWrapper() [all …]
|
D | SoftOMXPlugin.cpp | 166 SoftOMXComponent *me = in destroyComponentInstance() local 170 me->prepareForDestruction(); in destroyComponentInstance() 172 void *libHandle = me->libHandle(); in destroyComponentInstance() 174 CHECK_EQ(me->getStrongCount(), 1); in destroyComponentInstance() 175 me->decStrong(this); in destroyComponentInstance() 176 me = NULL; in destroyComponentInstance()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 225 C2R C2SoftVpxEnc::IntfImpl::BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument 228 if (me.v.value < 4096) { in BitrateSetter() 229 me.set().value = 4096; in BitrateSetter() 236 C2P<C2StreamPictureSizeInfo::input>& me) { in SizeSetter() argument 239 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 240 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 241 me.set().width = oldMe.v.width; in SizeSetter() 243 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 244 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 245 me.set().height = oldMe.v.height; in SizeSetter() [all …]
|
D | C2SoftVpxDec.cpp | 242 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument 245 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 246 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 247 me.set().width = oldMe.v.width; in SizeSetter() 249 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 250 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 251 me.set().height = oldMe.v.height; in SizeSetter() 256 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument 260 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 2048u); in MaxPictureSizeSetter() 261 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 2048u); in MaxPictureSizeSetter() [all …]
|
D | C2SoftVpxEnc.h | 245 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me); 248 C2P<C2StreamPictureSizeInfo::input> &me); 250 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output>& me, 255 static C2R LayeringSetter(bool mayBlock, C2P<C2StreamTemporalLayeringTuning::output>& me); 258 C2P<C2StreamPictureQuantizationTuning::output> &me); 283 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me); 284 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me,
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 261 C2P<C2StreamPictureSizeInfo::output>& me) { in SizeSetter() argument 264 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 265 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 266 me.set().width = oldMe.v.width; in SizeSetter() 268 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 269 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 270 me.set().height = oldMe.v.height; in SizeSetter() 275 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output>& me, in MaxPictureSizeSetter() argument 280 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter() 281 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter() [all …]
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Interface.h | 207 bool mayBlock, C2InterfaceHelper::C2P<type> &me) { in NonStrictValueWithNoDeps() 209 return me.F(me.v.value).validatePossible(me.v.value); in NonStrictValueWithNoDeps() 214 bool mayBlock, C2InterfaceHelper::C2P<type> &me) { in NonStrictValuesWithNoDeps() 217 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in NonStrictValuesWithNoDeps() 218 res.plus(me.F(me.v.m.values[ix]).validatePossible(me.v.m.values[ix])); in NonStrictValuesWithNoDeps() 226 C2InterfaceHelper::C2P<type> &me) { in StrictValueWithNoDeps() 228 if (!me.F(me.v.value).supportsNow(me.v.value)) { in StrictValueWithNoDeps() 229 me.set().value = old.v.value; in StrictValueWithNoDeps() 231 return me.F(me.v.value).validatePossible(me.v.value); in StrictValueWithNoDeps()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 251 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument 254 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 255 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 256 me.set().width = oldMe.v.width; in SizeSetter() 258 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 259 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 260 me.set().height = oldMe.v.height; in SizeSetter() 266 bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument 271 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter() 272 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 187 private static boolean loopOnce(final Looper me, in loopOnce() argument 189 Message msg = me.mQueue.next(); // might block in loopOnce() 196 final Printer logging = me.mLogging; in loopOnce() 204 final long traceTag = me.mTraceTag; in loopOnce() 205 long slowDispatchThresholdMs = me.mSlowDispatchThresholdMs; in loopOnce() 206 long slowDeliveryThresholdMs = me.mSlowDeliveryThresholdMs; in loopOnce() 249 if (me.mSlowDeliveryDetected) { in loopOnce() 252 me.mSlowDeliveryDetected = false; in loopOnce() 258 me.mSlowDeliveryDetected = true; in loopOnce() 294 final Looper me = myLooper(); in loop() local [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 158 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument 161 if (me.v.value <= 4096) { in BitrateSetter() 162 me.set().value = 4096; in BitrateSetter() 168 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument 171 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 172 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 173 me.set().width = oldMe.v.width; in SizeSetter() 175 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 176 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 177 me.set().height = oldMe.v.height; in SizeSetter() [all …]
|
D | C2SoftMpeg4Dec.cpp | 173 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument 176 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 177 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 178 me.set().width = oldMe.v.width; in SizeSetter() 180 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 181 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 182 me.set().height = oldMe.v.height; in SizeSetter() 187 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument 191 me.set().width = c2_min(c2_max(me.v.width, size.v.width), kMaxDimension); in MaxPictureSizeSetter() 192 me.set().height = c2_min(c2_max(me.v.height, size.v.height), kMaxDimension); in MaxPictureSizeSetter() [all …]
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 167 C2P<C2StreamPictureSizeInfo::output>& me) { in SizeSetter() argument 170 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 171 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 172 me.set().width = oldMe.v.width; in SizeSetter() 174 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 175 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 176 me.set().height = oldMe.v.height; in SizeSetter() 182 bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output>& me, in MaxPictureSizeSetter() argument 187 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter() 188 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter() [all …]
|
D | C2SoftAomEnc.cpp | 199 C2R C2SoftAomEnc::IntfImpl::BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output>& me) { in BitrateSetter() argument 202 if (me.v.value < 4096) { in BitrateSetter() 203 me.set().value = 4096; in BitrateSetter() 210 C2P<C2StreamPictureSizeInfo::input>& me) { in SizeSetter() argument 213 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 214 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 215 me.set().width = oldMe.v.width; in SizeSetter() 217 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 218 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 219 me.set().height = oldMe.v.height; in SizeSetter() [all …]
|
D | C2SoftAomEnc.h | 121 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output>& me); 124 C2P<C2StreamPictureSizeInfo::input>& me); 126 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output>& me, 131 C2P<C2StreamPictureQuantizationTuning::output> &me); 160 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input>& me); 161 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output>& me,
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 265 C2P<C2PortActualDelayTuning::input> &me, in InputDelaySetter() argument 270 me.set().value = maxBframes + DEFAULT_RC_LOOKAHEAD; in InputDelaySetter() 275 C2P<C2StreamBitrateInfo::output>& me) { in BitrateSetter() argument 278 if (me.v.value < 4096) { in BitrateSetter() 279 me.set().value = 4096; in BitrateSetter() 286 C2P<C2StreamPictureSizeInfo::input>& me) { in SizeSetter() argument 289 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 290 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 291 me.set().width = oldMe.v.width; in SizeSetter() 293 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() [all …]
|
D | C2SoftHevcDec.cpp | 201 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument 204 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 205 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 206 me.set().width = oldMe.v.width; in SizeSetter() 208 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 209 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 210 me.set().height = oldMe.v.height; in SizeSetter() 215 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument 219 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter() 220 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter() [all …]
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 193 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument 196 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 197 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 198 me.set().width = oldMe.v.width; in SizeSetter() 200 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 201 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 202 me.set().height = oldMe.v.height; in SizeSetter() 207 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument 211 me.set().width = c2_min(c2_max(me.v.width, size.v.width), kMaxDimension); in MaxPictureSizeSetter() 212 me.set().height = c2_min(c2_max(me.v.height, size.v.height), kMaxDimension); in MaxPictureSizeSetter() [all …]
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 210 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument 213 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 214 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 215 me.set().width = oldMe.v.width; in SizeSetter() 217 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() 218 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter() 219 me.set().height = oldMe.v.height; in SizeSetter() 224 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument 228 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4080u); in MaxPictureSizeSetter() 229 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4080u); in MaxPictureSizeSetter() [all …]
|
D | C2SoftAvcEnc.cpp | 268 C2P<C2PortActualDelayTuning::input> &me, in InputDelaySetter() argument 273 me.set().value = maxBframes; in InputDelaySetter() 277 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument 280 if (me.v.value <= 4096) { in BitrateSetter() 281 me.set().value = 4096; in BitrateSetter() 288 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument 291 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter() 292 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter() 293 me.set().width = oldMe.v.width; in SizeSetter() 295 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter() [all …]
|
/frameworks/av/media/codec2/hal/services/ |
D | vendor.cpp | 156 static C2R SetIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in SetIonUsage() argument 158 me.set().heapMask = ~0; in SetIonUsage() 159 me.set().allocFlags = 0; in SetIonUsage() 160 me.set().minAlignment = 0; in SetIonUsage() 164 static C2R SetDmaBufUsage(bool /* mayBlock */, C2P<C2StoreDmaBufUsageInfo> &me) { in SetDmaBufUsage() argument 166 strncpy(me.set().m.heapName, "system", me.v.flexCount()); in SetDmaBufUsage() 167 me.set().m.allocFlags = 0; in SetDmaBufUsage()
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | reduce_general_examples_backward.rscript | 58 IndexedVal me; 59 me.val = in; 60 me.idx = x; 62 if (me.val < accum->min.val) 63 accum->min = me; 64 if (me.val > accum->max.val) 65 accum->max = me;
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | reduce_general_examples.rscript | 62 IndexedVal me; 63 me.val = in; 64 me.idx = x; 66 if (me.val < accum->min.val) 67 accum->min = me; 68 if (me.val > accum->max.val) 69 accum->max = me;
|