Home
last modified time | relevance | path

Searched refs:mVertSubsampling (Results 1 – 6 of 6) 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()
261 image.mPlane[image.Y].mVertSubsampling = 1; in DescribeDefaultColorFormat()
274 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat()
281 image.mPlane[image.U].mVertSubsampling = 2; in DescribeDefaultColorFormat()
294 image.mPlane[image.U].mVertSubsampling = 2; in DescribeDefaultColorFormat()
301 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat()
312 image.mPlane[image.U].mVertSubsampling = 2; in DescribeDefaultColorFormat()
318 image.mPlane[image.V].mVertSubsampling = 2; in DescribeDefaultColorFormat()
376 || img.mPlane[img.Y].mVertSubsampling != 1) { in IsFlexibleColorFormat()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp310 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
316 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
322 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
338 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
344 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
350 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
365 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
371 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
377 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
408 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = yPlane.rowSampling; in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp79 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()
336 && img->mPlane[0].mVertSubsampling == 1 in IsYUV420()
338 && img->mPlane[1].mVertSubsampling == 2 in IsYUV420()
340 && img->mPlane[2].mVertSubsampling == 2); in IsYUV420()
455 .mVertSubsampling = 1, in CreateYUV420PlanarMediaImage2()
462 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2()
469 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2()
490 .mVertSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2()
497 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
504 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
/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/
DCCodecBuffers_test.cpp260 ASSERT_EQ(1u, yPlane.mVertSubsampling); in TEST()
262 ASSERT_EQ(2u, uPlane.mVertSubsampling); in TEST()
264 ASSERT_EQ(2u, vPlane.mVertSubsampling); in TEST()
400 ASSERT_EQ(1u, yPlane.mVertSubsampling); in TEST()
402 ASSERT_EQ(2u, uPlane.mVertSubsampling); in TEST()
404 ASSERT_EQ(2u, vPlane.mVertSubsampling); in TEST()
679 for (uint32_t row = 0; row < mediaImage->mHeight / plane.mVertSubsampling; ++row) { in VerifyPlane()
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()