/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | bidirectional_sequence_rnn.mod.py | 209 input=Input("input", "TENSOR_FLOAT32", "{{ {}, {}, {} }}".format( 211 fw_weights=Input("fw_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 214 "fw_recurrent_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 216 fw_bias=Input("fw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(fw_num_units)), 218 "{{ {}, {} }}".format(num_batches, fw_num_units)), 219 bw_weights=Input("bw_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 222 "bw_recurrent_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 224 bw_bias=Input("bw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(bw_num_units)), 226 "{{ {}, {} }}".format(num_batches, bw_num_units)), 233 "fw_output", "TENSOR_FLOAT32", "{{ {}, {}, {} }}".format( [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major.mod.py | 26 input = Input("input", "TENSOR_FLOAT16", "{{{}, {}, {}}}".format(n_batch, max_time, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT16", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm.mod.py | 26 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_cifg_peephole.mod.py | 26 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major_merge_outputs.mod.py | 27 input = Input("input", "TENSOR_FLOAT16", "{{{}, {}, {}}}".format(n_batch, max_time, n_input)) 30 "fw_input_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 32 "fw_input_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 39 "fw_recurrent_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 41 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 48 "fw_cell_to_input_weights", "TENSOR_FLOAT16", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_merge_outputs.mod.py | 27 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 30 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 32 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 39 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 41 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 48 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_aux_input.mod.py | 28 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 31 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 37 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 40 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 46 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 49 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_norm_fw_output.mod.py | 27 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 30 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 32 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 39 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 41 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 48 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major_aux_input.mod.py | 29 input = Input("input", "TENSOR_FLOAT16", "{{{}, {}, {}}}".format(n_batch, max_time, n_input)) 32 "fw_input_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_input_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 41 "fw_recurrent_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_recurrent_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 50 "fw_cell_to_input_weights", "TENSOR_FLOAT16", "{{{}}}".format(n_cell)) [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 101 def.format.video.pNativeRender = NULL; in initPorts() 102 def.format.video.nFrameWidth = mWidth; in initPorts() 103 def.format.video.nFrameHeight = mHeight; in initPorts() 104 def.format.video.nStride = def.format.video.nFrameWidth; in initPorts() 105 def.format.video.nSliceHeight = def.format.video.nFrameHeight; in initPorts() 106 def.format.video.nBitrate = 0; in initPorts() 108 def.format.video.xFramerate = mFramerate; in initPorts() 109 def.format.video.bFlagErrorConcealment = OMX_FALSE; in initPorts() 111 def.format.video.cMIMEType = const_cast<char *>("video/raw"); in initPorts() 112 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in initPorts() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 411 public Size[] getInputSizes(final int format) { in getInputSizes() argument 412 return getPublicFormatSizes(format, /*output*/false, /*highRes*/false); in getInputSizes() 439 public boolean isOutputSupportedFor(int format) { in isOutputSupportedFor() argument 440 checkArgumentFormat(format); in isOutputSupportedFor() 442 int internalFormat = imageFormatToInternal(format); in isOutputSupportedFor() 443 int dataspace = imageFormatToDataspace(format); in isOutputSupportedFor() 592 public boolean isOutputSupportedFor(Size size, int format) { in isOutputSupportedFor() argument 593 int internalFormat = imageFormatToInternal(format); in isOutputSupportedFor() 594 int dataspace = imageFormatToDataspace(format); in isOutputSupportedFor() 670 public Size[] getOutputSizes(int format) { in getOutputSizes() argument [all …]
|
D | ReprocessFormatsMap.java | 86 String.format("Input %x had no output format length listed", inputFormat)); in ReprocessFormatsMap() 101 String.format( in ReprocessFormatsMap() 134 final int format = mEntry[i]; in getInputs() local 141 String.format("Input %x had no output format length listed", format)); in getInputs() 151 String.format( in getInputs() 153 "expected: %d)", format, left, length)); in getInputs() 160 inputs[j] = format; in getInputs() 178 public int[] getOutputs(final int format) { in getOutputs() argument 189 String.format("Input %x had no output format length listed", format)); in getOutputs() 199 String.format( in getOutputs() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | substitute.cc | 54 const char* format, in Substitute() argument 61 SubstituteAndAppend(&result, format, arg0, arg1, arg2, arg3, arg4, in Substitute() 67 string* output, const char* format, in SubstituteAndAppend() argument 79 for (int i = 0; format[i] != '\0'; i++) { in SubstituteAndAppend() 80 if (format[i] == '$') { in SubstituteAndAppend() 81 if (ascii_isdigit(format[i+1])) { in SubstituteAndAppend() 82 int index = format[i+1] - '0'; in SubstituteAndAppend() 88 << CEscape(format) << "\"."; in SubstituteAndAppend() 93 } else if (format[i+1] == '$') { in SubstituteAndAppend() 99 << CEscape(format) << "\"."; in SubstituteAndAppend() [all …]
|
D | stringprintf.cc | 55 void StringAppendV(string* dst, const char* format, va_list ap) { in StringAppendV() argument 65 int result = vsnprintf(space, kSpaceLength, format, backup_ap); in StringAppendV() 79 result = vsnprintf(NULL, 0, format, backup_ap); in StringAppendV() 96 result = vsnprintf(buf, length, format, backup_ap); in StringAppendV() 107 string StringPrintf(const char* format, ...) { in StringPrintf() argument 109 va_start(ap, format); in StringPrintf() 111 StringAppendV(&result, format, ap); in StringPrintf() 116 const string& SStringPrintf(string* dst, const char* format, ...) { in SStringPrintf() argument 118 va_start(ap, format); in SStringPrintf() 120 StringAppendV(dst, format, ap); in SStringPrintf() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 224 gen_file.write(' $(call all-java-files-under,{})\\\n'.format(src_dir)) 227 ' $(my_rs_unit_tests_path)/UnitTest.java\\\n'.format(src_dir) 232 ' $(my_rs_unit_tests_path)/{}\\\n'.format(JavaFileForUnitTest(test)) 235 gen_file.write(' $(my_rs_unit_tests_path)/{}\\\n'.format(rs_file)) 267 return 'UT_{}.java'.format(test) 276 return ['{}.rs'.format(test)] 380 .format(SupportLibGenTestDir())) 424 .format(SupportLib19MakefileLocation())) 432 make_target_name = 'RSTestForward_{}'.format(build_tool_version_name) 502 '</manifest>\n'.format(package, package) [all …]
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | Log.java | 30 public void debug(String format, Object... args) { in debug() argument 32 info(format, args); in debug() 37 public void debugNoln(String format, Object... args) { in debugNoln() argument 39 String s = String.format(format, args); in debugNoln() 44 public void info(String format, Object... args) { in info() argument 45 String s = String.format(format, args); in info() 49 public void error(String format, Object... args) { in error() argument 50 String s = String.format(format, args); in error() 54 public void exception(Throwable t, String format, Object... args) { in exception() argument 59 error(format + "\n" + sw.toString(), args); in exception()
|
/frameworks/base/tools/bit/ |
D | print.cpp | 59 print_status(const char* format, ...) in print_status() argument 64 va_start(args, format); in print_status() 65 vfprintf(stdout, format, args); in print_status() 91 print_error(const char* format, ...) in print_error() argument 96 va_start(args, format); in print_error() 97 vfprintf(stderr, format, args); in print_error() 105 print_warning(const char* format, ...) in print_warning() argument 110 va_start(args, format); in print_warning() 111 vfprintf(stderr, format, args); in print_warning() 119 print_info(const char* format, ...) in print_info() argument [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Log.java | 83 public static void d(String prefix, String format, Object... args) { in d() argument 86 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d() 88 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d() 92 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 95 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 97 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 102 public static void i(String prefix, String format, Object... args) { in i() argument 104 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i() 108 public static void i(Object objectPrefix, String format, Object... args) { in i() argument 110 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | SimpleFrame.java | 23 import android.filterfw.format.ObjectFormat; 35 SimpleFrame(FrameFormat format, FrameManager frameManager) { in SimpleFrame() argument 36 super(format, frameManager); in SimpleFrame() 37 initWithFormat(format); in SimpleFrame() 42 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); in wrapObject() local 43 SimpleFrame result = new SimpleFrame(format, frameManager); in wrapObject() 48 private void initWithFormat(FrameFormat format) { in initWithFormat() argument 49 final int count = format.getLength(); in initWithFormat() 50 final int baseType = format.getBaseType(); in initWithFormat() 132 MutableFrameFormat format = getFormat().mutableCopy(); in setFormatObjectClass() local [all …]
|
D | SimpleFrameManager.java | 37 public Frame newFrame(FrameFormat format) { in newFrame() argument 38 return createNewFrame(format); in newFrame() 42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { in newBoundFrame() argument 44 switch(format.getTarget()) { in newBoundFrame() 46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId); in newBoundFrame() 54 + FrameFormat.targetToString(format.getTarget()) + "!"); in newBoundFrame() 59 private Frame createNewFrame(FrameFormat format) { in createNewFrame() argument 61 switch(format.getTarget()) { in createNewFrame() 63 result = new SimpleFrame(format, this); in createNewFrame() 67 result = new NativeFrame(format, this); in createNewFrame() [all …]
|
/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 25 size_t Format_frameSize(const NBAIO_Format& format) in Format_frameSize() argument 27 return format.mFrameSize; in Format_frameSize() 32 unsigned Format_sampleRate(const NBAIO_Format& format) in Format_sampleRate() argument 34 if (!Format_isValid(format)) { in Format_sampleRate() 37 return format.mSampleRate; in Format_sampleRate() 40 unsigned Format_channelCount(const NBAIO_Format& format) in Format_channelCount() argument 42 if (!Format_isValid(format)) { in Format_channelCount() 45 return format.mChannelCount; in Format_channelCount() 49 audio_format_t format) in Format_from_SR_C() argument 51 if (sampleRate == 0 || channelCount == 0 || !audio_is_valid_format(format)) { in Format_from_SR_C() [all …]
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 169 uint32_t format; member in Rectangle 242 uint32_t format; member 278 uint32_t maxOverlays(uint32_t format, bool allowOverlap); 279 list<uint32_t> supportedTransforms(uint32_t format); 280 list<uint32_t> supportedBlends(uint32_t format); 281 uint32_t dfMinWidth(uint32_t format); 282 uint32_t dfMinHeight(uint32_t format); 283 uint32_t dfMaxWidth(uint32_t format); 284 uint32_t dfMaxHeight(uint32_t format); 285 HwcTestDim dfMinDim(uint32_t format); [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaFormat.cpp | 55 void AMediaFormat_clear(AMediaFormat *format) { in AMediaFormat_clear() argument 56 format->mFormat->clear(); in AMediaFormat_clear() 152 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() argument 153 return format->mFormat->findInt32(name, out); in AMediaFormat_getInt32() 157 bool AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) { in AMediaFormat_getInt64() argument 158 return format->mFormat->findInt64(name, out); in AMediaFormat_getInt64() 162 bool AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) { in AMediaFormat_getFloat() argument 163 return format->mFormat->findFloat(name, out); in AMediaFormat_getFloat() 167 bool AMediaFormat_getDouble(AMediaFormat* format, const char *name, double *out) { in AMediaFormat_getDouble() argument 168 return format->mFormat->findDouble(name, out); in AMediaFormat_getDouble() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaTrack.cpp | 92 status_t MediaTrackCUnwrapper::getFormat(MetaDataBase& format) { in getFormat() argument 99 format = *newMeta; in getFormat() 122 AMediaFormat *format = buf->meta_data(buf->handle); in read() local 127 if (format->mFormat->findInt64("timeUs", &val64)) { in read() 130 if (format->mFormat->findInt64("durationUs", &val64)) { in read() 133 if (format->mFormat->findInt64("target-time", &val64)) { in read() 137 if (format->mFormat->findInt32("is-sync-frame", &val32)) { in read() 140 if (format->mFormat->findInt32("temporal-layer-id", &val32)) { in read() 143 if (format->mFormat->findInt32("temporal-layer-count", &val32)) { in read() 146 if (format->mFormat->findInt32("crypto-default-iv-size", &val32)) { in read() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | configbq.c | 95 PCM *format; in main() local 98 for (format = formats; format->numChannels; ++format) { in main() 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, in main() 101 format->milliHz / 1000, format->bitsPerSample); in main() 109 format_pcm.numChannels = format->numChannels; in main() 110 format_pcm.samplesPerSec = format->milliHz; in main() 111 format_pcm.bitsPerSample = format->bitsPerSample; in main() 112 format_pcm.containerSize = format->bitsPerSample; in main() 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / in main() 151 format->milliHz; in main() [all …]
|