Home
last modified time | relevance | path

Searched refs:getBytesPerSample (Results 1 – 12 of 12) 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/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/media/java/android/media/
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.java445 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat
DAudioTrack.java770 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
948 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()