Home
last modified time | relevance | path

Searched refs:mVertSubsampling (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp90 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { in initFromV1()
107 mPlane[ix].mVertSubsampling = (int32_t)image.mPlane[ix].mVertSubsampling; in initFromV1()
259 image.mPlane[image.Y].mVertSubsampling = 1; in DescribeDefaultColorFormat()
272 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat()
279 image.mPlane[image.U].mVertSubsampling = 2; in DescribeDefaultColorFormat()
292 image.mPlane[image.U].mVertSubsampling = 2; in DescribeDefaultColorFormat()
299 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat()
310 image.mPlane[image.U].mVertSubsampling = 2; in DescribeDefaultColorFormat()
316 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat()
374 || img.mPlane[img.Y].mVertSubsampling != 1) { in IsFlexibleColorFormat()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp78 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()
248 && img->mPlane[0].mVertSubsampling == 1 in IsYUV420()
250 && img->mPlane[1].mVertSubsampling == 2 in IsYUV420()
252 && img->mPlane[2].mVertSubsampling == 2); in IsYUV420()
288 .mVertSubsampling = 1, in CreateYUV420PlanarMediaImage2()
295 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2()
302 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2()
323 .mVertSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2()
330 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
337 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp290 mediaImage->mPlane[i].mVertSubsampling = plane.rowSampling; in GraphicView2MediaImageConverter()
305 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
311 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
317 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
326 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
332 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
338 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h52 uint32_t mVertSubsampling; // subsampling compared to the largest plane member
94 uint32_t mVertSubsampling; // subsampling compared to the largest plane member
/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp362 EXPECT_EQ(img->mPlane[img->Y].mVertSubsampling, 1u); in TEST_P()
364 EXPECT_EQ(img->mPlane[img->U].mVertSubsampling, 2u); in TEST_P()
366 EXPECT_EQ(img->mPlane[img->V].mVertSubsampling, 2u); in TEST_P()
434 for (uint32_t y = 0; y < img->mHeight / img->mPlane[ix].mVertSubsampling ; ++y) { in TEST_P()