Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/
H A DLayerRejecter.cpp45 uint32_t bufWidth = buf->getWidth(); in reject() local
51 std::swap(bufWidth, bufHeight); in reject()
57 std::swap(bufWidth, bufHeight); in reject()
65 (bufWidth == mFront.requested_legacy.w && bufHeight == mFront.requested_legacy.h)) { in reject()
96 mName.c_str(), bufWidth, bufHeight, item.mTransform, item.mScalingMode, in reject()
103 if (mFront.active_legacy.w != bufWidth || mFront.active_legacy.h != bufHeight) { in reject()
107 mName.c_str(), bufWidth, bufHeight, mFront.active_legacy.w, in reject()
H A DBufferLayer.cpp559 uint32_t bufWidth = mBufferInfo.mBuffer->getBuffer()->getWidth(); in latchBuffer() local
561 if (bufWidth != uint32_t(oldBufferInfo.mBuffer->getBuffer()->width) || in latchBuffer()
671 uint32_t bufWidth = mBufferInfo.mBuffer->getBuffer()->getWidth(); in getBufferSize() local
676 std::swap(bufWidth, bufHeight); in getBufferSize()
682 std::swap(bufWidth, bufHeight); in getBufferSize()
686 return Rect(bufWidth, bufHeight); in getBufferSize()
703 uint32_t bufWidth = mBufferInfo.mBuffer->getBuffer()->getWidth(); in computeSourceBounds() local
708 std::swap(bufWidth, bufHeight); in computeSourceBounds()
714 std::swap(bufWidth, bufHeight); in computeSourceBounds()
718 return FloatRect(0, 0, bufWidth, bufHeight); in computeSourceBounds()
H A DBufferStateLayer.cpp606 uint32_t bufWidth = mBufferInfo.mBuffer->getBuffer()->getWidth(); in getBufferSize() local
611 std::swap(bufWidth, bufHeight); in getBufferSize()
617 std::swap(bufWidth, bufHeight); in getBufferSize()
621 return Rect(0, 0, bufWidth, bufHeight); in getBufferSize()
/aosp12/frameworks/av/media/libstagefright/colorconversion/
H A 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()
/aosp12/frameworks/av/media/codecs/m4v_h263/dec/test/
H A 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()
/aosp12/frameworks/av/media/codecs/m4v_h263/fuzzer/
H A Dmpeg4_h263_dec_fuzzer.cpp104 int32_t bufWidth, bufHeight; in handleResolutionChange() local
105 PVGetBufferDimensions(mDecHandle, &bufWidth, &bufHeight); in handleResolutionChange()
/aosp12/frameworks/native/libs/gui/tests/
H A DBLASTBufferQueue_test.cpp209 const auto bufWidth = buf->getWidth(); in fillQuadrants() local
214 fillBuffer(bufData, Rect(0, 0, bufWidth / 2, bufHeight / 2), buf->getStride(), 0, 0, 0); in fillQuadrants()
215 fillBuffer(bufData, Rect(bufWidth / 2, 0, bufWidth, bufHeight / 2), buf->getStride(), 255, in fillQuadrants()
217 fillBuffer(bufData, Rect(bufWidth / 2, bufHeight / 2, bufWidth, bufHeight), in fillQuadrants()
219 fillBuffer(bufData, Rect(0, bufHeight / 2, bufWidth / 2, bufHeight), buf->getStride(), 0, 0, in fillQuadrants()
1151 auto bufWidth = mDisplayWidth; in test() local
1157 auto ret = igbProducer->dequeueBuffer(&slot, &fence, bufWidth, bufHeight, in test()
1168 Rect(bufWidth, bufHeight), in test()
/aosp12/frameworks/native/libs/gui/
H A DBLASTBufferQueue.cpp721 uint32_t bufWidth = item.mGraphicBuffer->getWidth(); in rejectBuffer() local
726 std::swap(bufWidth, bufHeight); in rejectBuffer()
728 ui::Size bufferSize(bufWidth, bufHeight); in rejectBuffer()
/aosp12/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
H A DExynosDisplayDrmInterface.cpp146 uint32_t bufWidth, bufHeight = 0; in getBuffer() local
151 bufWidth = config.src.f_w; in getBuffer()
233 bufWidth = config.dst.w; in getBuffer()
242 [colorDesc = Framebuffer::SolidColorDesc{bufWidth, bufHeight}]( in getBuffer()
252 ret = addFB2WithModifiers(bufWidth, bufHeight, drmFormat, handles, pitches, offsets, modifiers, in getBuffer()
284 Framebuffer::SolidColorDesc{bufWidth, bufHeight})); in getBuffer()