Home
last modified time | relevance | path

Searched refs:bufWidth (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayerRejecter.cpp48 uint32_t bufWidth = buf->getWidth(); in reject() local
54 std::swap(bufWidth, bufHeight); in reject()
60 std::swap(bufWidth, bufHeight); in reject()
68 (bufWidth == mFront.requested_legacy.w && bufHeight == mFront.requested_legacy.h)) { in reject()
101 mName, bufWidth, bufHeight, item.mTransform, item.mScalingMode, in reject()
109 if (mFront.active_legacy.w != bufWidth || mFront.active_legacy.h != bufHeight) { in reject()
113 mName, bufWidth, bufHeight, mFront.active_legacy.w, mFront.active_legacy.h); in reject()
DBufferLayer.cpp504 uint32_t bufWidth = mActiveBuffer->getWidth(); in latchBuffer() local
506 if (bufWidth != uint32_t(oldBuffer->width) || bufHeight != uint32_t(oldBuffer->height)) { in latchBuffer()
681 uint32_t bufWidth = mActiveBuffer->getWidth(); in getBufferSize() local
686 std::swap(bufWidth, bufHeight); in getBufferSize()
692 std::swap(bufWidth, bufHeight); in getBufferSize()
696 return Rect(bufWidth, bufHeight); in getBufferSize()
717 uint32_t bufWidth = mActiveBuffer->getWidth(); in computeSourceBounds() local
722 std::swap(bufWidth, bufHeight); in computeSourceBounds()
728 std::swap(bufWidth, bufHeight); in computeSourceBounds()
732 return FloatRect(0, 0, bufWidth, bufHeight); in computeSourceBounds()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp122 size_t bufWidth = mCropWidth; in resetFormatIfChanged() local
133 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
140 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
148 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
164 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
204 bufWidth, in resetFormatIfChanged()
222 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight); in resetFormatIfChanged()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp169 int32_t bufWidth, // Width of the pixelBuffer in produceFrame() argument
177 __FUNCTION__, anw.get(), bufWidth, bufHeight, pixelFmt, bufSize); in produceFrame()
185 } else if (bufWidth < 0) { in produceFrame()
196 size_t width = static_cast<size_t>(bufWidth); in produceFrame()