Searched defs:bytesPerSample (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java39 int bytesPerSample,
43 result.setBytesPerSample(bytesPerSample);
36 create(int width, int height, int colorspace, int bytesPerSample, int target) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java47 public void setBytesPerSample(int bytesPerSample) { argument
48 mBytesPerSample = bytesPerSample;
H A DNativeFrame.java256 private native boolean setNativeBitmap(Bitmap bitmap, int size, int bytesPerSample); argument
258 private native boolean getNativeBitmap(Bitmap bitmap, int size, int bytesPerSample); argument
/frameworks/av/media/extractors/wav/
H A DWAVExtractor.cpp321 size_t bytesPerSample = mBitsPerSample >> 3; local
323 if (!bytesPerSample || !mNumChannels)
326 size_t num_samples = mDataSize / (mNumChannels * bytesPerSample);
530 size_t bytesPerSample = mBitsPerSample >> 3; local
532 / (mNumChannels * bytesPerSample) / mSampleRate;
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp207 uint32_t bytesPerSample = bitsPerSample / 8; local
211 const uint32_t rowLengthBytes = bytesPerSample * samplesPerPixel * width;
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp263 size_t bytesPerSample = audio_bytes_per_sample(format); local
269 size_t frameSize = channelCount * bytesPerSample;
H A Dandroid_media_AudioTrack.cpp286 const size_t bytesPerSample = audio_bytes_per_sample(format); local
287 frameCount = buffSizeInBytes / (channelCount * bytesPerSample);
1124 const size_t bytesPerSample = audio_bytes_per_sample(format); local
1125 return frameCount * channelCount * bytesPerSample;
H A Dandroid_hardware_camera2_DngCreator.cpp549 uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample,
572 uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), mInput(&input),
574 mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample),
684 uint32_t bytesPerSample, uint32_t samplesPerPixel);
706 uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd),
708 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample),
570 InputStripSource(JNIEnv* env, Input& input, uint32_t ifd, uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) argument
704 DirectStripSource(JNIEnv* env, const uint8_t* pixelBytes, uint32_t ifd, uint32_t width, uint32_t height, uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) argument
/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp4554 size_t bytesPerSample = 0; local
4556 bytesPerSample += 4;
4565 bytesPerSample += 4;
4574 bytesPerSample += 4;
4583 bytesPerSample += 4;
4588 if (size < (off64_t)(sampleCount * bytesPerSample)) {

Completed in 63 milliseconds