/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/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/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/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() 318 printf("Recorder created\n"); in TestRecToBuffQueue() 329 printf("Recorder configured with preset %u\n", presetValue); in TestRecToBuffQueue() 331 printf("Using default record preset\n"); in TestRecToBuffQueue() 338 printf("Recorder configured with performance mode %u\n", performanceMode); in TestRecToBuffQueue() 340 printf("Using default performance mode\n"); in TestRecToBuffQueue() 349 printf("The default record preset appears to be %u\n", presetRetrieved); in TestRecToBuffQueue() 359 printf("Recorder realized\n"); in TestRecToBuffQueue() 367 printf("Actual performance mode is %u\n", modeRetrieved); in TestRecToBuffQueue() [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/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 72 printf("%s - Play a sine wave using AAudio\n", argv[0]); in main() 75 printf("requested MMapPolicy = %d\n", AAudio_getMMapPolicy()); in main() 90 printf("after open, state = %s\n", AAudio_convertStreamStateToText(state)); in main() 94 printf("SampleRate: requested = %d, actual = %d\n", requestedSampleRate, actualSampleRate); in main() 100 printf("ChannelCount: requested = %d, actual = %d\n", in main() 104 printf("SharingMode: requested = %s, actual = %s\n", in main() 111 printf("Buffer: bufferSize = %d\n", AAudioStream_getBufferSizeInFrames(aaudioStream)); in main() 113 printf("Buffer: bufferCapacity = %d, remainder = %d\n", in main() 122 printf("Buffer: framesPerBurst = %d\n",framesPerBurst); in main() 123 printf("Buffer: framesPerWrite = %d\n",framesPerWrite); in main() [all …]
|
D | write_sine_callback.cpp | 45 printf("%s - Play a sine sweep using an AAudio callback\n", argv[0]); in main() 55 printf("player.getFramesPerSecond() = %d\n", player.getFramesPerSecond()); in main() 56 printf("player.getChannelCount() = %d\n", player.getChannelCount()); in main() 76 printf("Sleep for %d seconds while audio plays in a callback thread.\n", NUM_SECONDS); in main() 92 printf("Stream state is %d %s!\n", state, AAudio_convertStreamStateToText(state)); in main() 95 printf("framesWritten = %d\n", (int) AAudioStream_getFramesWritten(player.getStream())); in main() 97 printf("Woke up now.\n"); in main() 99 printf("call stop()\n"); in main() 104 printf("call close()\n"); in main() 111 printf("scheduler = 0x%08x, SCHED_FIFO = 0x%08X\n", in main() [all …]
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 300 printf("loopback: -b{burstsPerBuffer} -p{outputPerfMode} -P{inputPerfMode}\n"); in usage() 301 printf(" -b{burstsPerBuffer} for example 2 for double buffered\n"); in usage() 302 printf(" -p{outputPerfMode} set output AAUDIO_PERFORMANCE_MODE*\n"); in usage() 303 printf(" -P{inputPerfMode} set input AAUDIO_PERFORMANCE_MODE*\n"); in usage() 304 printf(" n for _NONE\n"); in usage() 305 printf(" l for _LATENCY\n"); in usage() 306 printf(" p for _POWER_SAVING;\n"); in usage() 307 printf("For example: loopback -b2 -pl -Pn\n"); in usage() 324 printf("ERROR invalue performance mode %c\n", c); in parsePerformanceMode() 391 printf("%s - Audio loopback using AAudio\n", argv[0]); in main() [all …]
|
/frameworks/base/tools/incident_section_gen/ |
D | main.cpp | 35 printf("// Auto generated file. Do not modify\n"); in main() 36 printf("\n"); in main() 37 printf("#include \"incident_sections.h\"\n"); in main() 38 printf("\n"); in main() 49 printf("IncidentSection const INCIDENT_SECTIONS[] = {\n"); in main() 55 printf(" { %d, \"%s\" }", field->number(), field->name().c_str()); in main() 57 printf(",\n"); in main() 59 printf("\n"); in main() 62 printf("};\n"); in main() 64 printf("const int INCIDENT_SECTION_COUNT = %d;\n", N); in main()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 44 printf("%s - Display audio input using an AAudio callback\n", argv[0]); in main() 52 printf("recorder.getFramesPerSecond() = %d\n", recorder.getFramesPerSecond()); in main() 53 printf("recorder.getSamplesPerFrame() = %d\n", recorder.getSamplesPerFrame()); in main() 61 printf("Sleep for %d seconds while audio record in a callback thread.\n", NUM_SECONDS); in main() 67 printf("%08d: ", (int)recorder.getFramesRead()); in main() 79 printf("Stream state is %d %s!\n", state, AAudio_convertStreamStateToText(state)); in main() 83 printf("Woke up. Stop for a moment.\n"); in main() 96 printf("Sleep for %d seconds while audio records in a callback thread.\n", NUM_SECONDS); in main() 102 printf("%08d: ", (int)recorder.getFramesRead()); in main() 107 printf("Stream state is %d %s!\n", state, AAudio_convertStreamStateToText(state)); in main() [all …]
|
D | input_monitor.cpp | 69 printf("%s - Monitor input level using AAudio\n", argv[0]); in main() 83 printf("SamplesPerFrame = %d\n", actualSamplesPerFrame); in main() 85 printf("SamplesPerFrame = %d\n", actualSampleRate); in main() 88 printf("SharingMode: requested = %s, actual = %s\n", in main() 95 printf("DataFormat: framesPerBurst = %d\n",framesPerBurst); in main() 103 printf("DataFormat: framesPerRead = %d\n",framesPerRead); in main() 106 printf("DataFormat: requested = %d, actual = %d\n", requestedDataFormat, actualDataFormat); in main() 110 printf("PerformanceMode: requested = %d, actual = %d\n", requestedPerformanceMode, in main() 129 printf("after start, state = %s\n", AAudio_convertStreamStateToText(state)); in main() 165 printf("AAudioStream_getXRunCount %d\n", xRunCount); 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 …]
|
/frameworks/native/opengl/tests/finish/ |
D | finish.cpp | 89 printf("307200 bytes memcpy\n"); in main() 94 printf("memcpy() time = %llu us\n", (t-now)/1000); in main() 103 printf("512x512 unmodified texture, 512x512 blit:\n"); in main() 112 printf("glFinish() time = %llu us\n", (t-now)/1000); in main() 117 printf("512x512 unmodified texture, 1x1 blit:\n"); in main() 126 printf("glFinish() time = %llu us\n", (t-now)/1000); in main() 131 printf("512x512 unmodified texture, 512x512 blit (x2):\n"); in main() 141 printf("glFinish() time = %llu us\n", (t-now)/1000); in main() 146 printf("512x512 unmodified texture, 1x1 blit (x2):\n"); in main() 156 printf("glFinish() time = %llu us\n", (t-now)/1000); in main() [all …]
|
/frameworks/av/media/libstagefright/id3/ |
D | testid3.cpp | 36 printf("0x%04zx ", offset); in hexdump() 45 printf(" "); in hexdump() 49 printf("%02x ", data[offset + i]); in hexdump() 51 printf(" "); in hexdump() 55 printf(" "); in hexdump() 59 printf("%c", data[offset + i]); in hexdump() 61 printf("."); in hexdump() 65 printf("\n"); in hexdump() 77 printf("FAIL %s\n", path); in scanFile() 79 printf("SUCCESS %s\n", path); in scanFile() [all …]
|
/frameworks/compile/libbcc/bcinfo/tools/ |
D | main.cpp | 181 printf("RSFloatPrecision: "); in dumpMetadata() 184 printf("Full\n\n"); in dumpMetadata() 187 printf("Relaxed\n\n"); in dumpMetadata() 190 printf("UNKNOWN\n\n"); in dumpMetadata() 194 printf("exportVarCount: %zu\n", ME->getExportVarCount()); in dumpMetadata() 197 printf("var[%zu]: %s\n", i, varNameList[i]); in dumpMetadata() 199 printf("\n"); in dumpMetadata() 201 printf("exportFuncCount: %zu\n", ME->getExportFuncCount()); in dumpMetadata() 204 printf("func[%zu]: %s\n", i, funcNameList[i]); in dumpMetadata() 206 printf("\n"); in dumpMetadata() [all …]
|
/frameworks/rs/tests/cpp_api/latency/ |
D | latency.cpp | 16 printf("iters must be positive\n"); in main() 21 printf("iters = %d\n", iters); in main() 26 printf("numElems must be positive\n"); in main() 44 printf("forcing CPU\n"); in main() 47 printf("forcing synchronous\n"); in main() 49 printf("numElems = %d\n", numElems); in main() 58 printf("Could not initialize RenderScript\n"); in main() 88 printf("elapsed time : %lld microseconds\n", elapsed); in main() 89 printf("time per iter: %f microseconds\n", (double)elapsed / iters); in main() 103 printf("elapsed time with copy : %lld microseconds\n", elapsed); in main() [all …]
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
D | servicetool.cpp | 46 printf(fmt, ##__VA_ARGS__); \ 89 printf("Usage: %s [options]\n", command_name.c_str()); in Usage() 90 printf("\t--verbose : Use verbose messages.\n"); in Usage() 91 printf( in Usage() 94 printf("\t--dump <all | service path> : Dump service(s) state.\n"); in Usage() 148 printf( in DumpCommand() 151 printf("%s:\n", service_path.c_str()); in DumpCommand() 152 printf("%s\n", response.c_str()); in DumpCommand() 176 printf("0x%08lx: ", static_cast<unsigned long>(address)); in HexDump() 180 printf("%02x ", *reinterpret_cast<const uint8_t*>(address + i)); in HexDump() [all …]
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 42 printf("(ignoring extra arguments)\n"); in doVersion() 44 printf("Android Asset Packaging Tool, v0.2-" AAPT_VERSION "\n"); in doVersion() 163 printf("Archive: %s\n", zipFileName); in doList() 164 printf( in doList() 166 printf( in doList() 183 printf("%8ld %-7.7s %7ld %3d%% %8zd %s %08lx %s\n", in doList() 194 printf("%s\n", entry->getFileName()); in doList() 202 printf( in doList() 204 printf("%8ld %7ld %2d%% %d files\n", in doList() 225 printf("\nResource table:\n"); in doList() [all …]
|
/frameworks/base/tests/backup/ |
D | backup_helper_test.cpp | 86 printf("===== Running %s (%d of %d) ==============================\n", in main() 93 printf("failed\n"); in main() 95 printf("passed\n"); in main() 102 printf("=================================================================\n"); in main() 104 printf("All %d test(s) passed\n", testCount); in main() 106 printf("Tests failed: (%d of %d)\n", failed, testCount); in main() 111 printf(" %s\n", t->name); in main() 123 printf ("test_backup_helper built without the tests\n"); in main()
|