/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
D | ImageFormat.java | 40 int bytesPerSample, in create() argument 44 result.setBytesPerSample(bytesPerSample); in create()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | MutableFrameFormat.java | 50 public void setBytesPerSample(int bytesPerSample) { in setBytesPerSample() argument 51 mBytesPerSample = bytesPerSample; in setBytesPerSample()
|
D | NativeFrame.java | 256 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/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 339 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/ |
D | SoundTriggerTestService.java | 551 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/img_utils/src/ |
D | TiffIfd.cpp | 207 uint32_t bytesPerSample = bitsPerSample / 8; in validateAndSetStripTags() local 211 const uint32_t rowLengthBytes = bytesPerSample * samplesPerPixel * width; in validateAndSetStripTags()
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 288 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()
|
D | android_hardware_camera2_DngCreator.cpp | 550 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()
|
D | android_media_AudioRecord.cpp | 256 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/ |
D | MPEG4Extractor.cpp | 4736 int32_t bytesPerSample = bitsPerSample >> 3; in MPEG4Source() local 4737 int32_t pcmSampleSize = bytesPerSample * numChannels; in MPEG4Source() 5396 size_t bytesPerSample = 0; in parseTrackFragmentRun() local 5398 bytesPerSample += 4; in parseTrackFragmentRun() 5407 bytesPerSample += 4; in parseTrackFragmentRun() 5416 bytesPerSample += 4; in parseTrackFragmentRun() 5425 bytesPerSample += 4; in parseTrackFragmentRun() 5430 if (bytesPerSample != 0) { in parseTrackFragmentRun() 5431 if (size < (off64_t)sampleCount * bytesPerSample) { in parseTrackFragmentRun()
|