/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 284 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/ |
D | Codec2BufferUtils.cpp | 92 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/ |
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/components/vpx/ |
D | C2SoftVpxEnc.cpp | 508 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()
|
D | C2SoftVpxDec.cpp | 829 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/ |
D | MediaCodec.java | 5152 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/ |
D | C2Buffer.h | 1628 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/ |
D | C2SoftMpeg4Enc.cpp | 501 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()
|
D | C2SoftMpeg4Dec.cpp | 662 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/ |
D | C2SoftHevcEnc.cpp | 772 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()
|
D | C2SoftHevcDec.cpp | 526 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 700 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/ |
D | C2SoftGav1Dec.cpp | 715 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/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 202 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/ |
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/components/avc/ |
D | C2SoftAvcEnc.cpp | 1495 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()
|
D | C2SoftAvcDec.cpp | 535 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 596 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 898 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()
|