Home
last modified time | relevance | path

Searched refs:bufWidth (Results 1 – 6 of 6) 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.cpp511 uint32_t bufWidth = mActiveBuffer->getWidth(); in latchBuffer() local
513 if (bufWidth != uint32_t(oldBuffer->width) || bufHeight != uint32_t(oldBuffer->height)) { in latchBuffer()
688 uint32_t bufWidth = mActiveBuffer->getWidth(); in getBufferSize() local
693 std::swap(bufWidth, bufHeight); in getBufferSize()
699 std::swap(bufWidth, bufHeight); in getBufferSize()
703 return Rect(bufWidth, bufHeight); in getBufferSize()
724 uint32_t bufWidth = mActiveBuffer->getWidth(); in computeSourceBounds() local
729 std::swap(bufWidth, bufHeight); in computeSourceBounds()
735 std::swap(bufWidth, bufHeight); in computeSourceBounds()
739 return FloatRect(0, 0, bufWidth, bufHeight); in computeSourceBounds()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp127 size_t bufWidth = mCropWidth; in resetFormatIfChanged() local
138 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
145 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
153 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
169 bufWidth = (mCropWidth + 1) & ~1; in resetFormatIfChanged()
209 bufWidth, in resetFormatIfChanged()
227 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight); in resetFormatIfChanged()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp207 int32_t bufWidth, bufHeight; in processMpeg4H263Decoder() local
208 PVGetBufferDimensions(mDecHandle, &bufWidth, &bufHeight); in processMpeg4H263Decoder()
210 ASSERT_LE(dispWidth, bufWidth) << "Display width is greater than buffer width"; in processMpeg4H263Decoder()
263 int32_t bufWidth, bufHeight; in processMpeg4H263Decoder() local
264 PVGetBufferDimensions(mDecHandle, &bufWidth, &bufHeight); in processMpeg4H263Decoder()
266 ASSERT_LE(dispWidth, bufWidth) << "Display width is greater than buffer width"; in processMpeg4H263Decoder()
/frameworks/av/media/libstagefright/codecs/m4v_h263/fuzzer/
Dmpeg4_h263_dec_fuzzer.cpp104 int32_t bufWidth, bufHeight; in handleResolutionChange() local
105 PVGetBufferDimensions(mDecHandle, &bufWidth, &bufHeight); in handleResolutionChange()
/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()