Home
last modified time | relevance | path

Searched refs:mStride (Results 1 – 16 of 16) sorted by relevance

/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp241 uint32_t mStride = align(mWidth, 2) * divUp(layout.planes[0].allocatedDepth, 8u); in GraphicView2MediaImageConverter() local
307 mediaImage->mPlane[mediaImage->Y].mRowInc = mStride; in GraphicView2MediaImageConverter()
311 mediaImage->mPlane[mediaImage->U].mOffset = mStride * mVStride; in GraphicView2MediaImageConverter()
313 mediaImage->mPlane[mediaImage->U].mRowInc = mStride / 2; in GraphicView2MediaImageConverter()
317 mediaImage->mPlane[mediaImage->V].mOffset = mStride * mVStride * 5 / 4; in GraphicView2MediaImageConverter()
319 mediaImage->mPlane[mediaImage->V].mRowInc = mStride / 2; in GraphicView2MediaImageConverter()
328 mediaImage->mPlane[mediaImage->Y].mRowInc = mStride; in GraphicView2MediaImageConverter()
332 mediaImage->mPlane[mediaImage->U].mOffset = mStride * mVStride; in GraphicView2MediaImageConverter()
334 mediaImage->mPlane[mediaImage->U].mRowInc = mStride; in GraphicView2MediaImageConverter()
338 mediaImage->mPlane[mediaImage->V].mOffset = mStride * mVStride + 1; in GraphicView2MediaImageConverter()
[all …]
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp370 uint32_t bufferSize = mStride * mHeight * 3 / 2; in onFlush_sm()
493 mStride = ALIGN64(mWidth); in initDecoder()
497 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return UNKNOWN_ERROR; in initDecoder()
510 uint32_t displayStride = mStride; in setDecodeArgs()
632 mStride = 0; in resetDecoder()
708 if (mStride != ALIGN64(mWidth)) { in ensureDecoderState()
709 mStride = ALIGN64(mWidth); in ensureDecoderState()
710 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return C2_CORRUPTED; in ensureDecoderState()
713 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
719 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
[all …]
DC2SoftAvcDec.h162 uint32_t mStride; variable
DC2SoftAvcEnc.h152 int32_t mStride; member
DC2SoftAvcEnc.cpp857 mStride = width; in initEncoder()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp364 uint32_t displayStride = mStride; in onFlush_sm()
491 mStride = ALIGN64(mWidth); in initDecoder()
495 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return UNKNOWN_ERROR; in initDecoder()
508 uint32_t displayStride = mStride; in setDecodeArgs()
631 mStride = 0; in resetDecoder()
706 if (mStride != ALIGN64(mWidth)) { in ensureDecoderState()
707 mStride = ALIGN64(mWidth); in ensureDecoderState()
708 if (OK != setParams(mStride, IVD_DECODE_FRAME)) return C2_CORRUPTED; in ensureDecoderState()
711 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
717 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
[all …]
DC2SoftHevcDec.h120 uint32_t mStride; member
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp361 uint32_t displayStride = mStride; in onFlush_sm()
566 mStride = ALIGN64(mWidth); in initDecoder()
570 if (OK != setParams(mStride)) return UNKNOWN_ERROR; in initDecoder()
583 uint32_t displayStride = mStride; in setDecodeArgs()
707 mStride = 0; in resetDecoder()
788 if (mStride != ALIGN64(mWidth)) { in ensureDecoderState()
789 mStride = ALIGN64(mWidth); in ensureDecoderState()
790 if (OK != setParams(mStride)) return C2_CORRUPTED; in ensureDecoderState()
793 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
799 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
[all …]
DC2SoftMpeg2Dec.h161 uint32_t mStride; member
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.h78 uint32_t mStride = 0; // Bytes per line in the buffers variable
DEvsCamera.cpp315 &memHandle, &mStride, 0, "EvsCamera"); in increaseAvailableFrames_Locked()
426 buff.stride = mStride; in generateFrames()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp333 /*import*/ true, &mStride); in setReadbackBuffer()
335 mFormat, mUsage, mStride)); in setReadbackBuffer()
351 int offset = (row * mStride + col) * bytesPerPixel; in checkReadbackBuffer()
374 uint32_t mStride; member in android::hardware::graphics::composer::V2_2::vts::__anon614abbe00111::ReadbackBuffer
440 mWidth, mHeight, mStride, bufData, mFormat, expectedColors)); in fillBuffer()
453 /*import*/ true, &mStride); in setBuffer()
457 mFormat, mUsage, mStride)); in setBuffer()
466 uint32_t mStride; member in android::hardware::graphics::composer::V2_2::vts::__anon614abbe00111::TestBufferLayer
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h253 *outStride = mStride; in getStride()
264 const uint32_t mStride; variable
DGralloc1On0Adapter.cpp235 mStride(stride), in Buffer()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.h316 int mWidth, mHeight, mFormat, mStride, mScanline, mUsage; variable
DQCameraMem.cpp1890 mWidth = mHeight = mStride = mScanline = mUsage = 0; in QCameraGrallocMemory()
1940 mStride = stride; in setWindowInfo()
2276 gralloc_usage, mWindow, mWidth, mHeight, mStride, in allocate()