Home
last modified time | relevance | path

Searched refs:formatType (Results 1 – 25 of 31) sorted by relevance

12

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavHeader.java25 public final int formatType; field in WavHeader
40 int formatType, in WavHeader() argument
47 this.formatType = formatType; in WavHeader()
DWavExtractor.java97 if (header.formatType == WavUtil.TYPE_IMA_ADPCM) { in read()
99 } else if (header.formatType == WavUtil.TYPE_ALAW) { in read()
107 } else if (header.formatType == WavUtil.TYPE_MLAW) { in read()
117 int pcmEncoding = WavUtil.getPcmEncodingForType(header.formatType, header.bitsPerSample); in read()
119 throw new ParserException("Unsupported WAV format type: " + header.formatType); in read()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_p_o_s_t.py33 if self.formatType == 1.0:
35 elif self.formatType == 2.0:
37 elif self.formatType == 3.0:
39 elif self.formatType == 4.0:
43 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)
47 if self.formatType == 1.0:
49 elif self.formatType == 2.0:
51 elif self.formatType == 3.0:
53 elif self.formatType == 4.0:
57 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)
DotBase.py854 def getFormatSwitchingBaseTableClass(formatType): argument
856 return formatSwitchingBaseTables[formatType]
/external/angle/src/libANGLE/
Dformatutils.h139 GLuint computePixelBytes(GLenum formatType) const;
144 ANGLE_NO_DISCARD bool computeRowPitch(GLenum formatType,
153 ANGLE_NO_DISCARD bool computeDepthPitch(GLenum formatType,
165 ANGLE_NO_DISCARD bool computeSkipBytes(GLenum formatType,
172 ANGLE_NO_DISCARD bool computePackUnpackEndByte(GLenum formatType,
Dformatutils.cpp1481 GLuint InternalFormat::computePixelBytes(GLenum formatType) const in computePixelBytes()
1483 const auto &typeInfo = GetTypeInfo(formatType); in computePixelBytes()
1518 bool InternalFormat::computeRowPitch(GLenum formatType, in computeRowPitch() argument
1532 CheckedNumeric<GLuint> checkedRowBytes = checkedWidth * computePixelBytes(formatType); in computeRowPitch()
1564 bool InternalFormat::computeDepthPitch(GLenum formatType, in computeDepthPitch() argument
1573 if (!computeRowPitch(formatType, width, alignment, rowLength, &rowPitch)) in computeDepthPitch()
1632 bool InternalFormat::computeSkipBytes(GLenum formatType, in computeSkipBytes() argument
1644 CheckedNumeric<GLuint> checkedPixelBytes(computePixelBytes(formatType)); in computeSkipBytes()
1655 bool InternalFormat::computePackUnpackEndByte(GLenum formatType, in computePackUnpackEndByte() argument
1662 if (!computeRowPitch(formatType, size.width, state.alignment, state.rowLength, &rowPitch)) in computePackUnpackEndByte()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRegistrationTest.java45 public NumberFormat createFormat(ULocale loc, int formatType) { in TestRegistration() argument
46 if (formatType == FORMAT_CURRENCY) { in TestRegistration()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegistrationTest.java42 public NumberFormat createFormat(ULocale loc, int formatType) { in TestRegistration() argument
43 if (formatType == FORMAT_CURRENCY) { in TestRegistration()
/external/fonttools/Snippets/
Dotf2ttf.py77 post.formatType = post_format
84 post.formatType = 3
/external/oboe/src/opensles/
DOpenSLESUtilities.cpp69 format_pcm_ex.formatType = SL_ANDROID_DATAFORMAT_PCM_EX; in OpenSLES_createExtendedFormat()
/external/webrtc/modules/audio_device/android/
Dopensles_common.cc54 format.formatType = SL_DATAFORMAT_PCM; in CreatePCMConfiguration()
/external/webrtc/sdk/android/src/jni/audio_device/
Dopensles_common.cc56 format.formatType = SL_DATAFORMAT_PCM; in CreatePCMConfiguration()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java941 public NumberFormat createFormat(ULocale loc, int formatType) { in createFormat() argument
942 return createFormat(loc.toLocale(), formatType); in createFormat()
958 public NumberFormat createFormat(Locale loc, int formatType) { in createFormat() argument
959 return createFormat(ULocale.forLocale(loc), formatType); in createFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java819 public NumberFormat createFormat(ULocale loc, int formatType) { in createFormat() argument
820 return createFormat(loc.toLocale(), formatType); in createFormat()
835 public NumberFormat createFormat(Locale loc, int formatType) { in createFormat() argument
836 return createFormat(ULocale.forLocale(loc), formatType); in createFormat()
/external/fonttools/Lib/fontTools/
DfontBuilder.py182 formatType=3.0,
778 postTable.formatType = 2.0
782 postTable.formatType = 3.0
/external/icu/icu4c/source/test/intltest/
Dnmfmapts.cpp274 virtual NumberFormat* createFormat(const Locale& /* loc */, UNumberFormatStyle formatType) in createFormat() argument
276 if (formatType == UNUM_CURRENCY) { in createFormat()
/external/walt/android/WALT/app/src/main/jni/
Dplayer.c253 format_pcm.formatType = SL_DATAFORMAT_PCM; in Java_org_chromium_latency_walt_AudioTest_createBufferQueueAudioPlayer()
405 format_pcm.formatType = SL_DATAFORMAT_PCM; in Java_org_chromium_latency_walt_AudioTest_createAudioRecorder()
/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py579 formatType = "Rule"
581 formatType = "Class"
583 raise AssertionError(formatType)
591 formatType = ""
593 formatType = "Class"
595 raise AssertionError(formatType)
/external/icu/libicu/cts_headers/unicode/
Dnumfmt.h1206 virtual NumberFormat* createFormat(const Locale& loc, UNumberFormatStyle formatType) = 0;
/external/icu/icu4c/source/i18n/unicode/
Dnumfmt.h1206 virtual NumberFormat* createFormat(const Locale& loc, UNumberFormatStyle formatType) = 0;
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py316 assert fb.font["post"].formatType == post_format
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp237 static inline string getShaderSamplerOrImageType (TextureFormat::ChannelType formatType, TextureTyp… in getShaderSamplerOrImageType() argument
239 const char* const formatPart = isFormatTypeUnsignedInteger(formatType) ? "u" in getShaderSamplerOrImageType()
240 : isFormatTypeSignedInteger(formatType) ? "i" in getShaderSamplerOrImageType()
253 static inline string getShaderImageType (TextureFormat::ChannelType formatType, TextureType imageTy… in getShaderImageType() argument
255 return getShaderSamplerOrImageType(formatType, imageType, false); in getShaderImageType()
258 static inline string getShaderSamplerType (TextureFormat::ChannelType formatType, TextureType image… in getShaderSamplerType() argument
260 return getShaderSamplerOrImageType(formatType, imageType, true); in getShaderSamplerType()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp197 gl::FormatType formatType(format, type); in readPixelsImpl() local
/external/fonttools/Lib/fontTools/varLib/
D__init__.py942 if post.formatType != 2.0:
943 post.formatType = 2.0
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp645 pcm.formatType = SL_DATAFORMAT_PCM; in slesCreateServer()

12