Searched refs:getBytesPerSample (Results 1 – 17 of 17) sorted by relevance
84 public int getBytesPerSample() { in getBytesPerSample() method in FrameFormat166 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()
178 int bps = getFormat().getBytesPerSample(); in setBitmap()194 int bps = getFormat().getBytesPerSample(); in getBitmap()
79 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()
241 return mSamplesPerFrame * getBytesPerSample(); in getBytesPerFrame()247 int32_t getBytesPerSample() const { in getBytesPerSample() function
516 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat724 frameSizeInBytes = getBytesPerSample(mEncoding) * channelCount; in AudioFormat()
179 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
678 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()
713 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()817 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck()
85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
286 int sampleSizeInBytes = AudioFormat.getBytesPerSample(audioFormat); in makeWavHeader()
227 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedCapture()
1175 method public static int getBytesPerSample(int);
9305 HSPLandroid/media/AudioFormat;->getBytesPerSample(I)I
18259 Landroid/filterfw/core/FrameFormat;->getBytesPerSample()I