Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp90 bool canCopyByRow = (plane.colInc == 1) && (img->mPlane[i].mColInc == 1); in _ImageCopy()
108 viewPtr += plane.colInc; in _ImageCopy()
220 && layout.planes[layout.PLANE_U].colInc == 2 in IsNV12()
223 && layout.planes[layout.PLANE_V].colInc == 2 in IsNV12()
234 && layout.planes[layout.PLANE_U].colInc == 1 in IsI420()
237 && layout.planes[layout.PLANE_V].colInc == 1 in IsI420()
386 pRed += layout.planes[C2PlanarLayout::PLANE_R].colInc; in ConvertRGBToPlanarYUV()
387 pGreen += layout.planes[C2PlanarLayout::PLANE_G].colInc; in ConvertRGBToPlanarYUV()
388 pBlue += layout.planes[C2PlanarLayout::PLANE_B].colInc; in ConvertRGBToPlanarYUV()
396 pRed -= layout.planes[C2PlanarLayout::PLANE_R].colInc * src.width(); in ConvertRGBToPlanarYUV()
[all …]
/frameworks/base/media/java/android/media/
DMediaCodec.java3941 int colInc = 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
3977 mColInc = colInc; in MediaPlane()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp495 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
496 && layout.planes[layout.PLANE_U].colInc == 1 in process()
497 && layout.planes[layout.PLANE_V].colInc == 1) { in process()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1490 int32_t colInc; ///< column increment in bytes. may be negative member
1536 if (width > 0 && colInc < 0) { in minOffset()
1537 offs += colInc * (ssize_t)(width - 1); in minOffset()
1547 if (width > 0 && colInc > 0) { in maxOffset()
1548 offs += colInc * (ssize_t)(width - 1); in maxOffset()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp517 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
518 && layout.planes[layout.PLANE_U].colInc == 1 in process()
519 && layout.planes[layout.PLANE_V].colInc == 1 in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp716 if (layout.planes[layout.PLANE_Y].colInc == 1 && in setEncodeArgs()
717 layout.planes[layout.PLANE_U].colInc == 1 && in setEncodeArgs()
718 layout.planes[layout.PLANE_V].colInc == 1 && in setEncodeArgs()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1287 if (layout.planes[layout.PLANE_Y].colInc == 1 in setEncodeArgs()
1288 && layout.planes[layout.PLANE_U].colInc == 1 in setEncodeArgs()
1289 && layout.planes[layout.PLANE_V].colInc == 1 in setEncodeArgs()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp433 int32_t colOffset = (col + rect.left / info.colSampling) * info.colInc; in fillPlane()
443 int32_t colOffset = (col + rect.left / info.colSampling) * info.colInc; in verifyPlane()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp287 mediaImage->mPlane[i].mColInc = plane.colInc; in GraphicView2MediaImageConverter()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp871 mData[planeIx] + (ssize_t)crop.left * mLayout.planes[planeIx].colInc in Mapped()