Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 25 of 87) sorted by relevance

1234

/hardware/google/gfxstream/host/tests/
DFrameBuffer_unittest.cpp81 mWindow = createOrGetTestWindow(mXOffset, mYOffset, mWidth, mHeight); in SetUp()
89 mWidth, mHeight, {}, in SetUp()
99 mWidth, mHeight, mWidth, mHeight, in SetUp()
105 mWidth, mHeight, {}, in SetUp()
164 int mHeight = 256; member in gfxstream::__anon6c1a5eac0111::FrameBufferTest
182 mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in TEST_F()
190 mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in TEST_F()
198 mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in TEST_F()
208 mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in TEST_F()
212 TestTexture forUpdate = createTestPatternRGBA8888(mWidth, mHeight); in TEST_F()
[all …]
DSampleApplication.cpp241 mWidth(windowWidth), mHeight(windowHeight), mRefreshRate(refreshRate), mIsCompose(compose) { in SampleApplication()
252 mWindow = createOrGetTestWindow(mXOffset, mYOffset, mWidth, mHeight); in SampleApplication()
256 mWidth, mHeight, {}, in SampleApplication()
266 mWidth, mHeight, mWidth, mHeight, in SampleApplication()
274 mColorBuffer = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in SampleApplication()
276 mSurface = mFb->createEmulatedEglWindowSurface(0, mWidth, mHeight); in SampleApplication()
333 hwc_rect_t displayFrame = {0, mHeight/2, mWidth, mHeight}; in drawWorkerWithCompose()
348 hwc_rect_t displayFrame = {0, 0, mWidth, mHeight/2}; in drawWorkerWithCompose()
349 hwc_frect_t crop = {0.0, 0.0, (float)mWidth, (float)mHeight}; in drawWorkerWithCompose()
372 unsigned int sfSurface = mFb->createEmulatedEglWindowSurface(0, mWidth, mHeight); in drawWorker()
[all …]
DDefaultFramebufferBlit_unittest.cpp67 mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in ClearColor()
106 mWidth, mHeight, 0, in initialize()
153 mWidth, mHeight, wantedColor[0], wantedColor[1], wantedColor[2], wantedColor[3]); in verifySwappedColor()
157 mWidth, mHeight, 0.0f, 0.0f, 0.0f, 0.0f); in verifySwappedColor()
160 mColorBuffer, 0, 0, mWidth, mHeight, in verifySwappedColor()
164 ImageMatches(mWidth, mHeight, 4, mWidth, targetBuffer.data(), forRead.data())); in verifySwappedColor()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DPowerStatsPresentProfileTokenGenerator.h40 return (mWidth == rhs.mWidth) && (mHeight == rhs.mHeight) && (mFps == rhs.mFps) &&
55 } else if (mHeight != rhs.mHeight) {
56 return mHeight < rhs.mHeight;
65 os << " mHeight = " << mHeight; in toString()
73 int mHeight = 0; member
/hardware/google/av/media/eco/include/eco/
DECOService.h94 int32_t mHeight; member
98 : mWidth(w), mHeight(h), mIsCameraRecording(isCameraRecording) {} in SessionConfig()
101 return mWidth == cfg.mWidth && mHeight == cfg.mHeight &&
107 return p1.mWidth == p2.mWidth && p1.mHeight == p2.mHeight &&
116 return cfg.mWidth | (cfg.mHeight << 16) | ((int32_t)cfg.mIsCameraRecording << 31); in operator()
/hardware/google/gfxstream/host/
DDisplaySurface.cpp30 mHeight(height), in DisplaySurface()
47 return mHeight; in getHeight()
53 if (mWidth != newWidth || mHeight != newHeight) { in updateSize()
55 mHeight = newHeight; in updateSize()
/hardware/google/av/media/eco/tests/
DFakeECOServiceInfoListener.cpp39 mHeight(height), in FakeECOServiceInfoListener()
43 mHeight, mIsCameraRecording); in FakeECOServiceInfoListener()
48 : mWidth(width), mHeight(height), mIsCameraRecording(isCameraRecording) { in FakeECOServiceInfoListener()
50 mHeight, mIsCameraRecording); in FakeECOServiceInfoListener()
DFakeECOServiceStatsProvider.cpp40 mHeight(height), in FakeECOServiceStatsProvider()
47 mWidth, mHeight, mIsCameraRecording, mFrameRate); in FakeECOServiceStatsProvider()
53 mHeight(height), in FakeECOServiceStatsProvider()
59 mWidth, mHeight, mIsCameraRecording, mFrameRate); in FakeECOServiceStatsProvider()
/hardware/google/gfxstream/host/gl/
DEmulatedEglWindowSurface.cpp76 if (cbWidth != mWidth || cbHeight != mHeight) { in setColorBuffer()
93 GLuint EmulatedEglWindowSurface::getHeight() const { return mHeight; } in getHeight()
99 if (!mWidth || !mHeight) { in flushColorBuffer()
104 mAttachedColorBuffer->getHeight() != mHeight) { in flushColorBuffer()
151 if (mSurface && mWidth == p_width && mHeight == p_height) { in resize()
193 mHeight = p_height; in resize()
225 stream->putBe32(mHeight); in onSave()
DTextureResize.cpp218 mHeight(height), in TextureResize()
302 if ((mWidth < mHeight) != (tWidth < tHeight)) { in update()
308 for (int i = 0, w = mWidth / 2, h = mHeight / 2; in update()
349 GL_TEXTURE_2D, 0, GL_RGB, mWidth / factor, mHeight, 0, GL_RGB, in setupFramebuffers()
355 GL_TEXTURE_2D, 0, GL_RGB, mWidth / factor, mHeight / factor, 0, GL_RGB, in setupFramebuffers()
363 attachShaders(&mFBWidth, factorDefineStr.c_str(), "#define HORIZONTAL\n", mWidth, mHeight); in setupFramebuffers()
364 attachShaders(&mFBHeight, factorDefineStr.c_str(), "#define VERTICAL\n", mWidth, mHeight); in setupFramebuffers()
387 s_gles2.glViewport(0, 0, mWidth / mFactor, mHeight); in resize()
413 s_gles2.glViewport(0, 0, mWidth / mFactor, mHeight / mFactor); in resize()
450 mHeight(0) { in GenericResizer()
[all …]
DTextureResize.h61 int mHeight; variable
70 GLuint mHeight; variable
/hardware/libhardware/modules/camera/3_0/
DStream.cpp41 mHeight(s->height), in Stream()
181 if (s->height != mHeight) { in isValidReuseStream()
183 __func__, mId, s->height, mHeight); in isValidReuseStream()
229 dprintf(fd, "Width: %" PRIu32 " Height: %" PRIu32 "\n", mWidth, mHeight); in dump()
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DGlWrapper.h52 unsigned getHeight() { return mHeight; }; in getHeight()
60 unsigned mHeight = 0; variable
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp200 mHeight = height; in ReadbackBuffer()
207 mBuffer = sp<GraphicBuffer>::make(mWidth, mHeight, (int32_t)mFormat, mLayerCount, mUsage); in setReadbackBuffer()
222 ReadbackHelper::compareColorBuffers(expectedColors, bufData, stride, mWidth, mHeight, in checkReadbackBuffer()
250 mHeight = height;
276 const float scaleY = (mSourceCrop.bottom - mSourceCrop.top) / (mHeight); in toRenderEngineLayerSettings()
278 const float translateY = mSourceCrop.top / (mHeight); in toRenderEngineLayerSettings()
291 ASSERT_NO_FATAL_FAILURE(ReadbackHelper::fillBuffer(mWidth, mHeight, mBuffer->stride, bufData, in fillBuffer()
297 mBuffer = sp<GraphicBuffer>::make(mWidth, mHeight, (int32_t)mFormat, mLayerCount, mUsage); in setBuffer()
/hardware/interfaces/automotive/evs/1.1/default/
DGlWrapper.h51 unsigned getHeight() { return mHeight; }; in getHeight()
61 unsigned mHeight = 0; variable
/hardware/google/av/media/eco/
DECOSession.cpp76 mHeight(height), in ECOSession()
78 ECOLOGI("ECOSession created with w: %d, h: %d, isCameraRecording: %d", mWidth, mHeight, in ECOSession()
102 ECOLOGI("ECOSession destroyed with w: %d, h: %d, isCameraRecording: %d", mWidth, mHeight, in ~ECOSession()
217 if (height != mHeight) { in processSessionStats()
218 ECOLOGW("Codec height: %d, expected: %d", height, mHeight); in processSessionStats()
229 if (mOutputHeight != mHeight) { in processSessionStats()
230 ECOLOGW("Codec output height: %d, expected: %d", mOutputHeight, mHeight); in processSessionStats()
534 *_aidl_return = mHeight; in getHeight()
556 mWidth, mHeight, mIsCameraRecording, mTargetBitrateBps, mCodecType, mCodecProfile, in dump()
DECOServiceStatsProvider.cpp33 mHeight(height), in ECOServiceStatsProvider()
38 __func__, mWidth, mHeight, isCameraRecording, name); in ECOServiceStatsProvider()
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp55 mHeight = 480; // full NTSC/VGA in EvsCamera()
59 mHeight = 240; // 1/2 NTSC/VGA in EvsCamera()
314 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, in increaseAvailableFrames_Locked()
317 ALOGE("Error %d allocating %d x %d graphics buffer", result, mWidth, mHeight); in increaseAvailableFrames_Locked()
425 buff.height = mHeight; in generateFrames()
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.h40 int mMode, mWidth, mHeight, mFps; member
44 : mMode(mode), mWidth(width), mHeight(height), mFps(fps), mModeOrder(order) in EDIDData()
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.cpp222 mHeight = static_cast<uint32_t>(height); in ReadbackBuffer()
235 mWidth, mHeight, static_cast<::android::PixelFormat>(mPixelFormat), mLayerCount, mUsage, in allocateBuffer()
265 ReadbackHelper::compareColorBuffers(expectedColors, bufData, stride, mWidth, mHeight, in checkReadbackBuffer()
301 mHeight = height;
336 const float scaleY = (mSourceCrop.bottom - mSourceCrop.top) / (static_cast<float>(mHeight)); in toRenderEngineLayerSettings()
338 const float translateY = mSourceCrop.top / (static_cast<float>(mHeight)); in toRenderEngineLayerSettings()
356 ASSERT_NO_FATAL_FAILURE(ReadbackHelper::fillBuffer(mWidth, mHeight, stride, bufData, in fillBuffer()
372 mWidth, mHeight, static_cast<::android::PixelFormat>(mPixelFormat), mLayerCount, mUsage, in allocateBuffer()
/hardware/google/gfxstream/guest/android/
DGrallocEmulated.cpp142 : mRefCount(1), mWidth(width), mHeight(height), mDrmFormat(drmFormat), mResource(resource) {} in EmulatedAHardwareBuffer()
150 uint32_t EmulatedAHardwareBuffer::getHeight() const { return mHeight; } in getHeight()
192 mResource->transferFromHost(0, 0, mWidth, mHeight); in lock()
205 mResource->transferToHost(0, 0, mWidth, mHeight); in unlock()
/hardware/google/aemu/host-common/
DMediaVpxVideoHelper.cpp135 size_t mHeight = mImg->d_h; in copyImgToGuest() local
140 byteBuffer.resize(mWidth * mHeight * bpp * 3 / 2); in copyImgToGuest()
144 (int)outputBufferHeight, (int)mWidth, (int)mHeight, (int)bpp); in copyImgToGuest()
DMediaH264DecoderGeneric.cpp117 mHeight = height; in initH264ContextInternal()
384 stream->putBe32(mHeight); in save()
416 mHeight = stream->getBe32(); in load()
421 initH264ContextInternal(mWidth, mHeight, mWidth, mHeight, mOutPixFmt); in load()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DGlWrapper.cpp209 mHeight = displayDesc.height; in initialize()
212 std::swap(mWidth, mHeight); in initialize()
214 LOG(INFO) << "Display resolution is " << mWidth << "x" << mHeight; in initialize()
391 glViewport(0, 0, mWidth, mHeight); in renderImageToScreen()
/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp242 : mWidth(width), mHeight(height), mFourcc(fourcc) {} in Frame()
309 if ((mWidth % 2) || (mHeight % 2)) { in allocate()
310 ALOGE("%s: bad dimension %dx%d (not multiple of 2)", __FUNCTION__, mWidth, mHeight); in allocate()
337 size_t dataSize = mWidth * mHeight * 3 / 2; // YUV420 in allocate()
352 uint8_t* cbStart = mData.data() + mWidth * mHeight; in allocate()
353 uint8_t* crStart = cbStart + mWidth * mHeight / 4; in allocate()
363 IMapper::Rect noCrop = {0, 0, static_cast<int32_t>(mWidth), static_cast<int32_t>(mHeight)}; in getLayout()
375 (rect.top + rect.height) > static_cast<int>(mHeight) || (rect.left % 2) || (rect.top % 2) || in getCroppedLayout()
384 uint8_t* cbStart = mData.data() + mWidth * mHeight; in getCroppedLayout()
385 uint8_t* crStart = cbStart + mWidth * mHeight / 4; in getCroppedLayout()
[all …]

1234