Home
last modified time | relevance | path

Searched refs:bytesPerSample (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DMutableFrameFormat.java48 public void setBytesPerSample(int bytesPerSample) { in setBytesPerSample() argument
49 mBytesPerSample = bytesPerSample; in setBytesPerSample()
DNativeFrame.java256 private native boolean setNativeBitmap(Bitmap bitmap, int size, int bytesPerSample); in setNativeBitmap() argument
258 private native boolean getNativeBitmap(Bitmap bitmap, int size, int bytesPerSample); in getNativeBitmap() argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DImageFormat.java40 int bytesPerSample, in create() argument
44 result.setBytesPerSample(bytesPerSample); in create()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp339 size_t bytesPerSample = mBitsPerSample >> 3; in init() local
341 if (!bytesPerSample || !mNumChannels) in init()
344 size_t num_samples = mDataSize / (mNumChannels * bytesPerSample); in init()
561 size_t bytesPerSample = mBitsPerSample >> 3; in read() local
563 / (mNumChannels * bytesPerSample) / mSampleRate; in read()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java551 int bytesPerSample; in run() local
555 bytesPerSample = 1; in run()
559 bytesPerSample = 2; in run()
563 bytesPerSample = 4; in run()
570 bytesPerSample * mModelInfo.captureAudioMs / 1000; in run()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp395 size_t bytesPerSample = channelCount * sizeof(int16_t); in process() local
466 for (; mRemainderLen < bytesPerSample && offset < capacity; ++offset) { in process()
471 if (mRemainderLen == bytesPerSample) { in process()
473 inBufferSize[0] = bytesPerSample; in process()
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp207 uint32_t bytesPerSample = bitsPerSample / 8; in validateAndSetStripTags() local
211 const uint32_t rowLengthBytes = bytesPerSample * samplesPerPixel * width; in validateAndSetStripTags()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp288 const size_t bytesPerSample = audio_bytes_per_sample(format); in android_media_AudioTrack_setup() local
289 frameCount = buffSizeInBytes / (channelCount * bytesPerSample); in android_media_AudioTrack_setup()
1129 const size_t bytesPerSample = audio_bytes_per_sample(format); in android_media_AudioTrack_get_min_buff_size() local
1130 return frameCount * channelCount * bytesPerSample; in android_media_AudioTrack_get_min_buff_size()
Dandroid_hardware_camera2_DngCreator.cpp550 uint32_t pixStride, uint32_t rowStride, uint64_t offset, uint32_t bytesPerSample,
573 uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), mInput(&input), in InputStripSource() argument
575 mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample), in InputStripSource()
685 uint32_t bytesPerSample, uint32_t samplesPerPixel);
707 uint64_t offset, uint32_t bytesPerSample, uint32_t samplesPerPixel) : mIfd(ifd), in DirectStripSource() argument
709 mRowStride(rowStride), mOffset(offset), mEnv(env), mBytesPerSample(bytesPerSample), in DirectStripSource()
Dandroid_media_AudioRecord.cpp256 size_t bytesPerSample = audio_bytes_per_sample(format); in android_media_AudioRecord_setup() local
262 size_t frameSize = channelCount * bytesPerSample; in android_media_AudioRecord_setup()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4779 int32_t bytesPerSample = bitsPerSample >> 3; in MPEG4Source() local
4780 int32_t pcmSampleSize = bytesPerSample * numChannels; in MPEG4Source()
5473 size_t bytesPerSample = 0; in parseTrackFragmentRun() local
5475 bytesPerSample += 4; in parseTrackFragmentRun()
5484 bytesPerSample += 4; in parseTrackFragmentRun()
5493 bytesPerSample += 4; in parseTrackFragmentRun()
5502 bytesPerSample += 4; in parseTrackFragmentRun()
5507 if (bytesPerSample != 0) { in parseTrackFragmentRun()
5508 if (size < (off64_t)sampleCount * bytesPerSample) { in parseTrackFragmentRun()