HomeSort by relevance Sort by last modified time
    Searched refs:bytes_per_sample (Results 1 - 7 of 7) sorted by null

  /external/flac/libFLAC/include/private/
md5.h 42 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
  /external/qemu/distrib/sdl-1.2.15/src/audio/paudio/
SDL_paudio.c 237 int bytes_per_sample; local
330 bytes_per_sample = 1;
336 bytes_per_sample = 1;
343 bytes_per_sample = 2;
350 bytes_per_sample = 2;
358 bytes_per_sample = 2;
364 bytes_per_sample = 2;
399 / bytes_per_sample
405 / bytes_per_sample
409 paud_init.bsize = bytes_per_sample * spec->channels
    [all...]
  /frameworks/base/media/mca/filterfw/jni/
jni_native_frame.cpp 170 jint bytes_per_sample) {
174 if ((size / 4) != (frame->Size() / bytes_per_sample)) {
185 switch (bytes_per_sample) {
207 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample);
220 jint bytes_per_sample) {
227 if ((size / 4) != (frame->Size() / bytes_per_sample)) {
234 switch (bytes_per_sample) {
259 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample);
jni_native_frame.h 68 jint bytes_per_sample);
75 jint bytes_per_sample);
  /external/flac/libFLAC/
md5.c 277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
285 if(channels == 2 && bytes_per_sample == 2) {
291 else if(channels == 1 && bytes_per_sample == 2) {
298 if(bytes_per_sample == 2) {
326 else if(bytes_per_sample == 3) {
358 else if(bytes_per_sample == 1) {
382 else { /* bytes_per_sample == 4, maybe optimize more later */
398 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
400 const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample;
403 if((size_t)channels > SIZE_MAX / (size_t)bytes_per_sample)
    [all...]
  /external/srec/srec/EventLog/include/
riff.h 62 * number of channels * bytes_per_sample
66 * bytes_per_sample * 8 (PCM-specific field)
229 int bytes_per_sample,
  /external/srec/srec/EventLog/src/
riff.c 769 /* assuming nchannels = 1, usually bytes_per_sample==blockAlign / nchannels (not aurora!) */
939 * sampling rate = bytes_per_sample = -1; other fields of WaveFormat undefined
946 int bytes_per_sample,
967 (bytes_per_sample == -1 && format_tag != WAVEFORMAT_AURORA &&
974 if (bytes_per_sample > 0)
975 num_samples = num_bytes / bytes_per_sample;
1024 bytes_sec = (short)(rate * num_channels * bytes_per_sample);
1025 block_align = bytes_per_sample * num_channels;
1042 if (bytes_per_sample == 2)

Completed in 92 milliseconds