/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 37 printf ("AMR_WB Encoder HELP Displays this text\n"); in usage() 38 printf ("\n"); in usage() 39 printf ("Usage:\n"); in usage() 40 printf ("AMRWBEnc [options] Input_file output_file \n"); in usage() 41 printf ("\n"); in usage() 42 printf ("Options +M* +F* +DTX \n"); in usage() 43 printf ("Support \n"); in usage() 44 printf ("Options +M* for seting compression bitrate mode, default is 23.85kbps\n"); in usage() 45 printf (" +M0 = 6.6kbps \n"); in usage() 46 printf (" +M1 = 8.85kbps \n"); in usage() [all …]
|
/frameworks/native/vulkan/tools/ |
D | vkinfo.cpp | 341 printf("%s%s (v%u)\n", Indent(indent), e.extensionName, e.specVersion); in PrintExtensions() 350 printf("%s%s %u.%u.%u/%u\n", Indent(indent), layers[i].layerName, in PrintLayers() 356 printf("%s%s\n", Indent(indent + 1), layers[i].description); in PrintLayers() 359 printf("%sExtensions [%zu]:\n", Indent(indent + 1), in PrintLayers() 370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); in PrintAllFeatures() 371 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); in PrintAllFeatures() 372 printf("%simageCubeArray: %s\n", indent, features.imageCubeArray ? "YES" : "NO"); in PrintAllFeatures() 373 printf("%sindependentBlend: %s\n", indent, features.independentBlend ? "YES" : "NO"); in PrintAllFeatures() 374 printf("%sgeometryShader: %s\n", indent, features.geometryShader ? "YES" : "NO"); in PrintAllFeatures() 375 printf("%stessellationShader: %s\n", indent, features.tessellationShader ? "YES" : "NO"); in PrintAllFeatures() [all …]
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 113 printf("Sorry, MAX of %d channels!\n", MAX_CHANNELS); in setChannelCount() 233 printf("WARNING: setUsage not supported"); in applyParameters() 238 printf("WARNING: setContentType not supported"); in applyParameters() 243 printf("WARNING: setInputPreset not supported"); in applyParameters() 250 printf("WARNING: setAllowedCapturePolicy not supported"); in applyParameters() 317 printf("ERROR: invalid MMAP policy mode %i\n", policy); in parseArg() 371 printf("-c{channels} -d{deviceId} -m{mmapPolicy} -n{burstsPerBuffer} -p{perfMode}"); in usage() 372 printf(" -r{rate} -s{seconds} -x\n"); in usage() 373 printf(" Default values are UNSPECIFIED unless otherwise stated.\n"); in usage() 374 printf(" -b{bufferCapacity} frames\n"); in usage() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | xa.c | 28 printf("xaCreateEngine\n"); in main() 30 printf("result = %d\n", result); in main() 32 printf("engineObject = %p\n", engineObject); in main() 33 printf("realize\n"); in main() 35 printf("result = %d\n", result); in main() 36 printf("GetInterface for ENGINE\n"); in main() 39 printf("result = %d\n", result); in main() 40 printf("engineEngine = %p\n", engineEngine); in main() 44 printf("CreateOutputMix"); in main() 46 printf("result = %d, outputMixObject=%p\n", result, outputMixObject); in main() [all …]
|
D | dual.c | 33 printf("xaCreateEngine\n"); in main() 35 printf("xaResult = %d\n", xaResult); in main() 37 printf("xaEngineObject = %p\n", xaEngineObject); in main() 39 printf("realize xaEngineObject\n"); in main() 41 printf("xaResult = %d\n", xaResult); in main() 43 printf("GetInterface for XA_IID_ENGINE\n"); in main() 46 printf("xaResult = %d\n", xaResult); in main() 47 printf("xaEngineEngine = %p\n", xaEngineEngine); in main() 50 printf("slCreateEngine\n"); in main() 52 printf("slResult = %d\n", slResult); in main() [all …]
|
D | engine.c | 26 printf("Get number of available engine interfaces\n"); in main() 34 printf("Engine number of supported interfaces %u\n", numSupportedInterfaces); in main() 40 printf("Display the ID of each available interface\n"); in main() 48 printf("interface[%u] ", index); in main() 59 printf("Create an engine and request all available interfaces\n"); in main() 62 printf("Create engine with numSupportedInterfaces > 0 but NULL pointers\n"); in main() 71 printf("Create engine with no place to return the new engine object\n"); in main() 75 printf("Create engine with NULL interface pointer\n"); in main() 82 printf("Create an engine with numOptions > 0 but NULL pointer\n"); in main() 90 printf("Create engine with non-sensical option\n"); in main() [all …]
|
D | xaplay.c | 82 printf("XA_STREAMCBEVENT_PROPERTYCHANGE on stream index %u, pEventData %p\n", streamIndex, in streamEventChangeCallback() 86 printf("Unknown stream event ID %u\n", eventId); in streamEventChangeCallback() 104 printf("PrefetchEventCallback: Buffer fill level is = %d\n", level); in prefetchStatusCallback() 107 printf("PrefetchEventCallback: Prefetch Status is = %u\n", status); in prefetchStatusCallback() 112 printf("PrefetchEventCallback: Error while prefetching data, exiting\n"); in prefetchStatusCallback() 141 printf("XA_PLAYEVENT_HEADATEND current position=%u ms\n", position); in playEventCallback() 145 printf("XA_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", position); in playEventCallback() 149 printf("XA_PLAYEVENT_HEADATMARKER current position=%u ms\n", position); in playEventCallback() 180 printf("buffer completion callback after EOS\n"); in bufferQueueCallback() 183 printf("sending EOS\n"); in bufferQueueCallback() [all …]
|
D | reverb.c | 115 printf("roomLevel: %d\n", settings->roomLevel); in slesutPrintEnvironmentalReverbSettings() 116 printf("roomHFLevel: %d\n", settings->roomHFLevel); in slesutPrintEnvironmentalReverbSettings() 117 printf("decayTime: %d\n", settings->decayTime); in slesutPrintEnvironmentalReverbSettings() 118 printf("decayHFRatio: %d\n", settings->decayHFRatio); in slesutPrintEnvironmentalReverbSettings() 119 printf("reflectionsLevel: %d\n", settings->reflectionsLevel); in slesutPrintEnvironmentalReverbSettings() 120 printf("reflectionsDelay: %d\n", settings->reflectionsDelay); in slesutPrintEnvironmentalReverbSettings() 121 printf("reverbLevel: %d\n", settings->reverbLevel); in slesutPrintEnvironmentalReverbSettings() 122 printf("reverbDelay: %d\n", settings->reverbDelay); in slesutPrintEnvironmentalReverbSettings() 123 printf("diffusion: %d\n", settings->diffusion); in slesutPrintEnvironmentalReverbSettings() 124 printf("density: %d\n", settings->density); in slesutPrintEnvironmentalReverbSettings() [all …]
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 103 printf("callback hanging for %d millis, actual = %d micros\n", in hangIfRequested() 140 printf("ERROR actualInputFormat = %d\n", myData->actualInputFormat); in readFormattedData() 147 printf("ERROR in read = %d = %s\n", framesRead, in readFormattedData() 234 printf("insufficient for no reason, numFrames = %d" in MyDataCallbackProc() 289 printf("Error Callback, error: %d\n",(int)error); in MyErrorCallbackProc() 295 printf("Usage: aaudio_loopback [OPTION]...\n\n"); in usage() 297 printf(" -B{frames} input capacity in frames\n"); in usage() 298 printf(" -C{channels} number of input channels\n"); in usage() 299 printf(" -D{deviceId} input device ID\n"); in usage() 300 printf(" -F{0,1,2} input format, 1=I16, 2=FLOAT\n"); in usage() [all …]
|
/frameworks/av/tools/resampler_tools/ |
D | fir.cpp | 233 printf("// cmd-line:"); in main() 235 printf(" %s", argv[i]); in main() 237 printf("\n"); in main() 240 printf("const int32_t RESAMPLE_FIR_SIZE = %d;\n", N); in main() 241 printf("const int32_t RESAMPLE_FIR_INT_PHASES = %d;\n", M); in main() 242 printf("const int32_t RESAMPLE_FIR_NUM_COEF = %d;\n", nzc); in main() 244 printf("const int32_t RESAMPLE_FIR_SIZE = %d;\n", 2*nzc*polyN); in main() 245 printf("const int32_t RESAMPLE_FIR_NUM_COEF = %d;\n", 2*nzc); in main() 248 printf("const int32_t RESAMPLE_FIR_COEF_BITS = %d;\n", nc); in main() 250 printf("\n"); in main() [all …]
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | snr.cpp | 36 printf("file sizes do not match (last %zu %zu)", read_samples_in, read_samples_ref); in getSignalNoise() 52 printf("\nUsage: "); in printUsage() 53 printf("\n snr <ref_file> <test_file> [options]\n"); in printUsage() 54 printf("\nwhere, \n <ref_file> is the reference file name"); in printUsage() 55 printf("\n on which will be taken as pure signal"); in printUsage() 56 printf("\n <test_file> is test file for snr calculation"); in printUsage() 57 printf("\n and options are mentioned below"); in printUsage() 58 printf("\n"); in printUsage() 59 printf("\n -pcm_format:<pcm format of input files>"); in printUsage() 60 printf("\n 0 - 16 bit pcm"); in printUsage() [all …]
|
D | lvmtest.cpp | 121 printf("\nUsage: "); in printUsage() 122 printf("\n <executable> -i:<input_file> -o:<out_file> [options]\n"); in printUsage() 123 printf("\nwhere, \n <inputfile> is the input file name"); in printUsage() 124 printf("\n on which LVM effects are applied"); in printUsage() 125 printf("\n <outputfile> processed output file"); in printUsage() 126 printf("\n and options are mentioned below"); in printUsage() 127 printf("\n"); in printUsage() 128 printf("\n -help (or) -h"); in printUsage() 129 printf("\n Prints this usage information"); in printUsage() 130 printf("\n"); in printUsage() [all …]
|
/frameworks/base/tools/incident_section_gen/ |
D | main.cpp | 97 printf("\n"); in emptyline() 101 printf("// Auto generated file. Do not modify\n"); in generateHead() 103 printf("#include \"%s.h\"\n", header); in generateHead() 120 printf("IncidentSection const INCIDENT_SECTIONS[] = {\n"); in generateIncidentSectionsCpp() 126 printf(" { %d, \"%s\" }", field->number(), field->name().c_str()); in generateIncidentSectionsCpp() 128 printf(",\n"); in generateIncidentSectionsCpp() 130 printf("\n"); in generateIncidentSectionsCpp() 133 printf("};\n"); in generateIncidentSectionsCpp() 135 printf("const int INCIDENT_SECTION_COUNT = %d;\n", N); in generateIncidentSectionsCpp() 148 printf(" \"%s\",", arg.c_str()); in splitAndPrint() [all …]
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeAac.cpp | 168 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event); in PrefetchEventCallback() 172 printf("PrefetchEventCallback: Error while prefetching data, exiting\n"); in PrefetchEventCallback() 212 printf("SL_PLAYEVENT_HEADATMARKER position=%u ms\n", position); in PlayCallback() 215 printf("SL_PLAYEVENT_HEADATNEWPOS position=%u ms\n", position); in PlayCallback() 218 printf("SL_PLAYEVENT_HEADATEND position=%u ms, all decoded data has been received\n", in PlayCallback() 255 printf("Received EOS completion after EOS\n"); in AndroidBufferQueueCallback() 257 printf("Received ADTS completion after EOS\n"); in AndroidBufferQueueCallback() 264 printf("Enqueue EOS: encoded frames=%zu, decoded frames=%zu\n", encodedFrames, in AndroidBufferQueueCallback() 266 printf("You should now see %u ADTS completion%s followed by 1 EOS completion\n", in AndroidBufferQueueCallback() 360 printf("sample rate = %d\n", *((SLuint32*)u.pcmMetaData.data)); in DecPlayCallback() [all …]
|
D | slesTestRecBuffQueue.cpp | 101 printf("SL_RECORDEVENT_HEADATNEWPOS current position=%ums\n", pMsec); in RecCallback() 107 printf("SL_RECORDEVENT_HEADATMARKER current position=%ums\n", pMsec); in RecCallback() 319 printf("Recorder created\n"); in TestRecToBuffQueue() 330 printf("Recorder configured with preset %u\n", presetValue); in TestRecToBuffQueue() 332 printf("Using default record preset\n"); in TestRecToBuffQueue() 339 printf("Recorder configured with performance mode %u\n", performanceMode); in TestRecToBuffQueue() 341 printf("Using default performance mode\n"); in TestRecToBuffQueue() 350 printf("The default record preset appears to be %u\n", presetRetrieved); in TestRecToBuffQueue() 360 printf("Recorder realized\n"); in TestRecToBuffQueue() 368 printf("Actual performance mode is %u\n", modeRetrieved); in TestRecToBuffQueue() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_return_stop.cpp | 97 printf("AAudio_createStreamBuilder returned %s", in s_OpenAudioStream() 113 printf("AAudioStreamBuilder_openStream returned %s", in s_OpenAudioStream() 126 printf("AAudioStream_close returned %s\n", in s_CloseAudioStream() 140 printf("%s() - error = %d\n", __func__, error); in s_myErrorCallbackProc() 144 printf("test_return_stop [-i] [-x] [-n] [-c]\n"); in s_usage() 145 printf(" -i direction INPUT, otherwise OUTPUT\n"); in s_usage() 146 printf(" -x sharing mode EXCLUSIVE, otherwise SHARED\n"); in s_usage() 147 printf(" -n performance mode NONE, otherwise LOW_LATENCY\n"); in s_usage() 148 printf(" -c always return CONTINUE from callback, not STOP\n"); in s_usage() 158 printf("playing framesRead = %7d, framesWritten = %7d" in s_checkEnginePositions() [all …]
|
D | test_aaudio_monkey.cpp | 52 printf("Error Callback, error: %d\n",(int)error); in AAudioMonkeyErrorCallbackProc() 68 printf("Monkey # %d ---------------------------------------------- OPEN\n", mIndex); in open() 80 printf("ERROR - player.open() returned %d\n", result); in open() 103 printf("ERROR - AAudioStream_waitForStateChange returned %d\n", result); in validate() 111 printf("%30s, framesWritten = %8lld, framesRead = %8lld, xRuns = %d\n", in validate() 118 printf("WARNING - UNDERFLOW - diff = %d !!!!!!!!!!!!\n", in validate() 138 printf("start\n"); in invoke() 141 printf("pause\n"); in invoke() 144 printf("flush\n"); in invoke() 147 printf("stop\n"); in invoke() [all …]
|
D | test_bad_disconnect.cpp | 66 printf("AAudio_createStreamBuilder returned %s", in s_StartAudio() 80 printf("AAudioStreamBuilder_openStream returned %s", in s_StartAudio() 87 printf("AAudioStream_requestStart returned %s", in s_StartAudio() 95 printf("-------- started: deviceId = %3d, framesPerBurst = %3d\n", deviceId, framesPerBurst); in s_StartAudio() 105 printf("AAudioStream_requestStop returned %s\n", in s_StopAudio() 110 printf("AAudioStream_close returned %s\n", in s_StopAudio() 148 printf("Test Bad Disconnect V1.0\n"); in main() 149 printf("\n=========== Please PLUG and UNPLUG headphones! ==============\n\n"); in main() 150 printf("You should see the deviceID change on each plug event.\n"); in main() 151 printf("Headphones will generally get a new deviceId each time.\n"); in main() [all …]
|
D | test_timestamps.cpp | 76 printf("ERROR - MAX_TESTS too small = %d\n", MAX_TESTS); in logTestResult() 90 printf("%2d: mmap = %3s, sharing = %9s, perf = %11s, dir = %6s ---- %4s\n", in printTestResults() 110 printf("ERROR - SimplePlayerDataCallbackProc needs userData\n"); in timestampDataCallbackProc() 123 printf("Simulate glitch at %lld\n", (long long) timestampData->framesTotal); in timestampDataCallbackProc() 172 printf("\n=================================================================================\n"); in testTimeStamps() 173 printf("--------- testTimeStamps(policy = %d, sharing = %s, perf = %s, dir = %s) --------\n", in testTimeStamps() 184 printf("AAudio_createStreamBuilder returned %s", in testTimeStamps() 199 printf("AAudioStreamBuilder_openStream returned %s", in testTimeStamps() 211 printf("did not get expected sharingMode, got %3d, skipping test\n", in testTimeStamps() 218 printf("did not get expected performanceMode, got %3d, skipping test\n", in testTimeStamps() [all …]
|
D | test_recovery.cpp | 48 printf("TestRecovery:\n"); in main() 53 printf("AAudio_createStreamBuilder returned %s", in main() 65 printf("AAudioStreamBuilder_openStream returned %s", in main() 75 printf("-------- chans = %3d, rate = %6d format = %d\n", in main() 82 printf(" bufferCapacity = %d, framesPerBurst = %d\n", in main() 90 printf("AAudioStream_requestStart returned %s", in main() 105 printf("write() returned %s, frames = %d\n", in main() 107 printf(" frames = %d\n", (int)framesTotal); in main() 109 printf("write() returned %d, frames = %d\n", framesWritten, (int)framesTotal); in main() 114 printf("frames = %d\n", (int)framesTotal); in main() [all …]
|
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
D | compute.cpp | 16 printf("New RS %p\n", rs.get()); in test_compute() 20 printf("Init returned %i\n", r); in test_compute() 23 printf("Element %p\n", e.get()); in test_compute() 29 printf("Type %p\n", t.get()); in test_compute() 33 printf("Allocation %p\n", a1.get()); in test_compute() 37 printf("Allocation %p %p\n", ain.get(), aout.get()); in test_compute() 44 printf("Input pointer: %p\n", input); in test_compute() 45 printf("Input stride: %zu\n", inputStride); in test_compute() 46 printf("Output pointer: %p\n", output); in test_compute() 47 printf("Output stride: %zu\n", outputStride); in test_compute() [all …]
|
/frameworks/av/media/libeffects/downmix/tests/ |
D | downmixtest.cpp | 43 printf("\nUsage:"); in printUsage() 44 printf("\n downmixtest <input_file> <out_file> [options]\n"); in printUsage() 45 printf("\nwhere,"); in printUsage() 46 printf("\n <input_file> is the input file name"); in printUsage() 47 printf("\n on which LVM effects are applied"); in printUsage() 48 printf("\n <output_file> processed output file"); in printUsage() 49 printf("\n and options are mentioned below"); in printUsage() 50 printf("\n"); in printUsage() 51 printf("\n -h"); in printUsage() 52 printf("\n Prints this usage information"); in printUsage() [all …]
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 56 printf("----------------------- run complete test --------------------------\n"); in testOpenPlayClose() 95 printf("--------------- SINE ------\n"); in testOpenPlayClose() 99 printf("--------------- QUIET -----\n"); in testOpenPlayClose() 114 printf("Sleep for %d seconds while audio plays in a callback thread. %d of %d\n", in testOpenPlayClose() 126 printf(" waker result = %d, at %6d millis" in testOpenPlayClose() 140 printf("AAudio result = %d = %s\n", result, AAudio_convertResultToText(result)); in testOpenPlayClose() 145 printf("STOP, callback # = %d\n", myData.callbackCount); in testOpenPlayClose() 148 printf("PAUSE/FLUSH, callback # = %d\n", myData.callbackCount); in testOpenPlayClose() 173 printf("waitForStateChange returns %s, state = %s\n", in testOpenPlayClose() 178 printf(" framesWritten = %lld, framesRead = %lld, diff = %d\n", in testOpenPlayClose() [all …]
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 44 printf("%s - Display audio input using an AAudio callback, V0.1.3\n", argv[0]); in main() 56 printf("IMPORTANT - Did you remember to enter: adb root\n"); in main() 62 printf("recorder.getFramesPerSecond() = %d\n", recorder.getFramesPerSecond()); in main() 63 printf("recorder.getSamplesPerFrame() = %d\n", recorder.getSamplesPerFrame()); in main() 71 printf("Sleep for %d seconds while audio record in a callback thread.\n", in main() 79 printf("%08d: ", (int)recorder.getFramesRead()); in main() 91 printf("Stream state is %d %s!\n", state, AAudio_convertStreamStateToText(state)); in main() 95 printf("Woke up. Stop for a moment.\n"); in main() 108 printf("Sleep for %d seconds while audio records in a callback thread.\n", in main() 115 printf("%08d: ", (int)recorder.getFramesRead()); in main() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 46 printf("Usage:\n"); in usage() 47 printf("AMRNBEnc [options] <input file> <output file>\n"); in usage() 48 printf("\n"); in usage() 49 printf("Options +M* for setting compression bitrate mode, default is 4.75 kbps\n"); in usage() 50 printf(" +M0 = 4.75 kbps\n"); in usage() 51 printf(" +M1 = 5.15 kbps\n"); in usage() 52 printf(" +M2 = 5.90 kbps\n"); in usage() 53 printf(" +M3 = 6.70 kbps\n"); in usage() 54 printf(" +M4 = 7.40 kbps\n"); in usage() 55 printf(" +M5 = 7.95 kbps\n"); in usage() [all …]
|