Searched refs:rowInc (Results 1 – 16 of 16) sorted by relevance
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 91 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/ |
D | MediaCodec.java | 3942 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/ |
D | C2SoftVpxEnc.cpp | 503 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()
|
D | C2SoftVpxDec.cpp | 830 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/ |
D | C2Buffer.h | 1491 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/ |
D | C2SoftMpeg4Enc.cpp | 487 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()
|
D | C2SoftMpeg4Dec.cpp | 679 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/ |
D | C2SoftHevcEnc.cpp | 678 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()
|
D | C2SoftHevcDec.cpp | 521 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 275 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/ |
D | C2SoftAomDec.cpp | 702 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/ |
D | C2SoftAvcEnc.cpp | 1255 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()
|
D | C2SoftAvcDec.cpp | 525 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 431 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/ |
D | C2Buffer.cpp | 872 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 588 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|