Home
last modified time | relevance | path

Searched refs:captureFormat (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1157 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/
DFrameDecoder.cpp146 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/
DSoundTriggerService.java1294 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/
DFrameDecoder.h80 ui::PixelFormat captureFormat() const { return mCaptureFormat; } in captureFormat() function
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java360 event.captureFormat, event.captureSession, event.data)) in onGenericSoundTriggerDetected()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java876 event.captureFormat, event.captureSession, event.data)) in onKeyphraseDetected()