Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp331 yuv420888 = yuv420888 && yPlane.colInc == 1 && uPlane.rowInc == vPlane.rowInc; in GraphicView2MediaImageConverter()
336 && yPlane.rowInc == uPlane.rowInc) { in GraphicView2MediaImageConverter()
339 && yPlane.rowInc == uPlane.rowInc * 2) { in GraphicView2MediaImageConverter()
346 yPlane.colInc, yPlane.rowInc, in GraphicView2MediaImageConverter()
347 uPlane.colInc, uPlane.rowInc, in GraphicView2MediaImageConverter()
348 vPlane.colInc, vPlane.rowInc); in GraphicView2MediaImageConverter()
373 && yPlane.rowInc == uPlane.rowInc * 2 in GraphicView2MediaImageConverter()
401 && yPlane.rowInc == uPlane.rowInc in GraphicView2MediaImageConverter()
442 && yPlane.rowInc == uPlane.rowInc in GraphicView2MediaImageConverter()
443 && yPlane.rowInc == vPlane.rowInc; in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp94 bool canCopyByPlane = canCopyByRow && (plane.rowInc == img->mPlane[i].mRowInc); in _ImageCopy()
96 MemCopier<ToMediaImage, 0>::copy(imgRow, viewRow, plane.rowInc * planeH); in _ImageCopy()
100 imgRow, viewRow, std::min(plane.rowInc, img->mPlane[i].mRowInc)); in _ImageCopy()
102 viewRow += plane.rowInc; in _ImageCopy()
114 viewRow += plane.rowInc; in _ImageCopy()
133 int32_t src_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
134 int32_t src_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
135 int32_t src_stride_v = view.layout().planes[2].rowInc; in ImageCopy()
224 int32_t dst_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
225 int32_t dst_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp233 yRowPtr += yPlane.rowInc; in TEST()
235 uRowPtr += uPlane.rowInc; in TEST()
236 vRowPtr += vPlane.rowInc; in TEST()
373 yRowPtr += yPlane.rowInc; in TEST()
375 uRowPtr += uPlane.rowInc; in TEST()
376 vRowPtr += vPlane.rowInc; in TEST()
658 rowPtr += plane.rowInc; in FillPlane()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1623 int32_t rowInc; ///< row increment in bytes. may be negative member
1671 if (height > 0 && rowInc < 0) { in minOffset()
1672 offs += rowInc * (ssize_t)(height - 1); in minOffset()
1682 if (height > 0 && rowInc > 0) { in maxOffset()
1683 offs += rowInc * (ssize_t)(height - 1); in maxOffset()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp935 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
936 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
937 raw_frame.stride[2] = layout.planes[layout.PLANE_V].rowInc; in process()
968 layout.planes[layout.PLANE_Y].rowInc / 2, in process()
969 layout.planes[layout.PLANE_U].rowInc / 2, in process()
996 layout.planes[layout.PLANE_Y].rowInc / 4, stride, in process()
DC2SoftAomDec.cpp580 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
581 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
582 size_t dstVStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp607 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
608 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
609 size_t dstVStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in process()
DC2SoftMpeg4Enc.cpp589 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
590 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
591 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in process()
/frameworks/base/media/java/android/media/
DMediaCodec.java5928 int rowInc = info.getInt(); in MediaImage() local
5935 if (colInc < 1 || rowInc < 1) { in MediaImage()
5937 + colInc + " pixel, " + rowInc + " row on plane " + ix); in MediaImage()
5941 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
5943 + (mHeight / vert - 1) * rowInc + (mWidth / horiz - 1) * colInc); in MediaImage()
5944 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
6012 public MediaPlane(@NonNull ByteBuffer buffer, int rowInc, int colInc) { in MediaPlane() argument
6014 mRowInc = rowInc; in MediaPlane()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp804 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
805 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
806 size_t dstVStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in outputBuffer()
DC2SoftVpxEnc.cpp953 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
954 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
955 raw_frame.stride[2] = layout.planes[layout.PLANE_V].rowInc; in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp878 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
879 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
880 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs()
DC2SoftHevcDec.cpp532 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp1034 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
1035 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
1036 size_t dstVStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp933 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
934 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
935 size_t dstVStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in outputBuffer()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp437 int32_t rowOffset = (row + rect.top / info.rowSampling) * info.rowInc; in fillPlane()
447 int32_t rowOffset = (row + rect.top / info.rowSampling) * info.rowInc; in verifyPlane()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp207 size_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in compareMd5Chksm()
208 size_t uvStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in compareMd5Chksm()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1530 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
1531 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
1532 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs()
DC2SoftAvcDec.cpp539 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp1123 i, plane.colInc, plane.rowInc, plane.rootIx, plane.offset); in map()
1473 i, plane.colInc, plane.rowInc, plane.rootIx, plane.offset); in map()
DC2Buffer.cpp1326 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp601 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()