Home
last modified time | relevance | path

Searched refs:colInc (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp331 yuv420888 = yuv420888 && yPlane.colInc == 1 && uPlane.rowInc == vPlane.rowInc; in GraphicView2MediaImageConverter()
335 if (uPlane.colInc == 2 && vPlane.colInc == 2 in GraphicView2MediaImageConverter()
338 } else if (uPlane.colInc == 1 && vPlane.colInc == 1 in GraphicView2MediaImageConverter()
346 yPlane.colInc, yPlane.rowInc, in GraphicView2MediaImageConverter()
347 uPlane.colInc, uPlane.rowInc, in GraphicView2MediaImageConverter()
348 vPlane.colInc, vPlane.rowInc); in GraphicView2MediaImageConverter()
372 tryWrapping = yuv420888 && uPlane.colInc == 1 && vPlane.colInc == 1 in GraphicView2MediaImageConverter()
400 tryWrapping = yuv420888 && uPlane.colInc == 2 && vPlane.colInc == 2 in GraphicView2MediaImageConverter()
439 && yPlane.colInc == 2 in GraphicView2MediaImageConverter()
440 && uPlane.colInc == 4 in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp93 bool canCopyByRow = (plane.colInc == bpp) && (img->mPlane[i].mColInc == bpp); in _ImageCopy()
111 viewPtr += plane.colInc; in _ImageCopy()
344 && layout.planes[layout.PLANE_U].colInc == 2 in IsNV12()
347 && layout.planes[layout.PLANE_V].colInc == 2 in IsNV12()
358 && layout.planes[layout.PLANE_U].colInc == 4 in IsP010()
361 && layout.planes[layout.PLANE_V].colInc == 4 in IsP010()
376 && layout.planes[layout.PLANE_U].colInc == 2 in IsNV21()
379 && layout.planes[layout.PLANE_V].colInc == 2 in IsNV21()
390 && layout.planes[layout.PLANE_U].colInc == 1 in IsI420()
393 && layout.planes[layout.PLANE_V].colInc == 1 in IsI420()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp224 yPtr += yPlane.colInc; in TEST()
229 uPtr += uPlane.colInc; in TEST()
230 vPtr += vPlane.colInc; in TEST()
362 yPtr += yPlane.colInc; in TEST()
369 uPtr += uPlane.colInc; in TEST()
370 vPtr += vPlane.colInc; in TEST()
656 colPtr += plane.colInc; in FillPlane()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1622 int32_t colInc; ///< column increment in bytes. may be negative member
1668 if (width > 0 && colInc < 0) { in minOffset()
1669 offs += colInc * (ssize_t)(width - 1); in minOffset()
1679 if (width > 0 && colInc > 0) { in maxOffset()
1680 offs += colInc * (ssize_t)(width - 1); in maxOffset()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp619 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
620 && layout.planes[layout.PLANE_U].colInc == 1 in process()
621 && layout.planes[layout.PLANE_V].colInc == 1 in process()
/frameworks/base/media/java/android/media/
DMediaCodec.java5927 int colInc = 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
6015 mColInc = colInc; in MediaPlane()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp209 size_t colInc = layout.planes[C2PlanarLayout::PLANE_U].colInc; in compareMd5Chksm() local
215 if (bitDepth == 8 && layoutType == C2PlanarLayout::TYPE_YUV && colInc == 1) { in compareMd5Chksm()
219 } else if (bitDepth == 8 && layoutType == C2PlanarLayout::TYPE_YUV && colInc == 2) { in compareMd5Chksm()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp945 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
946 && layout.planes[layout.PLANE_U].colInc == 1 in process()
947 && layout.planes[layout.PLANE_V].colInc == 1) { in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp917 if (layout.planes[layout.PLANE_Y].colInc == 1 && in setEncodeArgs()
918 layout.planes[layout.PLANE_U].colInc == 1 && in setEncodeArgs()
919 layout.planes[layout.PLANE_V].colInc == 1 && in setEncodeArgs()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp893 intptr_t uvColInc = layout->planes[C2PlanarLayout::PLANE_U].colInc; in HandleInterleavedPlanes()
1123 i, plane.colInc, plane.rowInc, plane.rootIx, plane.offset); in map()
1473 i, plane.colInc, plane.rowInc, plane.rootIx, plane.offset); in map()
DC2Buffer.cpp1325 mData[planeIx] + (ssize_t)crop.left * mLayout.planes[planeIx].colInc in Mapped()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp439 int32_t colOffset = (col + rect.left / info.colSampling) * info.colInc; in fillPlane()
449 int32_t colOffset = (col + rect.left / info.colSampling) * info.colInc; in verifyPlane()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1563 if (layout.planes[layout.PLANE_Y].colInc == 1 in setEncodeArgs()
1564 && layout.planes[layout.PLANE_U].colInc == 1 in setEncodeArgs()
1565 && layout.planes[layout.PLANE_V].colInc == 1 in setEncodeArgs()