Searched refs:getBytesPerSample (Results 1 – 14 of 14) sorted by relevance
85 public int getBytesPerSample() { in getBytesPerSample() method in FrameFormat163 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()
178 int bps = getFormat().getBytesPerSample(); in setBitmap()194 int bps = getFormat().getBytesPerSample(); in getBitmap()
83 if (format.getBytesPerSample() != 4) { in init()
64 mInputBPP = format.getBytesPerSample(); in createProgram()65 if (mLastFormat != null && mLastFormat.getBytesPerSample() == mInputBPP) return; in createProgram()
69 int inputChannels = getInputFormat("image").getBytesPerSample(); in getShaderProgram()
195 return mSamplesPerFrame * getBytesPerSample(); in getBytesPerFrame()201 int32_t getBytesPerSample() const { in getBytesPerSample() function
616 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()
175 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
620 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()723 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck()
484 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat
85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
286 int sampleSizeInBytes = AudioFormat.getBytesPerSample(audioFormat); in makeWavHeader()
3528 HPLandroid/media/AudioFormat;->getBytesPerSample(I)I