/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 331 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/ |
D | Codec2BufferUtils.cpp | 93 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/ |
D | CCodecBuffers_test.cpp | 224 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/ |
D | C2Buffer.h | 1622 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/ |
D | C2SoftMpeg4Enc.cpp | 619 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/ |
D | MediaCodec.java | 5927 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/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 209 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/ |
D | C2SoftVpxEnc.cpp | 945 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/ |
D | C2SoftHevcEnc.cpp | 917 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/ |
D | C2AllocatorGralloc.cpp | 893 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()
|
D | C2Buffer.cpp | 1325 mData[planeIx] + (ssize_t)crop.left * mLayout.planes[planeIx].colInc in Mapped()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 439 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/ |
D | C2SoftAvcEnc.cpp | 1563 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()
|