/frameworks/wilhelm/tests/sandbox/ |
playbq.cpp | 47 audio_format_t transferFormat = AUDIO_FORMAT_DEFAULT; 78 if (transferFormat == AUDIO_FORMAT_PCM_8_BIT) { 82 } else if (transferFormat == AUDIO_FORMAT_PCM_24_BIT_PACKED) { 124 switch (transferFormat) { 205 transferFormat = AUDIO_FORMAT_PCM_8_BIT; 207 transferFormat = AUDIO_FORMAT_PCM_16_BIT; 209 transferFormat = AUDIO_FORMAT_PCM_24_BIT_PACKED; 211 transferFormat = AUDIO_FORMAT_PCM_32_BIT; 213 transferFormat = AUDIO_FORMAT_PCM_FLOAT; 295 if (transferFormat == AUDIO_FORMAT_DEFAULT) [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestRecBuffQueue.cpp | 41 audio_format_t transferFormat = AUDIO_FORMAT_DEFAULT; 123 switch (transferFormat) { 140 fprintf(stderr, "Unsupported transfer format %d\n", transferFormat); 171 switch (transferFormat) { 185 fprintf(stderr, "Unsupported transfer format %d\n", transferFormat); 266 pcm.formatType = transferFormat == AUDIO_FORMAT_PCM_FLOAT || 267 transferFormat == AUDIO_FORMAT_PCM_8_BIT ? 272 switch (transferFormat) { 292 fprintf(stderr, "Unsupported transfer format %d\n", transferFormat); 511 transferFormat = AUDIO_FORMAT_PCM_FLOAT [all...] |
/external/deqp/framework/opengl/ |
gluTexture.cpp | 89 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()); 97 gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); 172 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()); 181 gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); 357 TransferFormat transferFormat = getTransferFormat(m_refTexture.getFormat()) [all...] |
/external/deqp/framework/platform/null/ |
tcuNullRenderContext.cpp | 641 const tcu::TextureFormat transferFormat = glu::mapGLTransferFormat(format, type); 644 if (transferFormat.order == TextureFormat::CHANNELORDER_LAST || transferFormat.type == TextureFormat::CHANNELTYPE_LAST) 680 const int targetRowPitch = (ctx->pixelPackAlignment == 0) ? (targetRowLength * transferFormat.getPixelSize()) : (deAlign32(targetRowLength * transferFormat.getPixelSize(), ctx->pixelPackAlignment)); 683 const tcu::PixelBufferAccess targetAccess (transferFormat, targetRowLength, infiniteHeight, 1, targetRowPitch, 0, pixels);
|
/external/deqp/modules/gles31/functional/ |
es31fTextureLevelStateQueryTests.cpp | 739 const glu::TransferFormat transferFormat = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::mapGLInternalFormat(spec.levels[levelNdx].internalFormat))); 756 gl.glTexImage2D(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNdx].height, 0, transferFormat.format, transferFormat.dataType, DE_NULL); 758 gl.glTexImage3D(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNdx].height, spec.levels[levelNdx].depth, 0, transferFormat.format, transferFormat.dataType, DE_NULL); 760 gl.glTexImage3D(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNdx].height, spec.levels[levelNdx].depth, 0, transferFormat.format, transferFormat.dataType, DE_NULL); 762 gl.glTexImage2D(spec.queryTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNdx].height, 0, transferFormat.format, transferFormat.dataType, DE_NULL) [all...] |
es31fGeometryShaderTests.cpp | [all...] |
es31fShaderImageLoadStoreTests.cpp | 735 const glu::TransferFormat transferFormat = glu::getTransferFormat(src.getFormat()); 758 glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format, transferFormat.dataType, src.getAccess().getDataPtr()); 764 glLog.glTexSubImage2D(cubeFaceToGLFace(face), 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format, transferFormat.dataType, src.getCubeFaceAccess(face).getDataPtr()); 771 glLog.glTexSubImage3D(textureTarget, 0, 0, 0, 0, imageSize.x(), imageSize.y(), imageSize.z(), transferFormat.format, transferFormat.dataType, src.getAccess().getDataPtr()); [all...] |
es31fFboSRGBWriteControlTests.cpp | 494 TestTexture2D::TestTexture2D (Context& context, const deUint32 internalFormat, const deUint32 transferFormat, const deUint32 transferType, const tcu::Vec4 imageColor, const int idx) 497 , m_transferFormat (tcu::TextureFormat(glu::mapGLTransferFormat(transferFormat, transferType))) 519 m_gl->texImage2D(GL_TEXTURE_2D, 0, m_internalFormat, m_width, m_height, 0, transferFormat, transferType, m_imageData.getAccess().getDataPtr()); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderDerivateTests.cpp | 808 const tcu::TextureFormat transferFormat (tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32); 812 tcu::PixelBufferAccess(transferFormat, result.getWidth(), result.getHeight(), result.getDepth(), result.getAccess().getDataPtr())); [all...] |