Searched refs:bytes_per_sample (Results 1 – 6 of 6) sorted by relevance
171 jint bytes_per_sample) { in Java_android_filterfw_core_NativeFrame_setNativeBitmap() argument175 if ((size / 4) != (frame->Size() / bytes_per_sample)) { in Java_android_filterfw_core_NativeFrame_setNativeBitmap()186 switch (bytes_per_sample) { in Java_android_filterfw_core_NativeFrame_setNativeBitmap()208 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()221 jint bytes_per_sample) { in Java_android_filterfw_core_NativeFrame_getNativeBitmap() argument228 if ((size / 4) != (frame->Size() / bytes_per_sample)) { in Java_android_filterfw_core_NativeFrame_getNativeBitmap()235 switch (bytes_per_sample) { in Java_android_filterfw_core_NativeFrame_getNativeBitmap()260 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
68 jint bytes_per_sample);75 jint bytes_per_sample);
68 const size_t bytes_per_sample = audio_bytes_per_sample(mFormat); in log() local106 buffer = (const uint8_t *)buffer + mCurrentFrames * mChannelCount * bytes_per_sample; in log()
210 int bytes_per_sample; in calc_audiotime_usec() local214 bytes_per_sample = 1; in calc_audiotime_usec()217 bytes_per_sample = 2; in calc_audiotime_usec()220 bytes_per_sample = 3; in calc_audiotime_usec()223 bytes_per_sample = 4; in calc_audiotime_usec()226 bytes_per_sample = 4; in calc_audiotime_usec()230 bytes_per_sample = 2; in calc_audiotime_usec()235 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()
204 int bytes_per_sample; in calc_audiotime_usec() local208 bytes_per_sample = 1; in calc_audiotime_usec()211 bytes_per_sample = 2; in calc_audiotime_usec()214 bytes_per_sample = 3; in calc_audiotime_usec()217 bytes_per_sample = 4; in calc_audiotime_usec()220 bytes_per_sample = 4; in calc_audiotime_usec()224 bytes_per_sample = 2; in calc_audiotime_usec()229 int)(((int64_t)bytes * (USEC_PER_SEC / (chan_count * bytes_per_sample))) / in calc_audiotime_usec()
3667 size_t bytes_per_sample = audio_bytes_per_sample(out->format); in out_write() local3668 size_t frame_size = channel_count * bytes_per_sample; in out_write()3677 size_t haptic_frame_size = bytes_per_sample * haptic_channel_count; in out_write()3701 audio_frame_size = haptic_frame_size = bytes_per_sample; in out_write()