Home
last modified time | relevance | path

Searched refs:sampleIncrementInBytes (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp409 uint64_t sampleIncrementInBytes; in getAndroidYCbCr() local
425 sampleIncrementInBytes = planeLayout.sampleIncrementInBits / 8; in getAndroidYCbCr()
426 ASSERT_TRUE(sampleIncrementInBytes == 1 || sampleIncrementInBytes == 2); in getAndroidYCbCr()
430 outYCbCr->chroma_step = sampleIncrementInBytes; in getAndroidYCbCr()
433 ASSERT_EQ(outYCbCr->chroma_step, sampleIncrementInBytes); in getAndroidYCbCr()
492 uint64_t sampleIncrementInBytes = 0; in getAndroidYCbCr_P010() local
509 sampleIncrementInBytes = bitsToBytes(planeLayout.sampleIncrementInBits); in getAndroidYCbCr_P010()
510 EXPECT_EQ(4, sampleIncrementInBytes); in getAndroidYCbCr_P010()
514 yCbCr_P010.yCbCr.chroma_step = sampleIncrementInBytes; in getAndroidYCbCr_P010()
517 EXPECT_EQ(yCbCr_P010.yCbCr.chroma_step, sampleIncrementInBytes); in getAndroidYCbCr_P010()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp239 uint64_t sampleIncrementInBytes; in getAndroidYCbCr() local
255 sampleIncrementInBytes = planeLayout.sampleIncrementInBits / 8; in getAndroidYCbCr()
256 ASSERT_TRUE(sampleIncrementInBytes == 1 || sampleIncrementInBytes == 2); in getAndroidYCbCr()
260 outYCbCr->chroma_step = sampleIncrementInBytes; in getAndroidYCbCr()
263 ASSERT_EQ(outYCbCr->chroma_step, sampleIncrementInBytes); in getAndroidYCbCr()
321 uint64_t sampleIncrementInBytes = 0; in getAndroidYCbCr_P010() local
338 sampleIncrementInBytes = bitsToBytes(planeLayout.sampleIncrementInBits); in getAndroidYCbCr_P010()
339 EXPECT_EQ(4, sampleIncrementInBytes); in getAndroidYCbCr_P010()
343 yCbCr_P010.yCbCr.chroma_step = sampleIncrementInBytes; in getAndroidYCbCr_P010()
346 EXPECT_EQ(yCbCr_P010.yCbCr.chroma_step, sampleIncrementInBytes); in getAndroidYCbCr_P010()