Home
last modified time | relevance | path

Searched refs:mHorizSubsampling (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp89 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX in initFromV1()
106 mPlane[ix].mHorizSubsampling = (int32_t)image.mPlane[ix].mHorizSubsampling; in initFromV1()
260 image.mPlane[image.Y].mHorizSubsampling = 1; in DescribeDefaultColorFormat()
273 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
280 image.mPlane[image.U].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
293 image.mPlane[image.U].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
300 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
311 image.mPlane[image.U].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
317 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
375 || img.mPlane[img.Y].mHorizSubsampling != 1 in IsFlexibleColorFormat()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp356 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
362 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
368 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
384 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
390 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
396 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
412 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
418 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
424 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
455 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = yPlane.colSampling; in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp80 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
403 && img->mPlane[0].mHorizSubsampling == 1 in IsYUV420()
405 && img->mPlane[1].mHorizSubsampling == 2 in IsYUV420()
407 && img->mPlane[2].mHorizSubsampling == 2 in IsYUV420()
522 .mHorizSubsampling = 1, in CreateYUV420PlanarMediaImage2()
529 .mHorizSubsampling = 2, in CreateYUV420PlanarMediaImage2()
536 .mHorizSubsampling = 2, in CreateYUV420PlanarMediaImage2()
557 .mHorizSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2()
564 .mHorizSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
571 .mHorizSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h51 uint32_t mHorizSubsampling; // subsampling compared to the largest plane member
93 uint32_t mHorizSubsampling; // subsampling compared to the largest plane member
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp160 .mHorizSubsampling = 1, in CreateYUV420PlanarMediaImage2()
167 .mHorizSubsampling = 2, in CreateYUV420PlanarMediaImage2()
174 .mHorizSubsampling = 2, in CreateYUV420PlanarMediaImage2()
197 .mHorizSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2()
204 .mHorizSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
211 .mHorizSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
301 + (src.mCropLeft / uPlane.mHorizSubsampling) * uPlane.mColInc; in getYUVPlaneOffsetAndStride()
306 + (src.mCropLeft / vPlane.mHorizSubsampling) * vPlane.mColInc; in getYUVPlaneOffsetAndStride()
1055 image->mPlane[MediaImage2::PlaneIndex::U].mHorizSubsampling; in getReadFromChromaHorizSubsampled2Image8b()
1057 image->mPlane[MediaImage2::PlaneIndex::V].mHorizSubsampling; in getReadFromChromaHorizSubsampled2Image8b()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp259 ASSERT_EQ(1u, yPlane.mHorizSubsampling); in TEST()
261 ASSERT_EQ(2u, uPlane.mHorizSubsampling); in TEST()
263 ASSERT_EQ(2u, vPlane.mHorizSubsampling); in TEST()
399 ASSERT_EQ(1u, yPlane.mHorizSubsampling); in TEST()
401 ASSERT_EQ(2u, uPlane.mHorizSubsampling); in TEST()
403 ASSERT_EQ(2u, vPlane.mHorizSubsampling); in TEST()
681 for (uint32_t col = 0; col < mediaImage->mWidth / plane.mHorizSubsampling; ++col) { in VerifyPlane()
DMediaCodec_sanity_test.cpp361 EXPECT_EQ(img->mPlane[img->Y].mHorizSubsampling, 1u); in TEST_P()
363 EXPECT_EQ(img->mPlane[img->U].mHorizSubsampling, 2u); in TEST_P()
365 EXPECT_EQ(img->mPlane[img->V].mHorizSubsampling, 2u); in TEST_P()
435 for (uint32_t x = 0; x < img->mWidth / img->mPlane[ix].mHorizSubsampling; ++x) { in TEST_P()