Searched refs:mVertSubsampling (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/omx/ |
D | OMXUtils.cpp | 90 || 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/ |
D | Codec2Buffer.cpp | 357 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter() 363 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter() 369 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter() 385 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter() 391 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter() 397 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter() 413 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter() 419 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter() 425 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter() 456 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = yPlane.rowSampling; in GraphicView2MediaImageConverter() [all …]
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 81 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy() 404 && img->mPlane[0].mVertSubsampling == 1 in IsYUV420() 406 && img->mPlane[1].mVertSubsampling == 2 in IsYUV420() 408 && img->mPlane[2].mVertSubsampling == 2); in IsYUV420() 523 .mVertSubsampling = 1, in CreateYUV420PlanarMediaImage2() 530 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2() 537 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2() 558 .mVertSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2() 565 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2() 572 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 161 .mVertSubsampling = 1, in CreateYUV420PlanarMediaImage2() 168 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2() 175 .mVertSubsampling = 2, in CreateYUV420PlanarMediaImage2() 198 .mVertSubsampling = 1, in CreateYUV420SemiPlanarMediaImage2() 205 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2() 212 .mVertSubsampling = 2, in CreateYUV420SemiPlanarMediaImage2() 241 && yPlane.mVertSubsampling == 1 in Image() 242 && uPlane.mVertSubsampling == 2 in Image() 243 && vPlane.mVertSubsampling == 2) { in Image() 250 && yPlane.mVertSubsampling == 1 in Image() [all …]
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | VideoAPI.h | 52 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/ |
D | CCodecBuffers_test.cpp | 260 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()
|
D | MediaCodec_sanity_test.cpp | 362 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()
|