Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp140 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/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h349 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
352 if (me.v.value <= 4096) { in BitrateSetter()
353 me.set().value = 4096; in BitrateSetter()
359 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
362 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
363 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
364 me.set().width = oldMe.v.width; in SizeSetter()
366 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
367 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
368 me.set().height = oldMe.v.height; in SizeSetter()
[all …]
DC2SoftVpxDec.cpp220 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
223 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
224 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
225 me.set().width = oldMe.v.width; in SizeSetter()
227 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
228 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
229 me.set().height = oldMe.v.height; in SizeSetter()
234 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
238 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 2048u); in MaxPictureSizeSetter()
239 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 2048u); in MaxPictureSizeSetter()
[all …]
/frameworks/compile/libbcc/lib/
DRSEmbedInfo.cpp71 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 …]
DCompiler.cpp372 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()
DRSAddDebugInfoPass.cpp58 bcinfo::MetadataExtractor me(&Module); in runOnModule() local
59 if (!me.extract()) { in runOnModule()
64 const size_t nForEachKernels = me.getExportForEachSignatureCount(); in runOnModule()
65 const char **forEachKernels = me.getExportForEachNameList(); in runOnModule()
67 me.getExportReduceList(); in runOnModule()
68 const size_t nReductions = me.getExportReduceCount(); in runOnModule()
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp115 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 …]
DSoftOMXPlugin.cpp171 SoftOMXComponent *me = in destroyComponentInstance() local
175 me->prepareForDestruction(); in destroyComponentInstance()
177 void *libHandle = me->libHandle(); in destroyComponentInstance()
179 CHECK_EQ(me->getStrongCount(), 1); in destroyComponentInstance()
180 me->decStrong(this); in destroyComponentInstance()
181 me = NULL; in destroyComponentInstance()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h207 bool mayBlock, C2InterfaceHelper::C2P<type> &me) { in NonStrictValueWithNoDeps()
209 return me.F(me.v.value).validatePossible(me.v.value); in NonStrictValueWithNoDeps()
213 bool mayBlock, C2InterfaceHelper::C2P<type> &me) { in NonStrictValuesWithNoDeps()
216 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in NonStrictValuesWithNoDeps()
217 res.plus(me.F(me.v.m.values[ix]).validatePossible(me.v.m.values[ix])); in NonStrictValuesWithNoDeps()
225 C2InterfaceHelper::C2P<type> &me) { in StrictValueWithNoDeps()
227 if (!me.F(me.v.value).supportsNow(me.v.value)) { in StrictValueWithNoDeps()
228 me.set().value = old.v.value; in StrictValueWithNoDeps()
230 return me.F(me.v.value).validatePossible(me.v.value); in StrictValueWithNoDeps()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp161 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
164 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
165 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
166 me.set().width = oldMe.v.width; in SizeSetter()
168 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
169 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
170 me.set().height = oldMe.v.height; in SizeSetter()
176 bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
181 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
182 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp198 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
201 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
202 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
203 me.set().width = oldMe.v.width; in SizeSetter()
205 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
206 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
207 me.set().height = oldMe.v.height; in SizeSetter()
212 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
216 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
217 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
[all …]
DC2SoftHevcEnc.cpp215 C2P<C2PortActualDelayTuning::input> &me, in InputDelaySetter() argument
220 me.set().value = maxBframes + DEFAULT_RC_LOOKAHEAD; in InputDelaySetter()
225 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()
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp204 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
207 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
208 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
209 me.set().width = oldMe.v.width; in SizeSetter()
211 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
212 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
213 me.set().height = oldMe.v.height; in SizeSetter()
218 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
222 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4080u); in MaxPictureSizeSetter()
223 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4080u); in MaxPictureSizeSetter()
[all …]
DC2SoftAvcEnc.cpp205 C2P<C2PortActualDelayTuning::input> &me, in InputDelaySetter() argument
210 me.set().value = maxBframes; in InputDelaySetter()
214 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
217 if (me.v.value <= 4096) { in BitrateSetter()
218 me.set().value = 4096; in BitrateSetter()
224 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
227 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
228 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
229 me.set().width = oldMe.v.width; in SizeSetter()
231 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp156 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter() argument
159 if (me.v.value <= 4096) { in BitrateSetter()
160 me.set().value = 4096; in BitrateSetter()
166 C2P<C2StreamPictureSizeInfo::input> &me) { in SizeSetter() argument
169 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
170 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
171 me.set().width = oldMe.v.width; in SizeSetter()
173 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
174 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
175 me.set().height = oldMe.v.height; in SizeSetter()
[all …]
DC2SoftMpeg4Dec.cpp189 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
192 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
193 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
194 me.set().width = oldMe.v.width; in SizeSetter()
196 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
197 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
198 me.set().height = oldMe.v.height; in SizeSetter()
203 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
208 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 1920u); in MaxPictureSizeSetter()
209 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 1088u); in MaxPictureSizeSetter()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp165 C2P<C2StreamPictureSizeInfo::output>& me) { in SizeSetter() argument
168 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
169 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
170 me.set().width = oldMe.v.width; in SizeSetter()
172 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
173 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
174 me.set().height = oldMe.v.height; in SizeSetter()
180 bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output>& me, in MaxPictureSizeSetter() argument
185 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 4096u); in MaxPictureSizeSetter()
186 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 4096u); in MaxPictureSizeSetter()
[all …]
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp183 C2P<C2StreamPictureSizeInfo::output> &me) { in SizeSetter() argument
186 if (!me.F(me.v.width).supportsAtAll(me.v.width)) { in SizeSetter()
187 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.width))); in SizeSetter()
188 me.set().width = oldMe.v.width; in SizeSetter()
190 if (!me.F(me.v.height).supportsAtAll(me.v.height)) { in SizeSetter()
191 res = res.plus(C2SettingResultBuilder::BadValue(me.F(me.v.height))); in SizeSetter()
192 me.set().height = oldMe.v.height; in SizeSetter()
197 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() argument
201 me.set().width = c2_min(c2_max(me.v.width, size.v.width), 1920u); in MaxPictureSizeSetter()
202 me.set().height = c2_min(c2_max(me.v.height, size.v.height), 1088u); in MaxPictureSizeSetter()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rscript62 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;
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rscript58 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/base/core/java/android/os/
DLooper.java154 final Looper me = myLooper(); in loop() local
155 if (me == null) { in loop()
158 final MessageQueue queue = me.mQueue; in loop()
183 final Printer logging = me.mLogging; in loop()
191 final long traceTag = me.mTraceTag; in loop()
192 long slowDispatchThresholdMs = me.mSlowDispatchThresholdMs; in loop()
193 long slowDeliveryThresholdMs = me.mSlowDeliveryThresholdMs; in loop()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce_backward.rscript53 IndexedVal me;
54 me.val = in;
55 me.idx = x;
57 if (me.val <= accum->min.val)
58 accum->min = me;
59 if (me.val >= accum->max.val)
60 accum->max = me;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce_backward.rscript55 IndexedVal me;
56 me.val = in;
57 me.idx = x;
59 if (me.val <= accum->min.val)
60 accum->min = me;
61 if (me.val >= accum->max.val)
62 accum->max = me;
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java50 MultipartEntity me = new MultipartEntity(parts); in testParts() local
52 me.writeTo(os); in testParts()
53 Header h = me.getContentType(); in testParts()
54 String boundry = EncodingUtils.getAsciiString(me.getMultipartBoundary()); in testParts()
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp128 static C2R SetIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in SetIonUsage() argument
130 me.set().heapMask = ~0; in SetIonUsage()
131 me.set().allocFlags = 0; in SetIonUsage()
132 me.set().minAlignment = 0; in SetIonUsage()

1234