Home
last modified time | relevance | path

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

/external/angle/src/tests/gl_tests/
DD3DTextureTest.cpp1567 const bool isNV12 = (format == DXGI_FORMAT_NV12); in RunYUVTest() local
1568 const unsigned kYFillValue = isNV12 ? 0x12 : 0x1234; in RunYUVTest()
1569 const unsigned kUFillValue = isNV12 ? 0x23 : 0x2345; in RunYUVTest()
1570 const unsigned kVFillValue = isNV12 ? 0x34 : 0x3456; in RunYUVTest()
1574 if (isNV12) in RunYUVTest()
1605 data.SysMemPitch = isNV12 ? bufferSize : bufferSize * 2; in RunYUVTest()
1632 glRenderbufferStorage(GL_RENDERBUFFER, isNV12 ? GL_RGBA8_OES : GL_RGBA16_EXT, bufferSize, in RunYUVTest()
1653 if (isNV12) in RunYUVTest()
1697 if (isNV12) in RunYUVTest()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1501 const bool isNV12 = (desc.Format == DXGI_FORMAT_NV12); in getD3DTextureInfo() local
1504 textureAngleFormat = isNV12 ? &angle::Format::Get(angle::FormatID::R8_UNORM) in getD3DTextureInfo()
1509 textureAngleFormat = isNV12 ? &angle::Format::Get(angle::FormatID::R8G8_UNORM) in getD3DTextureInfo()