Home
last modified time | relevance | path

Searched refs:getBytesPerSample (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java84 public int getBytesPerSample() { in getBytesPerSample() method in FrameFormat
166 result.setBytesPerSample(getBytesPerSample()); in mutableCopy()
210 if (specification.getBytesPerSample() != BYTES_PER_SAMPLE_UNSPECIFIED in isCompatibleWith()
211 && getBytesPerSample() != specification.getBytesPerSample()) { in isCompatibleWith()
268 if (specification.getBytesPerSample() != BYTES_PER_SAMPLE_UNSPECIFIED in mayBeCompatibleWith()
269 && getBytesPerSample() != BYTES_PER_SAMPLE_UNSPECIFIED in mayBeCompatibleWith()
270 && getBytesPerSample() != specification.getBytesPerSample()) { in mayBeCompatibleWith()
428 int size = getBytesPerSample(); in calcSize()
DNativeFrame.java178 int bps = getFormat().getBytesPerSample(); in setBitmap()
194 int bps = getFormat().getBytesPerSample(); in getBitmap()
DGLFrame.java79 if (format.getBytesPerSample() != 4) { in init()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DToRGBAFilter.java64 mInputBPP = format.getBytesPerSample(); in createProgram()
65 if (mLastFormat != null && mLastFormat.getBytesPerSample() == mInputBPP) return; in createProgram()
DToRGBFilter.java64 mInputBPP = format.getBytesPerSample(); in createProgram()
65 if (mLastFormat != null && mLastFormat.getBytesPerSample() == mInputBPP) return; in createProgram()
DToGrayFilter.java69 int inputChannels = getInputFormat("image").getBytesPerSample(); in getShaderProgram()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine.cpp105 * getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED)]; in main()
157 bytesPerSample = getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED); in main()
/frameworks/av/media/libaaudio/examples/utils/
DSineGenerator.h77 constexpr int bytesPerSample = getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED); in render24()
DAAudioExampleUtils.h88 constexpr int32_t getBytesPerSample(aaudio_format_t format) { in getBytesPerSample() function
DAAudioSimplePlayer.h422 static const int bytesPerSample = getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED); in SimplePlayerDataCallbackProc()
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h330 return mSamplesPerFrame * getBytesPerSample(); in getBytesPerFrame()
336 int32_t getBytesPerSample() const { in getBytesPerSample() function
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
DFileSynthesisCallback.java287 int sampleSizeInBytes = AudioFormat.getBytesPerSample(audioFormat); in makeWavHeader()
/frameworks/base/media/java/android/media/
DJetPlayer.java178 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
DAudioFormat.java786 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat
1039 frameSizeInBytes = getBytesPerSample(mEncoding) * channelCount; in AudioFormat()
DAudioTrack.java895 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()
1442 bytesPerSample = mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
1827 * format.getBytesPerSample(format.getEncoding()) in shouldEnablePowerSaving()
2014 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
DAudioRecord.java1052 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java268 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedMediaCapture()
/frameworks/base/core/api/
Dtest-current.txt1936 method public static int getBytesPerSample(int);
/frameworks/base/boot/
Dboot-image-profile.txt10543 HSPLandroid/media/AudioFormat;->getBytesPerSample(I)I
/frameworks/base/config/
Dboot-image-profile.txt10546 HSPLandroid/media/AudioFormat;->getBytesPerSample(I)I
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15372 Landroid/filterfw/core/FrameFormat;->getBytesPerSample()I