HomeSort by relevance Sort by last modified time
    Searched refs:bitsPerSample (Results 1 - 25 of 63) sorted by null

1 2 3

  /packages/apps/Settings/src/com/android/settings/development/
BluetoothA2dpConfigStore.java 49 public void setBitsPerSample(int bitsPerSample) {
50 mBitsPerSample = bitsPerSample;
BluetoothAudioBitsPerSamplePreferenceController.java 84 final int bitsPerSample = config.getBitsPerSample();
86 switch (bitsPerSample) {
  /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;
  /hardware/qcom/msm8996/original-kernel-headers/linux/
msm_audio_ape.h 19 uint16_t bitsPerSample;
  /hardware/qcom/msm8998/kernel-headers/linux/
msm_audio_ape.h 32 uint16_t bitsPerSample;
  /hardware/qcom/msm8998/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...]
srcsink.c 46 format_pcm.bitsPerSample = 16;
135 format_pcm.bitsPerSample = 17;
140 format_pcm.bitsPerSample = 24;
145 format_pcm.bitsPerSample = 16;
playbq.cpp 307 SLuint32 bitsPerSample;
310 bitsPerSample = 32;
314 bitsPerSample = 32;
318 bitsPerSample = 24;
322 bitsPerSample = 16;
326 bitsPerSample = 8;
379 format_pcm.bitsPerSample = bitsPerSample;
380 format_pcm.containerSize = format_pcm.bitsPerSample;
  /frameworks/wilhelm/src/android/
android_sles_conversions.h 30 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
  /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...]
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
A2dpReceiver.java 198 int bitsPerSample = BluetoothCodecConfig.BITS_PER_SAMPLE_NONE;
281 if (!extras.containsKey("BitsPerSample")) {
282 Log.e(TAG, "No BitsPerSample specified");
285 tmpStr = extras.getString("BitsPerSample");
286 Log.d(TAG, "BitsPerSample = " + tmpStr);
287 bitsPerSample = Integer.valueOf(tmpStr);
321 || bitsPerSample == BluetoothCodecConfig.BITS_PER_SAMPLE_NONE) {
330 if (!setCodecValue(codecType, sampleRate, bitsPerSample, channelMode,
435 * @param bitsPerSample - Bit Per Sample
441 private boolean setCodecValue(int codecType, int sampleRate, int bitsPerSample,
    [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...]
  /hardware/interfaces/bluetooth/a2dp/1.0/
types.hal 45 enum BitsPerSample : uint8_t {
62 BitsPerSample bitsPerSample;
  /frameworks/base/core/java/android/bluetooth/
BluetoothCodecConfig.java 76 int sampleRate, int bitsPerSample,
83 mBitsPerSample = bitsPerSample;
217 final int bitsPerSample = in.readInt();
224 sampleRate, 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
AudioFileOutput.java 107 int bitsPerSample = 16;
133 (byte) bitsPerSample,
  /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/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;
  /frameworks/wilhelm/tests/examples/
slesTestRecBuffQueue.cpp 274 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
278 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32;
282 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8;
287 pcm.bitsPerSample = 32;
  /hardware/interfaces/bluetooth/a2dp/1.0/vts/functional/
VtsHalBluetoothA2dpV1_0TargetTest.cpp 34 using ::android::hardware::bluetooth::a2dp::V1_0::BitsPerSample;
70 codec.bitsPerSample = BitsPerSample::BITS_16;
  /cts/tests/tests/nativemedia/sl/src/
SLObjectCreationTest.cpp 162 formatPcmSnk.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
213 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
  /frameworks/base/core/java/android/speech/tts/
FileSynthesisCallback.java 289 short bitsPerSample = (short) (sampleSizeInBytes * 8);
305 header.putShort(bitsPerSample);
  /frameworks/av/media/extractors/wav/
WAVExtractor.cpp 63 int32_t bitsPerSample,
225 ALOGE("validBits(%d) != bitsPerSample(%d) are not supported",
229 // we only support valitBitsPerSample == bitsPerSample but some WAV_EXT
353 int32_t bitsPerSample,
360 mBitsPerSample(bitsPerSample),

Completed in 1175 milliseconds

1 2 3