Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java85 public int getBytesPerSample() { in getBytesPerSample() method in FrameFormat
163 result.setBytesPerSample(getBytesPerSample()); in mutableCopy()
207 if (specification.getBytesPerSample() != BYTES_PER_SAMPLE_UNSPECIFIED in isCompatibleWith()
208 && getBytesPerSample() != specification.getBytesPerSample()) { in isCompatibleWith()
265 if (specification.getBytesPerSample() != BYTES_PER_SAMPLE_UNSPECIFIED in mayBeCompatibleWith()
266 && getBytesPerSample() != BYTES_PER_SAMPLE_UNSPECIFIED in mayBeCompatibleWith()
267 && getBytesPerSample() != specification.getBytesPerSample()) { in mayBeCompatibleWith()
425 int size = getBytesPerSample(); in calcSize()
DNativeFrame.java178 int bps = getFormat().getBytesPerSample(); in setBitmap()
194 int bps = getFormat().getBytesPerSample(); in getBitmap()
DGLFrame.java83 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/src/core/
DAudioStream.h195 return mSamplesPerFrame * getBytesPerSample(); in getBytesPerFrame()
201 int32_t getBytesPerSample() const { in getBytesPerSample() function
/frameworks/base/media/java/android/media/
DAudioTrack.java616 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()
918 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
985 * format.getBytesPerSample(format.getEncoding()) in shouldEnablePowerSaving()
1146 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
DJetPlayer.java175 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
DAudioRecord.java620 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
723 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck()
DAudioFormat.java484 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
DFileSynthesisCallback.java286 int sampleSizeInBytes = AudioFormat.getBytesPerSample(audioFormat); in makeWavHeader()
/frameworks/base/config/
Dboot-image-profile.txt3528 HPLandroid/media/AudioFormat;->getBytesPerSample(I)I