Home
last modified time | relevance | path

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

12

/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()
98 out->yStride = mWidth; in allocate()
99 uint8_t* cbStart = mData.data() + mWidth * mHeight; in allocate()
100 uint8_t* crStart = cbStart + mWidth * mHeight / 4; in allocate()
103 out->cStride = mWidth / 2; in allocate()
111 static_cast<int32_t>(mWidth), in getLayout()
[all …]
/hardware/google/av/media/eco/include/eco/
DECOService.h82 int32_t mWidth; 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.cpp41 : mWidth(width), in FakeECOServiceInfoListener()
45 ALOGD("FakeECOServiceInfoListener construct with w: %d, h: %d, isCameraRecording: %d", mWidth, in FakeECOServiceInfoListener()
51 : mWidth(width), mHeight(height), mIsCameraRecording(isCameraRecording) { in FakeECOServiceInfoListener()
52 ALOGD("FakeECOServiceInfoListener construct with w: %d, h: %d, isCameraRecording: %d", mWidth, in FakeECOServiceInfoListener()
DFakeECOServiceStatsProvider.cpp41 : mWidth(width), in FakeECOServiceStatsProvider()
49 mWidth, mHeight, mIsCameraRecording, mFrameRate); in FakeECOServiceStatsProvider()
54 : mWidth(width), in FakeECOServiceStatsProvider()
61 mWidth, mHeight, mIsCameraRecording, mFrameRate); in FakeECOServiceStatsProvider()
DFakeECOServiceStatsProvider.h89 int32_t mWidth;
DFakeECOServiceInfoListener.h77 int32_t mWidth;
/hardware/libhardware/modules/camera/3_0/
DStream.cpp40 mWidth(s->width), in Stream()
176 if (s->width != mWidth) { in isValidReuseStream()
178 __func__, mId, s->width, mWidth); in isValidReuseStream()
229 dprintf(fd, "Width: %" PRIu32 " Height: %" PRIu32 "\n", mWidth, mHeight); in dump()
DStream.h63 const uint32_t mWidth; variable
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp339 mWidth = 1408; 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()
434 mWidth = disp_width; 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.h62 uint32_t mWidth; member
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp54 mWidth = 640; // full NTSC/VGA in EvsCamera()
58 mWidth = 320; // 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()
424 buff.width = mWidth; in generateFrames()
DEvsCamera.h74 uint32_t mWidth = 0; // Horizontal pixel count in the buffers variable
/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/mpeg2/
DC2SoftMpeg2Dec.cpp317 mWidth(320), in C2SoftMpeg2Dec()
431 s_fill_mem_ip.s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd = mWidth; in fillMemRecords()
464 s_init_ip.s_ivd_init_ip_t.u4_frm_max_wd = mWidth; in createDecoder()
566 mStride = ALIGN64(mWidth); in initDecoder()
762 C2Rect(mWidth, mHeight)); in finishWork()
788 if (mStride != ALIGN64(mWidth)) { in ensureDecoderState()
789 mStride = ALIGN64(mWidth); in ensureDecoderState()
890 mWidth = s_decode_op.u4_pic_wd; in process()
894 mWidth, mHeight); in process()
895 C2VideoSizeStreamInfo::output size(0u, mWidth, mHeight); in process()
[all …]
/hardware/google/av/media/eco/
DECOSession.cpp73 mWidth(width), 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()
209 if (width != mWidth) { in processSessionStats()
210 ECOLOGW("Codec width: %d, expected: %d", width, mWidth); in processSessionStats()
508 *_aidl_return = mWidth; in getWidth()
540 mWidth, mHeight, mIsCameraRecording, mTargetBitrateBps, mCodecType, mCodecProfile, in dump()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp310 mWidth = width; 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()
349 for (int col = 0; col < mWidth; col++) { in checkReadbackBuffer()
350 int pixel = row * mWidth + col; in checkReadbackBuffer()
366 uint32_t mWidth; member in android::hardware::graphics::composer::V2_2::vts::__anon614abbe00111::ReadbackBuffer
408 mWidth = width;
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()
[all …]
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraUtils.h123 const uint32_t mWidth; variable
144 const uint32_t mWidth; variable
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp348 mWidth = 320; in initDecoder()
406 C2Rect(mWidth, mHeight)); in finishWork()
564 if (img->d_w != mWidth || img->d_h != mHeight) { in outputBuffer()
565 mWidth = img->d_w; 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.h57 uint32_t mWidth; member
/hardware/google/av/media/sfplugin/
DC2OMXNode.cpp53 : mComp(comp), mFrameIndex(0), mWidth(0), mHeight(0), in C2OMXNode()
94 pDef->format.video.nFrameWidth = mWidth; in getParameter()
325 mWidth = width; in setFrameSize()
DCodec2Buffer.cpp219 mWidth(view.width()), in GraphicView2MediaImageConverter()
241 uint32_t mStride = align(mWidth, 2) * divUp(layout.planes[0].allocatedDepth, 8u); in GraphicView2MediaImageConverter()
273 ssize_t minOffset = plane.minOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
274 ssize_t maxOffset = plane.maxOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
403 mediaImage->mWidth = mWidth; in GraphicView2MediaImageConverter()
478 uint32_t mWidth; member in android::__anon7d1178580111::GraphicView2MediaImageConverter
DC2OMXNode.h86 uint32_t mWidth; member
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp330 mWidth(320), in C2SoftAvcDec()
493 mStride = ALIGN64(mWidth); in initDecoder()
682 C2Rect(mWidth, mHeight)); in finishWork()
708 if (mStride != ALIGN64(mWidth)) { in ensureDecoderState()
709 mStride = ALIGN64(mWidth); 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()
838 mWidth = s_decode_op.u4_pic_wd; in process()
842 C2VideoSizeStreamInfo::output size(0u, mWidth, mHeight); in process()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp326 mWidth(320), in C2SoftHevcDec()
491 mStride = ALIGN64(mWidth); in initDecoder()
680 C2Rect(mWidth, mHeight)); in finishWork()
706 if (mStride != ALIGN64(mWidth)) { in ensureDecoderState()
707 mStride = ALIGN64(mWidth); 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()
834 mWidth = s_decode_op.u4_pic_wd; in process()
838 C2VideoSizeStreamInfo::output size(0u, mWidth, mHeight); in process()
/hardware/google/av/media/sfplugin/utils/
DCodec2BufferUtils.cpp87 uint32_t planeW = img->mWidth / plane.colSampling; 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()
278 .mWidth = width, in CreateYUV420PlanarMediaImage2()
313 .mWidth = width, in CreateYUV420SemiPlanarMediaImage2()

12