Home
last modified time | relevance | path

Searched refs:channelMask (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/src/gpu/
H A DGrYUVABackendTextures.cpp13 switch (format.channelMask()) { in num_channels()
65 uint32_t channelFlags[] = {fPlaneFormats[0].channelMask(), in toYUVALocations()
66 fPlaneFormats[1].channelMask(), in toYUVALocations()
67 fPlaneFormats[2].channelMask(), in toYUVALocations()
68 fPlaneFormats[3].channelMask()}; in toYUVALocations()
102 uint32_t channelFlags[] = {fTextures[0].getBackendFormat().channelMask(), in toYUVALocations()
103 fTextures[1].getBackendFormat().channelMask(), in toYUVALocations()
104 fTextures[2].getBackendFormat().channelMask(), in toYUVALocations()
105 fTextures[3].getBackendFormat().channelMask()}; in toYUVALocations()
H A DGrYUVATextureProxies.cpp45 textureChannelMasks[i] = proxies[i]->backendFormat().channelMask(); in GrYUVATextureProxies()
84 num_channels(views[i].proxy()->backendFormat().channelMask())); in GrYUVATextureProxies()
H A DGrBackendSurface.cpp215 uint32_t GrBackendFormat::channelMask() const { in channelMask() function in GrBackendFormat
/third_party/skia/third_party/externals/oboe/src/opensles/
H A DAudioOutputStreamOpenSLES.cpp82 SLuint32 channelMask = 0; in channelCountToChannelMask() local
86 channelMask = SL_SPEAKER_FRONT_CENTER; in channelCountToChannelMask()
90 channelMask = SL_ANDROID_SPEAKER_STEREO; in channelCountToChannelMask()
94 channelMask = SL_ANDROID_SPEAKER_QUAD; in channelCountToChannelMask()
98 channelMask = SL_ANDROID_SPEAKER_5DOT1; in channelCountToChannelMask()
102 channelMask = SL_ANDROID_SPEAKER_7DOT1; in channelCountToChannelMask()
106 channelMask = channelCountToChannelMaskDefault(channelCount); in channelCountToChannelMask()
109 return channelMask; in channelCountToChannelMask()
154 channelCountToChannelMask(mChannelCount), // channelMask in open()
H A DOpenSLESUtilities.cpp74 format_pcm_ex.channelMask = format.channelMask; in OpenSLES_createExtendedFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineColorWriteEnableTests.cpp170 tcu::BVec4 channelMask; member
771 (m_testConfig.channelMask.x() ? vk::VK_COLOR_COMPONENT_R_BIT : 0) in iterate()
772 | (m_testConfig.channelMask.y() ? vk::VK_COLOR_COMPONENT_G_BIT : 0) in iterate()
773 | (m_testConfig.channelMask.z() ? vk::VK_COLOR_COMPONENT_B_BIT : 0) in iterate()
774 | (m_testConfig.channelMask.w() ? vk::VK_COLOR_COMPONENT_A_BIT : 0) in iterate()
1035 void ApplyChannelMask(std::vector<tcu::Vec4>& meshColors, const tcu::BVec4& channelMask, const tcu::Vec4& clearColor) in ApplyChannelMask() argument
1039 channelMask.x() ? attachmentColor.x() : clearColor.x(), in ApplyChannelMask()
1040 channelMask.y() ? attachmentColor.y() : clearColor.y(), in ApplyChannelMask()
1041 channelMask.z() ? attachmentColor.z() : clearColor.z(), in ApplyChannelMask()
1042 channelMask in ApplyChannelMask()
1046 AddSingleTestCaseStatic(const std::string& name, vk::PipelineConstructionType pipelineConstructionType, const std::vector<bool> mask, const tcu::BVec4 channelMask, bool inverse, tcu::TestCaseGroup* orderingGroup, tcu::TestContext& testCtx) AddSingleTestCaseStatic() argument
1089 AddSingleTestCaseDynamic(const std::string& name, vk::PipelineConstructionType pipelineConstructionType, const std::vector<bool> mask, const tcu::BVec4 channelMask, bool inverse, tcu::TestCaseGroup* orderingGroup, tcu::TestContext& testCtx, SequenceOrdering ordering) AddSingleTestCaseDynamic() argument
[all...]
H A DvktPipelineSamplerBorderSwizzleTests.cpp558 const auto channelMask = getTextureFormatChannelMask(bufferFormat); in comparePixelToColorClearValue() local
610 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
656 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
702 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
756 const bool result = !(calcFloatDiff(resColor[ndx], refColor[ndx]) > threshold[ndx] && channelMask[ndx]); in comparePixelToColorClearValue()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineColorWriteEnableTests.cpp168 tcu::BVec4 channelMask; member
763 (m_testConfig.channelMask.x() ? vk::VK_COLOR_COMPONENT_R_BIT : 0) in iterate()
764 | (m_testConfig.channelMask.y() ? vk::VK_COLOR_COMPONENT_G_BIT : 0) in iterate()
765 | (m_testConfig.channelMask.z() ? vk::VK_COLOR_COMPONENT_B_BIT : 0) in iterate()
766 | (m_testConfig.channelMask.w() ? vk::VK_COLOR_COMPONENT_A_BIT : 0) in iterate()
1027 void ApplyChannelMask(std::vector<tcu::Vec4>& meshColors, const tcu::BVec4& channelMask, const tcu::Vec4& clearColor) in ApplyChannelMask() argument
1031 channelMask.x() ? attachmentColor.x() : clearColor.x(), in ApplyChannelMask()
1032 channelMask.y() ? attachmentColor.y() : clearColor.y(), in ApplyChannelMask()
1033 channelMask.z() ? attachmentColor.z() : clearColor.z(), in ApplyChannelMask()
1034 channelMask in ApplyChannelMask()
1038 AddSingleTestCaseStatic(const std::string& name, const std::string& description, vk::PipelineConstructionType pipelineConstructionType, const std::vector<bool> mask, const tcu::BVec4 channelMask, bool inverse, tcu::TestCaseGroup* orderingGroup, tcu::TestContext& testCtx) AddSingleTestCaseStatic() argument
1082 AddSingleTestCaseDynamic(const std::string& name, const std::string& description, vk::PipelineConstructionType pipelineConstructionType, const std::vector<bool> mask, const tcu::BVec4 channelMask, bool inverse, tcu::TestCaseGroup* orderingGroup, tcu::TestContext& testCtx, SequenceOrdering ordering) AddSingleTestCaseDynamic() argument
[all...]
H A DvktPipelineSamplerBorderSwizzleTests.cpp457 const auto channelMask = getTextureFormatChannelMask(bufferFormat); in comparePixelToColorClearValue() local
500 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
546 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
592 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
646 const bool result = !(calcFloatDiff(resColor[ndx], refColor[ndx]) > threshold[ndx] && channelMask[ndx]); in comparePixelToColorClearValue()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp352 const BVec4& channelMask, in comparePixelToColorClearValue()
373 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold.vec4), channelMask), channelMask)); in comparePixelToColorClearValue()
378 s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold.vec4 << " Color:" << resColor; in comparePixelToColorClearValue()
398 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold64), channelMask), channelMask)); in comparePixelToColorClearValue()
403 s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold64 << " Color:" << resColor; in comparePixelToColorClearValue()
423 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold64), channelMask), channelMask)); in comparePixelToColorClearValue()
428 s << "Ref:" << refColor << " Mask:" << channelMask << " Threshol in comparePixelToColorClearValue()
345 comparePixelToColorClearValue(const ConstPixelBufferAccess& access, int x, int y, int z, const VkClearColorValue& ref, std::string& stringResult, const Threshold& threshold, const BVec4& channelMask, const TextureChannelClass& channelClass) comparePixelToColorClearValue() argument
1393 const BVec4 channelMask = getTextureFormatChannelMask(format); verifyResultImage() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageClearingTests.cpp344 const BVec4& channelMask, in comparePixelToColorClearValue()
361 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold.vec4), channelMask), channelMask)); in comparePixelToColorClearValue()
366 s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold.vec4 << " Color:" << resColor; in comparePixelToColorClearValue()
380 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold.uvec4), channelMask), channelMask)); in comparePixelToColorClearValue()
385 s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold.uvec4 << " Color:" << resColor; in comparePixelToColorClearValue()
399 const bool result = !(anyNotEqual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold.ivec4), channelMask), channelMask)); in comparePixelToColorClearValue()
404 s << "Ref:" << refColor << " Mask:" << channelMask << " Threshol in comparePixelToColorClearValue()
337 comparePixelToColorClearValue(const ConstPixelBufferAccess& access, int x, int y, int z, const VkClearColorValue& ref, std::string& stringResult, const Threshold& threshold, const BVec4& channelMask, const TextureChannelClass& channelClass) comparePixelToColorClearValue() argument
1261 const BVec4 channelMask = getTextureFormatChannelMask(format); verifyResultImage() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMutableTests.cpp162 deUint32 channelMask = 0; in getClearValueInt() local
168 channelMask = 0xFFu; in getClearValueInt()
187 channelMask = 0xFFu; in getClearValueInt()
190 channelMask = 0xFFFFu; in getClearValueInt()
193 channelMask = 0xFFFFFFFFu; in getClearValueInt()
200 clearValue.color.int32[0] = COLOR_TABLE_INT[colorTableIndex].x() & channelMask; in getClearValueInt()
201 clearValue.color.int32[1] = COLOR_TABLE_INT[colorTableIndex].y() & channelMask; in getClearValueInt()
202 clearValue.color.int32[2] = COLOR_TABLE_INT[colorTableIndex].z() & channelMask; in getClearValueInt()
203 clearValue.color.int32[3] = COLOR_TABLE_INT[colorTableIndex].w() & channelMask; in getClearValueInt()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMutableTests.cpp162 deUint32 channelMask = 0; in getClearValueInt() local
168 channelMask = 0xFFu; in getClearValueInt()
187 channelMask = 0xFFu; in getClearValueInt()
190 channelMask = 0xFFFFu; in getClearValueInt()
193 channelMask = 0xFFFFFFFFu; in getClearValueInt()
200 clearValue.color.int32[0] = COLOR_TABLE_INT[colorTableIndex].x() & channelMask; in getClearValueInt()
201 clearValue.color.int32[1] = COLOR_TABLE_INT[colorTableIndex].y() & channelMask; in getClearValueInt()
202 clearValue.color.int32[2] = COLOR_TABLE_INT[colorTableIndex].z() & channelMask; in getClearValueInt()
203 clearValue.color.int32[3] = COLOR_TABLE_INT[colorTableIndex].w() & channelMask; in getClearValueInt()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelRoutine.cpp1535 Int channelMask; in writeColor() local
1539 channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask4rgbaQ[bgraWriteMask & 0xF][0])); in writeColor()
1542 channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask4bgraQ[bgraWriteMask & 0xF][0])); in writeColor()
1545 channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask4argbQ[bgraWriteMask & 0xF][0])); in writeColor()
1548 channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask4abgrQ[bgraWriteMask & 0xF][0])); in writeColor()
1558 mask01 &= channelMask; in writeColor()
1569 mask23 &= channelMask; in writeColor()
1579 Int channelMask = *Pointer<Int>(constants + OFFSET(Constants, maskr5g5b5a1Q[bgraWriteMask & 0xF][0])); in writeColor() local
1585 mask01 &= channelMask; in writeColor()
1596 mask23 &= channelMask; in writeColor()
1606 Int channelMask = *Pointer<Int>(constants + OFFSET(Constants, maskb5g5r5a1Q[bgraWriteMask & 0xF][0])); writeColor() local
1633 Int channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask5551Q[bgraWriteMask & 0xF][0])); writeColor() local
1660 Int channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask565Q[bgraWriteMask & 0x7][0])); writeColor() local
1687 Short4 channelMask = *Pointer<Short4>(constants + OFFSET(Constants, maskB4Q[bgraWriteMask][0])); writeColor() local
1714 Short4 channelMask = *Pointer<Short4>(constants + OFFSET(Constants, maskB4Q[rgbaWriteMask][0])); writeColor() local
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureBorderClampTests.cpp416 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(texFormat);
436 return rr::GenericVec4(tcu::select(linearized, tcu::Vec4(0.0f), channelMask));
446 return rr::GenericVec4(tcu::select(access.getPixel(0, 0), tcu::Vec4(0.0f), channelMask));
451 return rr::GenericVec4(tcu::select(access.getPixelInt(0, 0), tcu::IVec4(0), channelMask));
456 return rr::GenericVec4(tcu::select(access.getPixelUint(0, 0), tcu::UVec4(0u), channelMask));
1942 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(texFormat);
1943 const float maxChannelValue = (channelMask[0]) ? (texFormatInfo.valueMax[0])
1944 : (channelMask[1]) ? (texFormatInfo.valueMax[1])
1945 : (channelMask[2]) ? (texFormatInfo.valueMax[2])
1973 iteration.borderColor = selectComponents(effectiveColors, nonEffectiveColors, channelMask);
[all...]
/third_party/skia/include/gpu/
H A DGrBackendSurface.h130 uint32_t channelMask() const;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTests.cpp995 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in clearColorToString() local
1011 if (channelMask[i]) in clearColorToString()
1024 if (channelMask[i]) in clearColorToString()
1039 if (channelMask[i]) in clearColorToString()
1087 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in randomColorClearValue() local
1098 if (!channelMask[ndx]) in randomColorClearValue()
1110 if (!channelMask[ndx]) in randomColorClearValue()
1124 if (!channelMask[ndx]) in randomColorClearValue()
3498 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format);
3505 if (channelMask[
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassTests.cpp985 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in clearColorToString() local
1000 if (channelMask[i]) in clearColorToString()
1013 if (channelMask[i]) in clearColorToString()
1028 if (channelMask[i]) in clearColorToString()
1076 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in randomColorClearValue() local
1086 if (!channelMask[ndx]) in randomColorClearValue()
1098 if (!channelMask[ndx]) in randomColorClearValue()
1112 if (!channelMask[ndx]) in randomColorClearValue()
3484 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format);
3491 if (channelMask[
[all...]
/third_party/openSLES/api/1.1/
H A DOpenSLES.h388 SLuint32 channelMask; member
399 SLuint32 channelMask; member
/third_party/openSLES/api/1.0.1/
H A DOpenSLES.h362 SLuint32 channelMask; member
/third_party/openSLES/api/1.0/
H A DOpenSLES.h361 SLuint32 channelMask; member

Completed in 58 milliseconds