Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp284 yuv420888 = yuv420888 && yPlane.colInc == 1 && uPlane.rowInc == vPlane.rowInc; in GraphicView2MediaImageConverter()
289 && yPlane.rowInc == uPlane.rowInc) { in GraphicView2MediaImageConverter()
292 && yPlane.rowInc == uPlane.rowInc * 2) { in GraphicView2MediaImageConverter()
299 yPlane.colInc, yPlane.rowInc, in GraphicView2MediaImageConverter()
300 uPlane.colInc, uPlane.rowInc, in GraphicView2MediaImageConverter()
301 vPlane.colInc, vPlane.rowInc); in GraphicView2MediaImageConverter()
326 && yPlane.rowInc == uPlane.rowInc * 2 in GraphicView2MediaImageConverter()
354 && yPlane.rowInc == uPlane.rowInc in GraphicView2MediaImageConverter()
394 && yPlane.rowInc == uPlane.rowInc in GraphicView2MediaImageConverter()
395 && yPlane.rowInc == vPlane.rowInc; in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp92 bool canCopyByPlane = canCopyByRow && (plane.rowInc == img->mPlane[i].mRowInc); in _ImageCopy()
94 MemCopier<ToMediaImage, 0>::copy(imgRow, viewRow, plane.rowInc * planeH); in _ImageCopy()
98 imgRow, viewRow, std::min(plane.rowInc, img->mPlane[i].mRowInc)); in _ImageCopy()
100 viewRow += plane.rowInc; in _ImageCopy()
112 viewRow += plane.rowInc; in _ImageCopy()
128 int32_t src_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
129 int32_t src_stride_u = view.layout().planes[1].rowInc; in ImageCopy()
130 int32_t src_stride_v = view.layout().planes[2].rowInc; in ImageCopy()
206 int32_t dst_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
207 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/components/vpx/
DC2SoftVpxEnc.cpp508 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
509 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
510 raw_frame.stride[2] = layout.planes[layout.PLANE_V].rowInc; in process()
DC2SoftVpxDec.cpp829 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
830 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/base/media/java/android/media/
DMediaCodec.java5152 int rowInc = info.getInt(); in MediaImage() local
5159 if (colInc < 1 || rowInc < 1) { in MediaImage()
5161 + colInc + " pixel, " + rowInc + " row on plane " + ix); in MediaImage()
5165 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
5167 + (mHeight / vert - 1) * rowInc + (mWidth / horiz - 1) * colInc); in MediaImage()
5168 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc); in MediaImage()
5217 public MediaPlane(@NonNull ByteBuffer buffer, int rowInc, int colInc) { in MediaPlane() argument
5219 mRowInc = rowInc; in MediaPlane()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1628 int32_t rowInc; ///< row increment in bytes. may be negative member
1676 if (height > 0 && rowInc < 0) { in minOffset()
1677 offs += rowInc * (ssize_t)(height - 1); in minOffset()
1687 if (height > 0 && rowInc > 0) { in maxOffset()
1688 offs += rowInc * (ssize_t)(height - 1); in maxOffset()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp501 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
502 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
503 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in process()
DC2SoftMpeg4Dec.cpp662 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
663 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp772 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
773 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
774 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs()
DC2SoftHevcDec.cpp526 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp700 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
701 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp715 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
716 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp202 size_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in compareMd5Chksm()
203 size_t uvStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in compareMd5Chksm()
/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/components/avc/
DC2SoftAvcEnc.cpp1495 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
1496 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
1497 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs()
DC2SoftAvcDec.cpp535 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp596 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp898 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()