/external/aac/libSYS/src/ |
D | wav_file.cpp | 166 FDKfread_EL(&(wav->header.bitsPerSample), 2, 1, wav->fp); in WAV_InputOpen() 270 if (nBits == wav->header.bitsPerSample) { in WAV_InputRead() 271 result = FDKfread_EL(buffer, wav->header.bitsPerSample >> 3, numSamples, wav->fp) ; in WAV_InputRead() 277 result += FDKfread_EL(&tmp, wav->header.bitsPerSample >> 3, 1, wav->fp) ; in WAV_InputRead() 280 … if ( !IS_LITTLE_ENDIAN() && wav->header.bitsPerSample != 24 && wav->header.bitsPerSample < 32) { in WAV_InputRead() 281 tmp >>= (32-wav->header.bitsPerSample); in WAV_InputRead() 285 if (wav->header.bitsPerSample > nBits) in WAV_InputRead() 286 tmp >>= (wav->header.bitsPerSample-nBits); in WAV_InputRead() 288 tmp <<= (nBits-wav->header.bitsPerSample); in WAV_InputRead() 385 …n(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample) in WAV_OutputOpen() argument [all …]
|
/external/libvncserver/libvncclient/ |
D | vncviewer.c | 139 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel, in rfbGetClient() argument 165 client->format.depth = bitsPerSample*samplesPerPixel; in rfbGetClient() 178 client->format.redMax = (1 << bitsPerSample) - 1; in rfbGetClient() 179 client->format.greenMax = (1 << bitsPerSample) - 1; in rfbGetClient() 180 client->format.blueMax = (1 << bitsPerSample) - 1; in rfbGetClient() 183 client->format.greenShift = bitsPerSample; in rfbGetClient() 184 client->format.blueShift = bitsPerSample * 2; in rfbGetClient() 187 client->format.redShift = bitsPerSample*2; in rfbGetClient() 188 client->format.greenShift = bitsPerSample*1; in rfbGetClient() 191 client->format.redShift = bitsPerSample*3; in rfbGetClient() [all …]
|
/external/libvncserver/libvncserver/ |
D | main.c | 768 static void rfbInitServerFormat(rfbScreenInfoPtr screen, int bitsPerSample) in rfbInitServerFormat() argument 788 format->redMax = (1 << bitsPerSample) - 1; in rfbInitServerFormat() 789 format->greenMax = (1 << bitsPerSample) - 1; in rfbInitServerFormat() 790 format->blueMax = (1 << bitsPerSample) - 1; in rfbInitServerFormat() 793 format->greenShift = bitsPerSample; in rfbInitServerFormat() 794 format->blueShift = bitsPerSample * 2; in rfbInitServerFormat() 797 format->redShift = bitsPerSample*2; in rfbInitServerFormat() 798 format->greenShift = bitsPerSample*1; in rfbInitServerFormat() 801 format->redShift = bitsPerSample*3; in rfbInitServerFormat() 802 format->greenShift = bitsPerSample*2; in rfbInitServerFormat() [all …]
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/ |
D | Wav.java | 101 int bitsPerSample = read() & 0xff | (read() & 0xff) << 8; in WavInputStream() local 102 …if (bitsPerSample != 16) throw new GdxRuntimeException("WAV files must have 16 bits per sample: " … in WavInputStream()
|
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/ |
D | Wav.java | 101 int bitsPerSample = read() & 0xff | (read() & 0xff) << 8; in WavInputStream() local 102 …if (bitsPerSample != 16) throw new GdxRuntimeException("WAV files must have 16 bits per sample: " … in WavInputStream()
|
/external/aac/libSYS/include/ |
D | wav_file.h | 150 USHORT bitsPerSample; member 206 …(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample);
|
/external/libvncserver/examples/ |
D | mac.c | 452 int bitsPerSample=CGDisplayBitsPerSample(kCGDirectMainDisplay); in ScreenInit() local 456 bitsPerSample, in ScreenInit() 460 rfbScreen->serverFormat.redShift = bitsPerSample*2; in ScreenInit() 461 rfbScreen->serverFormat.greenShift = bitsPerSample*1; in ScreenInit()
|
/external/opencv3/modules/imgcodecs/src/ |
D | grfmt_tiff.cpp | 741 int bitsPerSample = 8 * bytesPerChannel; in write() local 815 strm.putWord(bitsPerSample); in write() 816 strm.putWord(bitsPerSample); in write() 817 strm.putWord(bitsPerSample); in write() 819 strm.putWord(bitsPerSample); in write() 820 bitsPerSample = bitsPerSamplePos; in write() 835 TIFF_TYPE_SHORT, channels, bitsPerSample ); in write()
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | opensles_common.cc | 30 configuration.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePcmConfiguration()
|
D | opensles_player.cc | 221 format.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePCMConfiguration()
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_tiff.cpp | 710 int bitsPerSample = 8; // TODO support 16 bit in WriteImage() local 770 bitsPerSample = m_strm.GetPos(); in WriteImage() 790 TIFF_TYPE_SHORT, channels, bitsPerSample ); in WriteImage()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_utility.h | 184 uint32_t bitsPerSample,
|
D | media_file_utility.cc | 257 uint32_t bitsPerSample, in InitWavCodec() argument 263 codec_info_.rate = bitsPerSample * samplesPerSec; in InitWavCodec() 281 codec_info_.pacsize = (bitsPerSample * (codec_info_.plfreq / 100)) / 8; in InitWavCodec()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_mdls.c | 231 EAS_U16 bitsPerSample; member 1008 if (p->bitsPerSample == 8) in Parse_wave() 1019 if (p->bitsPerSample == 16) in Parse_wave() 1207 …if ((result = EAS_HWGetWord(pDLSData->hwInstData, pDLSData->fileHandle, &p->bitsPerSample, EAS_FAL… in Parse_fmt() 1210 if ((p->bitsPerSample != 8) && (p->bitsPerSample != 16)) in Parse_fmt() 1252 if (pWsmp->bitsPerSample == 8) in Parse_data()
|
/external/dng_sdk/source/ |
D | dng_xmp.h | 278 uint32 bitsPerSample);
|
D | dng_xmp.cpp | 4281 uint32 bitsPerSample) in SetSampleInfo() argument 4288 sprintf (s, "%u", (unsigned) bitsPerSample); in SetSampleInfo()
|
/external/libvncserver/rfb/ |
D | rfbclient.h | 600 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,int bytesPerPixel);
|
D | rfb.h | 1030 int width,int height,int bitsPerSample,int samplesPerPixel, 1035 int width,int height, int bitsPerSample,int samplesPerPixel,
|
/external/opencv3/modules/videoio/src/ |
D | cap_qtkit.mm | 1030 bitsPerSample:8
|
/external/opencv3/modules/highgui/src/ |
D | window_cocoa.mm | 854 bitsPerSample:8
|