/hardware/qcom/msm8996/original-kernel-headers/linux/ |
msm_audio_ape.h | 19 uint16_t bitsPerSample;
|
/frameworks/wilhelm/tests/sandbox/ |
configbq.c | 30 SLuint8 bitsPerSample; 101 format->milliHz / 1000, format->bitsPerSample); 111 format_pcm.bitsPerSample = format->bitsPerSample; 112 format_pcm.containerSize = format->bitsPerSample; 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / 155 if (8 == format->bitsPerSample) { 159 assert(16 == format->bitsPerSample); 169 if (8 == format->bitsPerSample) { 172 assert(16 == format->bitsPerSample); [all...] |
playbq.c | 322 SLuint32 bitsPerSample; 325 bitsPerSample = 32; 329 bitsPerSample = 32; 333 bitsPerSample = 24; 337 bitsPerSample = 16; 341 bitsPerSample = 8; 394 format_pcm.bitsPerSample = bitsPerSample; 395 format_pcm.containerSize = format_pcm.bitsPerSample;
|
playbq.cpp | 322 SLuint32 bitsPerSample; 325 bitsPerSample = 32; 329 bitsPerSample = 32; 333 bitsPerSample = 24; 337 bitsPerSample = 16; 341 bitsPerSample = 8; 394 format_pcm.bitsPerSample = bitsPerSample; 395 format_pcm.containerSize = format_pcm.bitsPerSample;
|
srcsink.c | 46 format_pcm.bitsPerSample = 16; 135 format_pcm.bitsPerSample = 17; 140 format_pcm.bitsPerSample = 24; 145 format_pcm.bitsPerSample = 16;
|
/external/pdfium/testing/resources/ |
bug_452455.in | 41 /BitsPerSample 8
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
WaveHeader.java | 30 * <li> bitsPerSample - usually 16 for PCM, 8 for ALAW, or 8 for ULAW. 70 * @param bitsPerSample usually 16 for PCM, 8 for ULAW or 8 for ALAW. 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { 77 mBitsPerSample = bitsPerSample; 148 * @param bitsPerSample number of bits per sample, 152 public WaveHeader setBitsPerSample(short bitsPerSample) { 153 mBitsPerSample = bitsPerSample; 272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
|
/external/aac/libSYS/src/ |
wav_file.cpp | 166 FDKfread_EL(&(wav->header.bitsPerSample), 2, 1, wav->fp); 270 if (nBits == wav->header.bitsPerSample) { 271 result = FDKfread_EL(buffer, wav->header.bitsPerSample >> 3, numSamples, wav->fp) ; 277 result += FDKfread_EL(&tmp, wav->header.bitsPerSample >> 3, 1, wav->fp) ; 280 if ( !IS_LITTLE_ENDIAN() && wav->header.bitsPerSample != 24 && wav->header.bitsPerSample < 32) { 281 tmp >>= (32-wav->header.bitsPerSample); 285 if (wav->header.bitsPerSample > nBits) 286 tmp >>= (wav->header.bitsPerSample-nBits); 288 tmp <<= (nBits-wav->header.bitsPerSample); [all...] |
/external/libvncserver/libvncclient/ |
vncviewer.c | 139 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel, 165 client->format.depth = bitsPerSample*samplesPerPixel; 178 client->format.redMax = (1 << bitsPerSample) - 1; 179 client->format.greenMax = (1 << bitsPerSample) - 1; 180 client->format.blueMax = (1 << bitsPerSample) - 1; 183 client->format.greenShift = bitsPerSample; 184 client->format.blueShift = bitsPerSample * 2; 187 client->format.redShift = bitsPerSample*2; 188 client->format.greenShift = bitsPerSample*1; 191 client->format.redShift = bitsPerSample*3 [all...] |
/system/media/audio_utils/ |
tinysndfile.c | 200 unsigned bitsPerSample = little2u(&fmt[14]); 201 if (bitsPerSample != 8 && bitsPerSample != 16 && bitsPerSample != 24 && 202 bitsPerSample != 32) { 204 fprintf(stderr, "bitsPerSample %u != 8 or 16 or 24 or 32\n", bitsPerSample); 208 unsigned bytesPerFrame = (bitsPerSample >> 3) * channels; 212 switch (bitsPerSample) { 331 unsigned bitsPerSample; [all...] |
/external/webrtc/webrtc/modules/audio_device/android/ |
opensles_common.cc | 30 configuration.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
msm_audio_ape.h | 32 uint16_t bitsPerSample;
|
/frameworks/av/media/img_utils/src/ |
TiffIfd.cpp | 192 ALOGE("%s: IFD %u doesn't have a BitsPerSample tag set", __FUNCTION__, mIfdId); 198 uint16_t bitsPerSample = *(bitsEntry->getData<uint16_t>()); 201 if ((bitsPerSample % 8) != 0) { 202 ALOGE("%s: BitsPerSample %d in IFD %u is not byte-aligned.", __FUNCTION__, 203 bitsPerSample, mIfdId); 207 uint32_t bytesPerSample = bitsPerSample / 8;
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
ti_omx_config_parser.h | 43 OMX_U16 BitsPerSample;
|
/external/libvncserver/libvncserver/ |
main.c | 768 static void rfbInitServerFormat(rfbScreenInfoPtr screen, int bitsPerSample) 788 format->redMax = (1 << bitsPerSample) - 1; 789 format->greenMax = (1 << bitsPerSample) - 1; 790 format->blueMax = (1 << bitsPerSample) - 1; 793 format->greenShift = bitsPerSample; 794 format->blueShift = bitsPerSample * 2; 797 format->redShift = bitsPerSample*2; 798 format->greenShift = bitsPerSample*1; 801 format->redShift = bitsPerSample*3; 802 format->greenShift = bitsPerSample*2 [all...] |
/external/webrtc/webrtc/common_audio/ |
wav_header.cc | 43 uint16_t BitsPerSample; 172 WriteLE16(&header.fmt.BitsPerSample, 213 *bytes_per_sample = ReadLE16(header.fmt.BitsPerSample) / 8;
|
/external/libvncserver/examples/ |
mac.c | 452 int bitsPerSample=CGDisplayBitsPerSample(kCGDirectMainDisplay); 456 bitsPerSample, 460 rfbScreen->serverFormat.redShift = bitsPerSample*2; 461 rfbScreen->serverFormat.greenShift = bitsPerSample*1;
|
/frameworks/wilhelm/src/android/ |
android_sles_conversions.h | 30 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
|
/external/opencv3/3rdparty/libtiff/ |
tif_getimage.c | 254 TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &img->bitspersample); 255 switch (img->bitspersample) { 264 img->bitspersample); 326 n_color = (1L << img->bitspersample); 344 && img->bitspersample < 8 ) { 350 img->bitspersample); 411 img->bitspersample = 8; 426 img->bitspersample = 8; [all...] |
/external/pdfium/third_party/libtiff/ |
tif_getimage.c | 269 TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &img->bitspersample); 270 switch (img->bitspersample) { 279 img->bitspersample); 341 n_color = (1L << img->bitspersample); 359 && img->bitspersample < 8 ) { 365 img->bitspersample); 426 img->bitspersample = 8; 441 img->bitspersample = 8; [all...] |
/frameworks/av/media/libstagefright/ |
WAVExtractor.cpp | 63 int32_t bitsPerSample, 224 ALOGE("validBits(%d) != bitsPerSample(%d) are not supported", 228 // we only support valitBitsPerSample == bitsPerSample but some WAV_EXT 351 int32_t bitsPerSample, 358 mBitsPerSample(bitsPerSample),
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_tiff.cpp | 741 int bitsPerSample = 8 * bytesPerChannel; 815 strm.putWord(bitsPerSample); 816 strm.putWord(bitsPerSample); 817 strm.putWord(bitsPerSample); 819 strm.putWord(bitsPerSample); 820 bitsPerSample = bitsPerSamplePos; 835 TIFF_TYPE_SHORT, channels, bitsPerSample );
|
/external/aac/libSYS/include/ |
wav_file.h | 150 USHORT bitsPerSample; 202 * \param bitsPerSample Desired number of bits per audio sample of the resulting WAV file. 206 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample);
|
/frameworks/wilhelm/tests/examples/ |
slesTestRecBuffQueue.cpp | 254 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; 258 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32; 262 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8; 267 pcm.bitsPerSample = 32;
|
/frameworks/base/core/java/android/speech/tts/ |
FileSynthesisCallback.java | 289 short bitsPerSample = (short) (sampleSizeInBytes * 8); 305 header.putShort(bitsPerSample);
|