/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 190 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST() 215 uint8_t *yRowPtr = view.data()[C2PlanarLayout::PLANE_Y]; in TEST() 327 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST() 352 uint8_t *yRowPtr = view.data()[C2PlanarLayout::PLANE_Y]; in TEST() 487 layout.planes[C2PlanarLayout::PLANE_Y] = { in YUVPlanarLayout() 497 C2PlanarLayout::PLANE_Y, /* rootIx */ in YUVPlanarLayout() 536 layout.planes[C2PlanarLayout::PLANE_Y] = { in YUVSemiPlanarLayout() 546 C2PlanarLayout::PLANE_Y, /* rootIx */ in YUVSemiPlanarLayout() 585 layout.planes[C2PlanarLayout::PLANE_Y] = { in YVUSemiPlanarLayout() 595 C2PlanarLayout::PLANE_Y, /* rootIx */ in YVUSemiPlanarLayout() [all …]
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 296 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420() 297 && layout.planes[layout.PLANE_Y].allocatedDepth == 8 in IsYUV420() 298 && layout.planes[layout.PLANE_Y].bitDepth == 8 in IsYUV420() 299 && layout.planes[layout.PLANE_Y].rightShift == 0 in IsYUV420() 300 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420() 301 && layout.planes[layout.PLANE_Y].rowSampling == 1 in IsYUV420() 320 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420_10bit() 321 && layout.planes[layout.PLANE_Y].allocatedDepth == 16 in IsYUV420_10bit() 322 && layout.planes[layout.PLANE_Y].bitDepth == 10 in IsYUV420_10bit() 323 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420_10bit() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 424 planeId = C2PlanarLayout::PLANE_Y; in Gralloc4Mapper_lock() 503 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)pointer; in PopulatePlaneLayout() 510 layout->planes[C2PlanarLayout::PLANE_Y] = { in PopulatePlaneLayout() 520 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout() 533 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout() 546 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout() 559 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout() 668 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)ycbcrLayout.y; in PopulatePlaneLayout() 674 layout->planes[C2PlanarLayout::PLANE_Y] = { in PopulatePlaneLayout() 684 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout() [all …]
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 312 addr[C2PlanarLayout::PLANE_Y] = nullptr; in mapGraphic() 468 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F() 472 uint8_t *y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F() 473 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F() 489 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F() 493 y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F() 494 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F() 536 uint8_t *y = data[C2PlanarLayout::PLANE_Y]; in TEST_F() 537 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F() 564 const uint8_t *cy = constData[C2PlanarLayout::PLANE_Y]; in TEST_F() [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 586 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process() 589 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process() 619 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
|
D | C2SoftMpeg4Dec.cpp | 602 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y]; in process() 607 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomEnc.cpp | 827 mIs10Bit = (layout.planes[layout.PLANE_Y].bitDepth == 10); in process() 935 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process() 968 layout.planes[layout.PLANE_Y].rowInc / 2, in process() 996 layout.planes[layout.PLANE_Y].rowInc / 4, stride, in process()
|
D | C2SoftAomDec.cpp | 573 uint8_t* dstY = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 580 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 213 uint8_t *pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeFrames()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 202 uint8_t* yPlane = const_cast<uint8_t*>(output.data()[C2PlanarLayout::PLANE_Y]); in compareMd5Chksm() 207 size_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in compareMd5Chksm() 210 size_t bitDepth = layout.planes[C2PlanarLayout::PLANE_Y].bitDepth; in compareMd5Chksm()
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 416 uint8_t* pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeNFrames()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 873 const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs() 878 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs() 917 if (layout.planes[layout.PLANE_Y].colInc == 1 && in setEncodeArgs()
|
D | C2SoftHevcDec.cpp | 532 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs() 563 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 796 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 804 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
|
D | C2SoftVpxEnc.cpp | 945 if (layout.planes[layout.PLANE_Y].colInc == 1 in process() 953 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 601 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs() 632 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 539 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs() 570 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
|
D | C2SoftAvcEnc.cpp | 1527 uint8_t *yPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs() 1530 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs() 1563 if (layout.planes[layout.PLANE_Y].colInc == 1 in setEncodeArgs()
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 1029 uint8_t* dstY = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 1034 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 928 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer() 933 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1704 PLANE_Y = 0, enumerator
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 310 C2PlaneInfo yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in GraphicView2MediaImageConverter()
|