Home
last modified time | relevance | path

Searched refs:BYTES_PER_SAMPLE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java71 private static final int BYTES_PER_SAMPLE = 2; field in MusicRecognitionManagerPerUserService
272 recognitionRequest.getIgnoreBeginningFrames() * BYTES_PER_SAMPLE; in streamAudio()
275 < audioRecord.getBufferSizeInFrames() * BYTES_PER_SAMPLE in streamAudio()
406 return BYTES_PER_SAMPLE * sampleRate * bufferLengthSeconds; in getBufferSizeInBytes()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp132 BYTES_PER_SAMPLE = 2, enumerator
2526 rStride, uOffset, BYTES_PER_SAMPLE, SAMPLES_PER_RAW_PIXEL); in DngCreator_nativeWriteImage()
2546 rStride, uOffset, BYTES_PER_SAMPLE, SAMPLES_PER_RAW_PIXEL); in DngCreator_nativeWriteImage()
2569 uint32_t rowStride = width * BYTES_PER_SAMPLE; in DngCreator_nativeWriteInputStream()
2570 uint32_t pixStride = BYTES_PER_SAMPLE; in DngCreator_nativeWriteInputStream()
2612 rowStride, uOffset, BYTES_PER_SAMPLE, SAMPLES_PER_RAW_PIXEL); in DngCreator_nativeWriteInputStream()