Searched refs:uPlane (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 191 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST() local 202 ASSERT_EQ(2u, uPlane.colSampling); in TEST() 203 ASSERT_EQ(2u, uPlane.rowSampling); in TEST() 204 ASSERT_EQ(8u, uPlane.allocatedDepth); in TEST() 205 ASSERT_EQ(8u, uPlane.bitDepth); in TEST() 206 ASSERT_EQ(0u, uPlane.rightShift); in TEST() 229 uPtr += uPlane.colInc; in TEST() 235 uRowPtr += uPlane.rowInc; in TEST() 257 const MediaImage2::PlaneInfo &uPlane = img->mPlane[MediaImage2::U]; in TEST() local 261 ASSERT_EQ(2u, uPlane.mHorizSubsampling); in TEST() [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 311 C2PlaneInfo uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in GraphicView2MediaImageConverter() local 314 || uPlane.channel != C2PlaneInfo::CHANNEL_CB in GraphicView2MediaImageConverter() 321 && uPlane.rowSampling == 2 && uPlane.colSampling == 2 in GraphicView2MediaImageConverter() 331 yuv420888 = yuv420888 && yPlane.colInc == 1 && uPlane.rowInc == vPlane.rowInc; in GraphicView2MediaImageConverter() 335 if (uPlane.colInc == 2 && vPlane.colInc == 2 in GraphicView2MediaImageConverter() 336 && yPlane.rowInc == uPlane.rowInc) { in GraphicView2MediaImageConverter() 338 } else if (uPlane.colInc == 1 && vPlane.colInc == 1 in GraphicView2MediaImageConverter() 339 && yPlane.rowInc == uPlane.rowInc * 2) { in GraphicView2MediaImageConverter() 347 uPlane.colInc, uPlane.rowInc, in GraphicView2MediaImageConverter() 372 tryWrapping = yuv420888 && uPlane.colInc == 1 && vPlane.colInc == 1 in GraphicView2MediaImageConverter() [all …]
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 224 const MediaImage2::PlaneInfo &uPlane = in Image() local 239 && uPlane.mColInc == 1 in Image() 242 && uPlane.mVertSubsampling == 2 in Image() 248 && uPlane.mColInc == 2 in Image() 251 && uPlane.mVertSubsampling == 2 in Image() 253 && ((vPlane.mOffset == uPlane.mOffset + 1) || in Image() 254 (uPlane.mOffset == vPlane.mOffset + 1))) { in Image() 298 const MediaImage2::PlaneInfo &uPlane = mImage.mPlane[MediaImage2::PlaneIndex::U]; in getYUVPlaneOffsetAndStride() local 299 *u_offset = uPlane.mOffset in getYUVPlaneOffsetAndStride() 300 + (src.mCropTop / uPlane.mVertSubsampling) * uPlane.mRowInc in getYUVPlaneOffsetAndStride() [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() local 605 uPlane = yPlane + yPlaneSize; in process() 606 vPlane = uPlane + yPlaneSize / 4; in process() 641 uPlane = yPlane + yPlaneSize; in process() 642 vPlane = uPlane + yPlaneSize / 4; in process() 665 vin.uChan = uPlane; in process()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 557 Image.Plane uPlane = yuvImage.getPlanes()[1]; in convertToRGB() local 561 ByteBuffer uBuf = uPlane.getBuffer(); in convertToRGB() 570 int uRowStride = uPlane.getRowStride(); in convertToRGB() 574 int uPixStride = uPlane.getPixelStride(); in convertToRGB()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 874 uint8_t* uPlane = in setEncodeArgs() local 902 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 903 vPlane = uPlane + yPlaneSize / 4; in setEncodeArgs() 940 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 941 vPlane = uPlane + yPlaneSize / 4; in setEncodeArgs() 959 ps_encode_ip->apv_inp_planes[1] = uPlane; in setEncodeArgs() 981 ps_encode_ip->apv_inp_planes[1] = uPlane; in setEncodeArgs()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 1528 uint8_t *uPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs() local 1549 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 1550 vPlane = uPlane + yPlaneSize / 4; in setEncodeArgs() 1584 uPlane = yPlane + yPlaneSize; in setEncodeArgs() 1585 vPlane = uPlane + yPlaneSize / 4; in setEncodeArgs() 1604 ps_inp_raw_buf->apv_bufs[1] = uPlane; in setEncodeArgs() 1636 ps_inp_raw_buf->apv_bufs[1] = uPlane; in setEncodeArgs()
|
/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() local 217 calc_md5_cksum(uPlane, uvStride, cropWidth / 2, cropHeight / 2, au1_u_chksum); in compareMd5Chksm() 225 cbPlane[count] = uPlane[k * uvStride + l]; in compareMd5Chksm()
|