Searched refs:getBytesPerSample (Results 1 – 22 of 22) 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()
105 * getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED)]; in main()157 bytesPerSample = getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED); in main()
77 constexpr int bytesPerSample = getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED); in render24()
88 constexpr int32_t getBytesPerSample(aaudio_format_t format) { in getBytesPerSample() function
422 static const int bytesPerSample = getBytesPerSample(AAUDIO_FORMAT_PCM_I24_PACKED); in SimplePlayerDataCallbackProc()
330 return mSamplesPerFrame * getBytesPerSample(); in getBytesPerFrame()336 int32_t getBytesPerSample() const { in getBytesPerSample() function
85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
287 int sampleSizeInBytes = AudioFormat.getBytesPerSample(audioFormat); in makeWavHeader()
178 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
786 public static int getBytesPerSample(int audioFormat) in getBytesPerSample() method in AudioFormat1039 frameSizeInBytes = getBytesPerSample(mEncoding) * channelCount; in AudioFormat()
895 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()1442 bytesPerSample = mFormat.getBytesPerSample(mFormat.getEncoding()); in build()1827 * format.getBytesPerSample(format.getEncoding()) in shouldEnablePowerSaving()2014 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
1052 * mFormat.getBytesPerSample(mFormat.getEncoding()); in build()
268 if (format.getBytesPerSample(encoding) > PRIVILEDGED_CAPTURE_MAX_BYTES_PER_SAMPLE) { in canBeUsedForPrivilegedMediaCapture()
1936 method public static int getBytesPerSample(int);
10543 HSPLandroid/media/AudioFormat;->getBytesPerSample(I)I
10546 HSPLandroid/media/AudioFormat;->getBytesPerSample(I)I
15372 Landroid/filterfw/core/FrameFormat;->getBytesPerSample()I