Home
last modified time | relevance | path

Searched refs:getBytesPerSample (Results 1 – 17 of 17) 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/
DToRGBFilter.java64 mInputBPP = format.getBytesPerSample(); in createProgram()
65 if (mLastFormat != null && mLastFormat.getBytesPerSample() == mInputBPP) return; in createProgram()
DToRGBAFilter.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.h241 return mSamplesPerFrame * getBytesPerSample(); in getBytesPerFrame()
247 int32_t getBytesPerSample() const { in getBytesPerSample() function
/frameworks/base/media/java/android/media/
DAudioFormat.java516 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat
724 frameSizeInBytes = getBytesPerSample(mEncoding) * channelCount; in AudioFormat()
DJetPlayer.java179 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
DAudioTrack.java678 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()
1012 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
1225 * format.getBytesPerSample(format.getEncoding()) in shouldEnablePowerSaving()
1386 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
DAudioRecord.java713 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
817 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck()
/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/audiopolicy/
DAudioMix.java227 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedCapture()
/frameworks/base/api/
Dtest-current.txt1175 method public static int getBytesPerSample(int);
/frameworks/base/config/
Dboot-image-profile.txt9305 HSPLandroid/media/AudioFormat;->getBytesPerSample(I)I
Dhiddenapi-greylist-max-o.txt18259 Landroid/filterfw/core/FrameFormat;->getBytesPerSample()I