Home
last modified time | relevance | path

Searched refs:bitsPerSample (Results 1 – 18 of 18) sorted by relevance

/external/aac/libSYS/src/
Dwav_file.cpp166 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/
Dvncviewer.c139 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/
Dmain.c768 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/aac/libSYS/include/
Dwav_file.h150 USHORT bitsPerSample; member
206 …(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample);
/external/libvncserver/examples/
Dmac.c452 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/
Dgrfmt_tiff.cpp741 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/
Dopensles_common.cc30 configuration.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePcmConfiguration()
Dopensles_player.cc221 format.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePCMConfiguration()
/external/opencv/otherlibs/highgui/
Dgrfmt_tiff.cpp710 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/
Dmedia_file_utility.h184 uint32_t bitsPerSample,
Dmedia_file_utility.cc257 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/
Deas_mdls.c231 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/
Ddng_xmp.h278 uint32 bitsPerSample);
Ddng_xmp.cpp4281 uint32 bitsPerSample) in SetSampleInfo() argument
4288 sprintf (s, "%u", (unsigned) bitsPerSample); in SetSampleInfo()
/external/libvncserver/rfb/
Drfbclient.h600 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,int bytesPerPixel);
Drfb.h1030 int width,int height,int bitsPerSample,int samplesPerPixel,
1035 int width,int height, int bitsPerSample,int samplesPerPixel,
/external/opencv3/modules/videoio/src/
Dcap_qtkit.mm1030 bitsPerSample:8
/external/opencv3/modules/highgui/src/
Dwindow_cocoa.mm854 bitsPerSample:8