/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 302 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420() 303 && layout.planes[layout.PLANE_U].allocatedDepth == 8 in IsYUV420() 304 && layout.planes[layout.PLANE_U].bitDepth == 8 in IsYUV420() 305 && layout.planes[layout.PLANE_U].rightShift == 0 in IsYUV420() 306 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420() 307 && layout.planes[layout.PLANE_U].rowSampling == 2 in IsYUV420() 325 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420_10bit() 326 && layout.planes[layout.PLANE_U].allocatedDepth == 16 in IsYUV420_10bit() 327 && layout.planes[layout.PLANE_U].bitDepth == 10 in IsYUV420_10bit() 328 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420_10bit() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 428 planeId = C2PlanarLayout::PLANE_U; in Gralloc4Mapper_lock() 504 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)pointer; in PopulatePlaneLayout() 523 layout->planes[C2PlanarLayout::PLANE_U] = { in PopulatePlaneLayout() 669 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)ycbcrLayout.cb; in PopulatePlaneLayout() 687 layout->planes[C2PlanarLayout::PLANE_U] = { in PopulatePlaneLayout() 697 C2PlanarLayout::PLANE_U, // rootIx in PopulatePlaneLayout() 733 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)pointer + stride * 2 * rect.height(); in PopulatePlaneLayout() 734 addr[C2PlanarLayout::PLANE_V] = addr[C2PlanarLayout::PLANE_U] + 2; in PopulatePlaneLayout() 751 layout->planes[C2PlanarLayout::PLANE_U] = { in PopulatePlaneLayout() 761 C2PlanarLayout::PLANE_U, // rootIx in PopulatePlaneLayout() [all …]
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 191 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST() 216 uint8_t *uRowPtr = view.data()[C2PlanarLayout::PLANE_U]; in TEST() 328 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST() 353 uint8_t *uRowPtr = view.data()[C2PlanarLayout::PLANE_U]; in TEST() 500 layout.planes[C2PlanarLayout::PLANE_U] = { in YUVPlanarLayout() 510 C2PlanarLayout::PLANE_U, /* rootIx */ in YUVPlanarLayout() 549 layout.planes[C2PlanarLayout::PLANE_U] = { in YUVSemiPlanarLayout() 559 C2PlanarLayout::PLANE_U, /* rootIx */ in YUVSemiPlanarLayout() 572 C2PlanarLayout::PLANE_U, /* rootIx */ in YUVSemiPlanarLayout() 598 layout.planes[C2PlanarLayout::PLANE_U] = { in YVUSemiPlanarLayout() [all …]
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 313 addr[C2PlanarLayout::PLANE_U] = nullptr; in mapGraphic() 469 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F() 474 uint8_t *u = addr[C2PlanarLayout::PLANE_U]; in TEST_F() 475 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F() 490 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F() 495 u = addr[C2PlanarLayout::PLANE_U]; in TEST_F() 496 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F() 538 uint8_t *u = data[C2PlanarLayout::PLANE_U]; in TEST_F() 539 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F() 566 const uint8_t *cu = constData[C2PlanarLayout::PLANE_U]; in TEST_F() [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 587 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process() 590 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process() 620 && layout.planes[layout.PLANE_U].colInc == 1 in process()
|
D | C2SoftMpeg4Dec.cpp | 603 uint8_t *outputBufferU = wView.data()[C2PlanarLayout::PLANE_U]; in process() 608 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 214 uint8_t *pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeFrames()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 574 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 581 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
|
D | C2SoftAomEnc.cpp | 936 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process() 969 layout.planes[layout.PLANE_U].rowInc / 2, in process()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 203 uint8_t* uPlane = const_cast<uint8_t*>(output.data()[C2PlanarLayout::PLANE_U]); in compareMd5Chksm() 208 size_t uvStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in compareMd5Chksm() 209 size_t colInc = layout.planes[C2PlanarLayout::PLANE_U].colInc; in compareMd5Chksm()
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 417 uint8_t* pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeNFrames()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 875 const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs() 879 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs() 918 layout.planes[layout.PLANE_U].colInc == 1 && in setEncodeArgs()
|
D | C2SoftHevcDec.cpp | 564 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 797 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 805 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
|
D | C2SoftVpxEnc.cpp | 946 && layout.planes[layout.PLANE_U].colInc == 1 in process() 954 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 1528 uint8_t *uPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs() 1531 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs() 1564 && layout.planes[layout.PLANE_U].colInc == 1 in setEncodeArgs()
|
D | C2SoftAvcDec.cpp | 571 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 1030 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 1035 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 929 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() 934 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1705 PLANE_U = 1, enumerator
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 633 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 311 C2PlaneInfo uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in GraphicView2MediaImageConverter()
|