Searched refs:captureFormat (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 1157 public final AudioFormat captureFormat; field in SoundTrigger.RecognitionEvent 1173 boolean triggerInData, @NonNull AudioFormat captureFormat, @Nullable byte[] data) { in RecognitionEvent() argument 1181 this.captureFormat = requireNonNull(captureFormat); in RecognitionEvent() 1201 return captureFormat; in getCaptureFormat() 1246 AudioFormat captureFormat = null; in fromParcel() local 1251 captureFormat = (new AudioFormat.Builder()) in fromParcel() 1259 captureDelayMs, capturePreambleMs, triggerInData, captureFormat, data); in fromParcel() 1276 if (captureFormat != null) { in writeToParcel() 1278 dest.writeInt(captureFormat.getSampleRate()); in writeToParcel() 1279 dest.writeInt(captureFormat.getEncoding()); in writeToParcel() [all …]
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 146 ui::PixelFormat *captureFormat, in getDstColorFormat() argument 152 *captureFormat = ui::PixelFormat::RGB_565; in getDstColorFormat() 159 *captureFormat = ui::PixelFormat::RGBA_8888; in getDstColorFormat() 166 *captureFormat = ui::PixelFormat::BGRA_8888; in getDstColorFormat() 183 ui::PixelFormat captureFormat; in getMetadataOnly() local 186 &dstFormat, &captureFormat, &dstBpp)) { in getMetadataOnly() 678 captureFormat(), Rect(0, 0, mFrame->mWidth, mFrame->mHeight), &outBuffer); in captureSurface()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 1294 AudioFormat captureFormat = (new AudioFormat.Builder()) in createAudioRecordForEvent() local 1301 captureFormat.getSampleRate() == AudioFormat.SAMPLE_RATE_UNSPECIFIED in createAudioRecordForEvent() 1303 : captureFormat.getSampleRate(), in createAudioRecordForEvent() 1304 captureFormat.getChannelCount() == 2 in createAudioRecordForEvent() 1307 captureFormat.getEncoding()); in createAudioRecordForEvent() 1311 return new AudioRecord(attributes, captureFormat, bufferSize, in createAudioRecordForEvent()
|
/frameworks/av/media/libstagefright/include/ |
D | FrameDecoder.h | 80 ui::PixelFormat captureFormat() const { return mCaptureFormat; } in captureFormat() function
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetector.java | 360 event.captureFormat, event.captureSession, event.data)) in onGenericSoundTriggerDetected()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 876 event.captureFormat, event.captureSession, event.data)) in onKeyphraseDetected()
|