Home
last modified time | relevance | path

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

12

/hardware/google/av/media/eco/include/eco/
DECOService.h83 int32_t mHeight; member
87 : mWidth(w), mHeight(h), mIsCameraRecording(isCameraRecording) {} in SessionConfig()
90 return mWidth == cfg.mWidth && mHeight == cfg.mHeight &&
96 return p1.mWidth == p2.mWidth && p1.mHeight == p2.mHeight &&
105 return cfg.mWidth | (cfg.mHeight << 16) | ((int32_t)cfg.mIsCameraRecording << 31); in operator()
/hardware/google/av/media/eco/tests/
DFakeECOServiceInfoListener.cpp42 mHeight(height), in FakeECOServiceInfoListener()
46 mHeight, mIsCameraRecording); in FakeECOServiceInfoListener()
51 : mWidth(width), mHeight(height), mIsCameraRecording(isCameraRecording) { in FakeECOServiceInfoListener()
53 mHeight, mIsCameraRecording); in FakeECOServiceInfoListener()
DFakeECOServiceStatsProvider.cpp42 mHeight(height), in FakeECOServiceStatsProvider()
49 mWidth, mHeight, mIsCameraRecording, mFrameRate); in FakeECOServiceStatsProvider()
55 mHeight(height), in FakeECOServiceStatsProvider()
61 mWidth, mHeight, mIsCameraRecording, mFrameRate); in FakeECOServiceStatsProvider()
DFakeECOServiceStatsProvider.h90 int32_t mHeight; variable
DFakeECOServiceInfoListener.h78 int32_t mHeight; variable
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp35 mWidth(w), mHeight(h), mFourcc(fourcc), in V4L2Frame()
80 mWidth(w), mHeight(h), mFourcc(V4L2_PIX_FMT_YUV420) {}; in AllocatedFrame()
86 if ((mWidth % 2) || (mHeight % 2)) { in allocate()
87 ALOGE("%s: bad dimension %dx%d (not multiple of 2)", __FUNCTION__, mWidth, mHeight); in allocate()
91 uint32_t dataSize = mWidth * mHeight * 3 / 2; // YUV420 in allocate()
99 uint8_t* cbStart = mData.data() + mWidth * mHeight; in allocate()
100 uint8_t* crStart = cbStart + mWidth * mHeight / 4; in allocate()
112 static_cast<int32_t>(mHeight)}; in getLayout()
124 (rect.top + rect.height) > static_cast<int>(mHeight) || in getCroppedLayout()
133 uint8_t* cbStart = mData.data() + mWidth * mHeight; in getCroppedLayout()
[all …]
/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()
DStream.h65 const uint32_t mHeight; variable
/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()
DEvsCamera.h75 uint32_t mHeight = 0; // Vertical pixel count in the buffers variable
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp318 mHeight(240) { in C2SoftMpeg2Dec()
362 uint32_t displayHeight = mHeight; in onFlush_sm()
432 s_fill_mem_ip.s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht = mHeight; in fillMemRecords()
465 s_init_ip.s_ivd_init_ip_t.u4_frm_max_ht = mHeight; in createDecoder()
584 uint32_t displayHeight = mHeight; in setDecodeArgs()
762 C2Rect(mWidth, mHeight)); in finishWork()
793 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
799 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
805 mOutBlock->width(), mOutBlock->height(), mStride, mHeight); in ensureDecoderState()
891 mHeight = s_decode_op.u4_pic_ht; in process()
[all …]
/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/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp340 mHeight = 1152; in initDecoder()
364 C2Rect(mWidth, mHeight)); in finishWork()
402 (mOutBlock->width() != align(mWidth, 16) || mOutBlock->height() != mHeight)) { in ensureDecoderState()
408 … c2_status_t err = pool->fetchGraphicBlock(align(mWidth, 16), mHeight, format, usage, &mOutBlock); in ensureDecoderState()
414 mOutBlock->width(), mOutBlock->height(), mWidth, mHeight); in ensureDecoderState()
433 if (disp_width != mWidth || disp_height != mHeight) { in handleResChange()
435 mHeight = disp_height; in handleResChange()
573 C2VideoSizeStreamInfo::output size(0u, mWidth, mHeight); in process()
645 C2VideoSizeStreamInfo::output size(0u, mWidth, mHeight); in process()
673 wView.width(), align(mWidth, 16), mWidth, mHeight); in process()
DC2SoftMpeg4Dec.h63 uint32_t mHeight; member
/hardware/google/av/media/eco/
DECOSession.cpp74 mHeight(height), in ECOSession()
76 ECOLOGI("ECOSession created with w: %d, h: %d, isCameraRecording: %d", mWidth, mHeight, in ECOSession()
100 ECOLOGI("ECOSession destroyed with w: %d, h: %d, isCameraRecording: %d", mWidth, mHeight, in ~ECOSession()
215 if (height != mHeight) { in processSessionStats()
216 ECOLOGW("Codec height: %d, expected: %d", height, mHeight); in processSessionStats()
514 *_aidl_return = mHeight; in getHeight()
540 mWidth, mHeight, mIsCameraRecording, mTargetBitrateBps, mCodecType, mCodecProfile, in dump()
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraUtils.h124 const uint32_t mHeight; variable
145 const uint32_t mHeight; variable
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp349 mHeight = 240; in initDecoder()
406 C2Rect(mWidth, mHeight)); in finishWork()
564 if (img->d_w != mWidth || img->d_h != mHeight) { in outputBuffer()
566 mHeight = img->d_h; in outputBuffer()
568 C2VideoSizeStreamInfo::output size(0u, mWidth, mHeight); in outputBuffer()
592 …c2_status_t err = pool->fetchGraphicBlock(align(mWidth, 16) * bpp, mHeight, format, usage, &block); in outputBuffer()
607 block->width(), block->height(), mWidth, mHeight, (int)*(int64_t *)img->user_priv); in outputBuffer()
617 srcYStride, srcUStride, srcVStride, mWidth, mHeight, bpp); in outputBuffer()
DC2SoftVpxDec.h58 uint32_t mHeight; member
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp311 mHeight = height; in ReadbackBuffer()
332 mBufferHandle = mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setReadbackBuffer()
334 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle, mWidth, mHeight, mLayerCount, in setReadbackBuffer()
348 for (int row = 0; row < mHeight; row++) { in checkReadbackBuffer()
367 uint32_t mHeight; member in android::hardware::graphics::composer::V2_2::vts::__anon614abbe00111::ReadbackBuffer
409 mHeight = height;
440 mWidth, mHeight, mStride, bufData, mFormat, expectedColors)); in fillBuffer()
452 mBufferHandle = mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setBuffer()
456 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle, mWidth, mHeight, mLayerCount, in setBuffer()
468 uint32_t mHeight; member in android::hardware::graphics::composer::V2_2::vts::__anon614abbe00111::TestBufferLayer
[all …]
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp331 mHeight(240), in C2SoftAvcDec()
370 uint32_t bufferSize = mStride * mHeight * 3 / 2; in onFlush_sm()
511 uint32_t displayHeight = mHeight; in setDecodeArgs()
682 C2Rect(mWidth, mHeight)); in finishWork()
713 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
719 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
725 mOutBlock->width(), mOutBlock->height(), mStride, mHeight); in ensureDecoderState()
816 ALOGE("unsupported resolution : %dx%d", mWidth, mHeight); in process()
837 if (s_decode_op.u4_pic_wd != mWidth || s_decode_op.u4_pic_ht != mHeight) { in process()
839 mHeight = s_decode_op.u4_pic_ht; in process()
[all …]
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp327 mHeight(240), in C2SoftHevcDec()
365 uint32_t displayHeight = mHeight; in onFlush_sm()
509 uint32_t displayHeight = mHeight; in setDecodeArgs()
680 C2Rect(mWidth, mHeight)); in finishWork()
711 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
717 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
723 mOutBlock->width(), mOutBlock->height(), mStride, mHeight); in ensureDecoderState()
812 ALOGE("unsupported resolution : %dx%d", mWidth, mHeight); in process()
833 if (s_decode_op.u4_pic_wd != mWidth || s_decode_op.u4_pic_ht != mHeight) { in process()
835 mHeight = s_decode_op.u4_pic_ht; in process()
[all …]
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp220 mHeight(view.height()), in GraphicView2MediaImageConverter()
242 uint32_t mVStride = align(mHeight, 2); in GraphicView2MediaImageConverter()
273 ssize_t minOffset = plane.minOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
274 ssize_t maxOffset = plane.maxOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
281 planeSize += std::abs(plane.rowInc) * align(mHeight, 64) in GraphicView2MediaImageConverter()
404 mediaImage->mHeight = mHeight; in GraphicView2MediaImageConverter()
479 uint32_t mHeight; member in android::__anon7d1178580111::GraphicView2MediaImageConverter
DC2OMXNode.cpp53 : mComp(comp), mFrameIndex(0), mWidth(0), mHeight(0), in C2OMXNode()
95 pDef->format.video.nFrameHeight = mHeight; in getParameter()
326 mHeight = height; in setFrameSize()
DC2OMXNode.h87 uint32_t mHeight; member
/hardware/google/av/media/sfplugin/utils/
DCodec2BufferUtils.cpp88 uint32_t planeH = img->mHeight / plane.rowSampling; in _ImageCopy()
121 if (view.width() != img->mWidth || view.height() != img->mHeight) { in ImageCopy()
156 if (view.width() != img->mWidth || view.height() != img->mHeight) { in ImageCopy()
279 .mHeight = height, in CreateYUV420PlanarMediaImage2()
314 .mHeight = height, in CreateYUV420SemiPlanarMediaImage2()

12