Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp91 bool canCopyByPlane = canCopyByRow && (plane.rowInc == img->mPlane[i].mRowInc); in _ImageCopy()
93 MemCopier<ToMediaImage, 0>::copy(imgRow, viewRow, plane.rowInc * planeH); in _ImageCopy()
97 imgRow, viewRow, std::min(plane.rowInc, img->mPlane[i].mRowInc)); in _ImageCopy()
99 viewRow += plane.rowInc; in _ImageCopy()
111 viewRow += plane.rowInc; in _ImageCopy()
129 int32_t src_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
130 int32_t src_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
131 int32_t src_stride_v = view.layout().planes[2].rowInc; in ImageCopy()
170 int32_t dst_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
171 int32_t dst_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
[all …]
/frameworks/base/media/java/android/media/
DMediaCodec.java3942 int rowInc = info.getInt(); in MediaImage() local
3949 if (colInc < 1 || rowInc < 1) { in MediaImage()
3951 + colInc + " pixel, " + rowInc + " row on plane " + ix); in MediaImage()
3956 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
3958 + (mHeight / vert - 1) * rowInc + (mWidth / horiz - 1) * colInc); in MediaImage()
3959 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
3974 public MediaPlane(@NonNull ByteBuffer buffer, int rowInc, int colInc) { in MediaPlane() argument
3976 mRowInc = rowInc; in MediaPlane()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp503 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
504 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
505 raw_frame.stride[2] = layout.planes[layout.PLANE_V].rowInc; in process()
DC2SoftVpxDec.cpp830 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
831 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1491 int32_t rowInc; ///< row increment in bytes. may be negative member
1539 if (height > 0 && rowInc < 0) { in minOffset()
1540 offs += rowInc * (ssize_t)(height - 1); in minOffset()
1550 if (height > 0 && rowInc > 0) { in maxOffset()
1551 offs += rowInc * (ssize_t)(height - 1); in maxOffset()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp487 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
488 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
489 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in process()
DC2SoftMpeg4Dec.cpp679 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
680 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp678 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
679 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
680 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs()
DC2SoftHevcDec.cpp521 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp275 planeSize += std::abs(plane.rowInc) * align(mHeight, 64) in GraphicView2MediaImageConverter()
288 mediaImage->mPlane[i].mRowInc = plane.rowInc; in GraphicView2MediaImageConverter()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp702 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
703 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1255 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
1256 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
1257 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs()
DC2SoftAvcDec.cpp525 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp431 int32_t rowOffset = (row + rect.top / info.rowSampling) * info.rowInc; in fillPlane()
441 int32_t rowOffset = (row + rect.top / info.rowSampling) * info.rowInc; in verifyPlane()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp872 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp588 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()