Home
last modified time | relevance | path

Searched refs:outPos (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp231 size_t outPos = 0; in process() local
251 wView.data() + outPos, &frameType, in process()
253 if (numEncBytes < 0 || numEncBytes > ((int)outCapacity - (int)outPos)) { in process()
254 ALOGE("encodeFrame call failed, state [%d %zu %zu]", numEncBytes, outPos, outCapacity); in process()
261 wView.data()[outPos] = ((wView.data()[outPos] << 3) | 4) & 0x7c; in process()
262 outPos += numEncBytes; in process()
267 if (mIsFirst && outPos != 0) { in process()
272 if (outPos != 0) { in process()
274 createLinearBuffer(std::move(outputBlock), 0, outPos)); in process()
DC2SoftAmrWbEnc.cpp313 size_t outPos = 0; in process() local
330 int numEncBytes = encodeInput((wView.data() + outPos), outCapacity - outPos); in process()
332 ALOGE("encodeFrame call failed, state [%d %zu %zu]", numEncBytes, outPos, outCapacity); in process()
337 outPos += numEncBytes; in process()
342 if (mIsFirst && outPos != 0) { in process()
347 if (outPos != 0) { in process()
349 createLinearBuffer(std::move(outputBlock), 0, outPos)); in process()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java2609 void getRelativePosition(Point outPos) { in getRelativePosition() argument
2613 outPos.set(0, 0); in getRelativePosition()
2618 outPos.set(dispBounds.left, dispBounds.top); in getRelativePosition()
2622 outPos.offset(-parentBounds.left, -parentBounds.top); in getRelativePosition()
DActivityStack.java3217 void getRelativePosition(Point outPos) { in getRelativePosition() argument
3218 super.getRelativePosition(outPos); in getRelativePosition()
3220 outPos.x -= outset; in getRelativePosition()
3221 outPos.y -= outset; in getRelativePosition()
DWindowState.java5449 private void transformSurfaceInsetsPosition(Point outPos, Rect surfaceInsets) { in transformSurfaceInsetsPosition() argument
5451 outPos.x = surfaceInsets.left; in transformSurfaceInsetsPosition()
5452 outPos.y = surfaceInsets.top; in transformSurfaceInsetsPosition()
5455 outPos.x = (int) (surfaceInsets.left * mGlobalScale + 0.5f); in transformSurfaceInsetsPosition()
5456 outPos.y = (int) (surfaceInsets.top * mGlobalScale + 0.5f); in transformSurfaceInsetsPosition()