Searched refs:yPlane (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 190 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST() local 195 ASSERT_EQ(1u, yPlane.colSampling); in TEST() 196 ASSERT_EQ(1u, yPlane.rowSampling); in TEST() 197 ASSERT_EQ(8u, yPlane.allocatedDepth); in TEST() 198 ASSERT_EQ(8u, yPlane.bitDepth); in TEST() 199 ASSERT_EQ(0u, yPlane.rightShift); in TEST() 224 yPtr += yPlane.colInc; in TEST() 233 yRowPtr += yPlane.rowInc; in TEST() 256 const MediaImage2::PlaneInfo &yPlane = img->mPlane[MediaImage2::Y]; in TEST() local 259 ASSERT_EQ(1u, yPlane.mHorizSubsampling); in TEST() [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 263 C2PlaneInfo yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in GraphicView2MediaImageConverter() local 266 if (yPlane.channel != C2PlaneInfo::CHANNEL_Y in GraphicView2MediaImageConverter() 273 bool yuv420888 = yPlane.rowSampling == 1 && yPlane.colSampling == 1 in GraphicView2MediaImageConverter() 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() 326 && yPlane.rowInc == uPlane.rowInc * 2 in GraphicView2MediaImageConverter() 354 && yPlane.rowInc == uPlane.rowInc in GraphicView2MediaImageConverter() 379 tryWrapping = yPlane.allocatedDepth == 16 in GraphicView2MediaImageConverter() [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 498 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process() local 516 yPlane = conversionBuffer.data(); in process() 517 uPlane = yPlane + yPlaneSize; in process() 521 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *rView.get()); in process() 552 yPlane = conversionBuffer.data(); in process() 553 uPlane = yPlane + yPlaneSize; in process() 571 CHECK(NULL != yPlane); in process() 576 vin.yChan = yPlane; in process() 612 mConversionBuffersInUse.erase(yPlane); in process()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 556 Image.Plane yPlane = yuvImage.getPlanes()[0]; in convertToRGB() local 560 ByteBuffer yBuf = yPlane.getBuffer(); in convertToRGB() 568 int yRowStride = yPlane.getRowStride(); in convertToRGB() 572 int yPixStride = yPlane.getPixelStride(); in convertToRGB()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 766 uint8_t* yPlane = in setEncodeArgs() local 795 yPlane = conversionBuffer.data(); in setEncodeArgs() 796 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 800 ConvertRGBToPlanarYUV(yPlane, yStride, height, in setEncodeArgs() 832 yPlane = conversionBuffer.data(); in setEncodeArgs() 833 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 851 ps_encode_ip->apv_inp_planes[0] = yPlane; in setEncodeArgs() 873 ps_encode_ip->apv_inp_planes[0] = yPlane; in setEncodeArgs()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 1492 uint8_t *yPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs() local 1513 yPlane = conversionBuffer.data(); in setEncodeArgs() 1514 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 1518 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *input); in setEncodeArgs() 1547 yPlane = conversionBuffer.data(); in setEncodeArgs() 1548 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 1567 ps_inp_raw_buf->apv_bufs[0] = yPlane; in setEncodeArgs() 1599 ps_inp_raw_buf->apv_bufs[0] = yPlane; in setEncodeArgs()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 197 uint8_t* yPlane = const_cast<uint8_t*>(output.data()[C2PlanarLayout::PLANE_Y]); in compareMd5Chksm() local 211 calc_md5_cksum(yPlane, yStride, cropWidth, cropHeight, au1_y_chksum); in compareMd5Chksm() 227 calc_md5_cksum(yPlane, yStride, cropWidth, cropHeight, au1_y_chksum); in compareMd5Chksm()
|