Home
last modified time | relevance | path

Searched refs:mHorizSubsampling (Results 1 – 5 of 5) 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()
258 image.mPlane[image.Y].mHorizSubsampling = 1; in DescribeDefaultColorFormat()
271 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
278 image.mPlane[image.U].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
291 image.mPlane[image.U].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
298 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
309 image.mPlane[image.U].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
315 image.mPlane[image.V].mHorizSubsampling = 2; in DescribeDefaultColorFormat()
373 || img.mPlane[img.Y].mHorizSubsampling != 1 in IsFlexibleColorFormat()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp77 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
247 && img->mPlane[0].mHorizSubsampling == 1 in IsYUV420()
249 && img->mPlane[1].mHorizSubsampling == 2 in IsYUV420()
251 && img->mPlane[2].mHorizSubsampling == 2 in IsYUV420()
287 .mHorizSubsampling = 1, in CreateYUV420PlanarMediaImage2()
294 .mHorizSubsampling = 2, in CreateYUV420PlanarMediaImage2()
301 .mHorizSubsampling = 2, in CreateYUV420PlanarMediaImage2()
322 .mHorizSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2()
329 .mHorizSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
336 .mHorizSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp289 mediaImage->mPlane[i].mHorizSubsampling = plane.colSampling; in GraphicView2MediaImageConverter()
304 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
310 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
316 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
325 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
331 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
337 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
/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/codec2/sfplugin/tests/
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()