Home
last modified time | relevance | path

Searched refs:formatType (Results 1 – 25 of 28) 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.py34 if self.formatType == 1.0:
36 elif self.formatType == 2.0:
38 elif self.formatType == 3.0:
40 elif self.formatType == 4.0:
44 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)
48 if self.formatType == 1.0:
50 elif self.formatType == 2.0:
52 elif self.formatType == 3.0:
54 elif self.formatType == 4.0:
58 raise ttLib.TTLibError("'post' table format %f not supported" % self.formatType)
/external/angle/src/libANGLE/
Dformatutils.h138 GLuint computePixelBytes(GLenum formatType) const;
140 ANGLE_NO_DISCARD bool computeRowPitch(GLenum formatType,
149 ANGLE_NO_DISCARD bool computeDepthPitch(GLenum formatType,
159 ANGLE_NO_DISCARD bool computeSkipBytes(GLenum formatType,
166 ANGLE_NO_DISCARD bool computePackUnpackEndByte(GLenum formatType,
Dformatutils.cpp1238 GLuint InternalFormat::computePixelBytes(GLenum formatType) const in computePixelBytes()
1240 const auto &typeInfo = GetTypeInfo(formatType); in computePixelBytes()
1245 bool InternalFormat::computeRowPitch(GLenum formatType, in computeRowPitch() argument
1259 CheckedNumeric<GLuint> checkedRowBytes = checkedWidth * computePixelBytes(formatType); in computeRowPitch()
1291 bool InternalFormat::computeDepthPitch(GLenum formatType, in computeDepthPitch() argument
1300 if (!computeRowPitch(formatType, width, alignment, rowLength, &rowPitch)) in computeDepthPitch()
1322 bool InternalFormat::computeSkipBytes(GLenum formatType, in computeSkipBytes() argument
1334 CheckedNumeric<GLuint> checkedPixelBytes(computePixelBytes(formatType)); in computeSkipBytes()
1345 bool InternalFormat::computePackUnpackEndByte(GLenum formatType, in computePackUnpackEndByte() argument
1352 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()
DNumberFormatTest.java1521 public NumberFormat createFormat(ULocale loc, int formatType) { in TestRegistration() argument
1522 if (formatType == FORMAT_CURRENCY) { in TestRegistration()
3433 public NumberFormat createFormat(ULocale loc, int formatType) { in TestNumberFormatFactory() argument
3449 public NumberFormat createFormat(Locale loc, int formatType) { in TestNumberFormatFactory() argument
/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.py70 post.formatType = post_format
77 post.formatType = 3
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_common.cc23 configuration.formatType = SL_DATAFORMAT_PCM; in CreatePcmConfiguration()
Dopensles_player.cc196 format.formatType = SL_DATAFORMAT_PCM; in CreatePCMConfiguration()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DNumberFormat.java796 public NumberFormat createFormat(ULocale loc, int formatType) { in createFormat() argument
797 return createFormat(loc.toLocale(), formatType); in createFormat()
813 public NumberFormat createFormat(Locale loc, int formatType) { in createFormat() argument
814 return createFormat(ULocale.forLocale(loc), formatType); in createFormat()
/external/webrtc/webrtc/modules/video_capture/windows/
Dsink_filter_ds.cc174 const GUID *formatType = pMediaType->FormatType(); in CheckMediaType() local
183 if(*formatType == FORMAT_VideoInfo) in CheckMediaType()
249 if(*formatType == FORMAT_VideoInfo2) in CheckMediaType()
/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.py186 formatType = 3.0,
714 postTable.formatType = 2.0
718 postTable.formatType = 3.0
/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/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/icu/icu4c/source/i18n/unicode/
Dnumfmt.h1208 virtual NumberFormat* createFormat(const Locale& loc, UNumberFormatStyle formatType) = 0;
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py278 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/fonttools/Lib/fontTools/varLib/
D__init__.py876 if post.formatType != 2.0:
877 post.formatType = 2.0
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp196 gl::FormatType formatType(format, type); in readPixelsImpl() local
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp645 pcm.formatType = SL_DATAFORMAT_PCM; in slesCreateServer()
/external/fonttools/Lib/fontTools/subset/
D__init__.py1917 self.formatType = 3.0
2716 if f.formatType == 2.0:
2717 f.formatType = 3.0

12