Home
last modified time | relevance | path

Searched refs:channelMask (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/gpu/
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()
DGrYUVATextureProxies.cpp45 textureChannelMasks[i] = proxies[i]->backendFormat().channelMask(); in GrYUVATextureProxies()
84 num_channels(views[i].proxy()->backendFormat().channelMask())); in GrYUVATextureProxies()
DGrBackendSurface.cpp213 uint32_t GrBackendFormat::channelMask() const { in channelMask() function in GrBackendFormat
/external/oboe/src/opensles/
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()
DOpenSLESUtilities.cpp74 format_pcm_ex.channelMask = format.channelMask; in OpenSLES_createExtendedFormat()
/external/webrtc/modules/audio_device/android/
Dopensles_common.cc93 format.channelMask = SL_SPEAKER_FRONT_CENTER; in CreatePCMConfiguration()
95 format.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in CreatePCMConfiguration()
/external/webrtc/sdk/android/src/jni/audio_device/
Dopensles_common.cc95 format.channelMask = SL_SPEAKER_FRONT_CENTER; in CreatePCMConfiguration()
97 format.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in CreatePCMConfiguration()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp344 const BVec4 channelMask = getTextureFormatChannelMask(format); in comparePixelToColorClearValue() local
366 …qual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
371 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold << " Color:" << r… in comparePixelToColorClearValue()
387 …qual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
392 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold << " Color:" << r… in comparePixelToColorClearValue()
408 …qual(logicalAnd(lessThanEqual(absDiff(resColor, refColor), threshold), channelMask), channelMask)); in comparePixelToColorClearValue()
413 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << threshold << " Color:" << r… in comparePixelToColorClearValue()
434 … bool result = !(calcFloatDiff(resColor[ndx], refColor[ndx]) > threshold[ndx] && channelMask[ndx]); in comparePixelToColorClearValue()
444 …s << "Ref:" << refColor << " Mask:" << channelMask << " Threshold:" << thresholdVec4 << " Color:" … in comparePixelToColorClearValue()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp161 deUint32 channelMask = 0; in getClearValueInt() local
167 channelMask = 0xFFu; in getClearValueInt()
186 channelMask = 0xFFu; in getClearValueInt()
189 channelMask = 0xFFFFu; in getClearValueInt()
192 channelMask = 0xFFFFFFFFu; in getClearValueInt()
199 clearValue.color.int32[0] = COLOR_TABLE_INT[colorTableIndex].x() & channelMask; in getClearValueInt()
200 clearValue.color.int32[1] = COLOR_TABLE_INT[colorTableIndex].y() & channelMask; in getClearValueInt()
201 clearValue.color.int32[2] = COLOR_TABLE_INT[colorTableIndex].z() & channelMask; in getClearValueInt()
202 clearValue.color.int32[3] = COLOR_TABLE_INT[colorTableIndex].w() & channelMask; in getClearValueInt()
/external/walt/android/WALT/app/src/main/jni/
Dplayer.c261 format_pcm.channelMask = SL_SPEAKER_FRONT_CENTER; in Java_org_chromium_latency_walt_AudioTest_createBufferQueueAudioPlayer()
412 format_pcm.channelMask = SL_SPEAKER_FRONT_CENTER; in Java_org_chromium_latency_walt_AudioTest_createAudioRecorder()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp416 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(texFormat); in mapToFormatColorRepresentable() local
436 return rr::GenericVec4(tcu::select(linearized, tcu::Vec4(0.0f), channelMask)); in mapToFormatColorRepresentable()
446 return rr::GenericVec4(tcu::select(access.getPixel(0, 0), tcu::Vec4(0.0f), channelMask)); in mapToFormatColorRepresentable()
451 return rr::GenericVec4(tcu::select(access.getPixelInt(0, 0), tcu::IVec4(0), channelMask)); in mapToFormatColorRepresentable()
456 return rr::GenericVec4(tcu::select(access.getPixelUint(0, 0), tcu::UVec4(0u), channelMask)); in mapToFormatColorRepresentable()
1941 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(texFormat); in init() local
1942 const float maxChannelValue = (channelMask[0]) ? (texFormatInfo.valueMax[0]) in init()
1943 : (channelMask[1]) ? (texFormatInfo.valueMax[1]) in init()
1944 : (channelMask[2]) ? (texFormatInfo.valueMax[2]) in init()
1972 iteration.borderColor = selectComponents(effectiveColors, nonEffectiveColors, channelMask); in init()
/external/swiftshader/src/Pipeline/
DPixelRoutine.cpp1506 … Int channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask5551Q[bgraWriteMask & 0xF][0])); in writeColor() local
1512 mask01 &= channelMask; in writeColor()
1523 mask23 &= channelMask; in writeColor()
1533 Int channelMask = *Pointer<Int>(constants + OFFSET(Constants, mask565Q[bgraWriteMask & 0x7][0])); in writeColor() local
1539 mask01 &= channelMask; in writeColor()
1550 mask23 &= channelMask; in writeColor()
1560 Short4 channelMask = *Pointer<Short4>(constants + OFFSET(Constants, maskB4Q[bgraWriteMask][0])); in writeColor() local
1565 mask01 &= channelMask; in writeColor()
1575 mask23 &= channelMask; in writeColor()
1587 Short4 channelMask = *Pointer<Short4>(constants + OFFSET(Constants, maskB4Q[rgbaWriteMask][0])); in writeColor() local
[all …]
/external/skia/include/gpu/
DGrBackendSurface.h120 uint32_t channelMask() const;
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1004 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in clearColorToString() local
1019 if (channelMask[i]) in clearColorToString()
1032 if (channelMask[i]) in clearColorToString()
1047 if (channelMask[i]) in clearColorToString()
1095 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in randomColorClearValue() local
1105 if (!channelMask[ndx]) in randomColorClearValue()
1117 if (!channelMask[ndx]) in randomColorClearValue()
1131 if (!channelMask[ndx]) in randomColorClearValue()
3021 const tcu::BVec4 channelMask = tcu::getTextureFormatChannelMask(format); in clearValueToPixelValue() local
3028 if (channelMask[i]) in clearValueToPixelValue()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DSTL.h2245 channelMask; variable
2250 channelMaskImages(first_,last_,&channelMask,channel_);
2252 restoreChannelMaskImages(first_,last_,&channelMask);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp650 pcm.channelMask = pSles->channels == 1 ? SL_SPEAKER_FRONT_CENTER : in slesCreateServer()