/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 331 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/ |
D | Codec2BufferUtils.cpp | 94 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/ |
D | CCodecBuffers_test.cpp | 233 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/ |
D | C2Buffer.h | 1623 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/ |
D | C2SoftAomEnc.cpp | 935 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()
|
D | C2SoftAomDec.cpp | 580 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/ |
D | C2SoftMpeg4Dec.cpp | 607 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()
|
D | C2SoftMpeg4Enc.cpp | 589 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/ |
D | MediaCodec.java | 5928 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/ |
D | C2SoftVpxDec.cpp | 804 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()
|
D | C2SoftVpxEnc.cpp | 953 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/ |
D | C2SoftHevcEnc.cpp | 878 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()
|
D | C2SoftHevcDec.cpp | 532 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 1034 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/ |
D | C2SoftGav1Dec.cpp | 933 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/ |
D | C2BufferTest.cpp | 437 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/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 207 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/ |
D | C2SoftAvcEnc.cpp | 1530 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()
|
D | C2SoftAvcDec.cpp | 539 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 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 | 1326 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 601 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|