/frameworks/av/media/libaaudio/tests/ |
H A D | test_open_params.cpp | 121 aaudio_format_t formats[] = {AAUDIO_FORMAT_UNSPECIFIED, local 138 for (uint i = 0; i < arraysize(formats); i++) { 139 testOpenOptions(direction, AAUDIO_UNSPECIFIED, AAUDIO_UNSPECIFIED, formats[i]);
|
/frameworks/av/media/libaudioprocessing/tests/ |
H A D | test-mixer.cpp | 105 std::vector<audio_format_t> formats; local 152 formats.resize(argc); 168 formats[i] = AUDIO_FORMAT_PCM_FLOAT; 171 formats[i] = AUDIO_FORMAT_PCM_16_BIT; 186 formats[i] = AUDIO_FORMAT_PCM_FLOAT; 189 formats[i] = AUDIO_FORMAT_PCM_16_BIT; 199 formats[i] = AUDIO_FORMAT_PCM_FLOAT; 202 formats[i] = AUDIO_FORMAT_PCM_16_BIT; 247 name, channelMask, formats[i], AUDIO_SESSION_OUTPUT_MIX); 262 (void *)(uintptr_t)formats[ [all...] |
/frameworks/av/media/libmedia/ |
H A D | TypeConverter.cpp | 393 const std::string &formats, const char *del) 396 FormatConverter::collectionFromString(formats, formatCollection, del); 392 formatsFromString( const std::string &formats, const char *del) argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioProfile.h | 160 FormatVector formats; local 161 formats.add(profileToAdd->getFormat()); 162 setFormats(FormatVector(formats)); 254 void setFormats(const FormatVector &formats) argument 261 for (size_t i = 0; i < formats.size(); i++) { 262 sp<AudioProfile> profile = new AudioProfile(formats[i],
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 160 FormatVector formats; local 165 formats = formatsFromString(node->value); 191 if (formats.isEmpty()) { 198 for (size_t i = 0; i < formats.size(); i++) { 201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); 202 profileToAdd->setDynamicFormat(formats[i] == gDynamicFormat);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 64 // Array of all surround formats. 74 // Array of all AAC formats. When AAC is enabled by users, all AAC formats should be enabled. 3534 FormatVector& formats) { 3541 ALOGV("%s: supported formats %s", __FUNCTION__, reply.string()); 3549 // Only AUDIO_FORMAT_AAC_LC will be used in Settings UI for all AAC formats. 3557 for (size_t i = 0; i < formats.size(); i++) { 3558 if (format == formats[i]) { 3571 formats.add(format); 3597 FormatVector formats; local 3533 getSupportedFormats(audio_io_handle_t ioHandle, FormatVector& formats) argument 5938 FormatVector &formats = *formatsPtr; local 6107 FormatVector formats = formatsFromString(reply.string()); local [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 49 * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively 198 * Get the image {@code format} output formats in this stream configuration. 200 * <p>All image formats returned by this function will be defined in either {@link ImageFormat} 216 * Get the image {@code format} output formats for a reprocessing input format. 224 * <p>All image formats returned by this function will be defined in either {@link ImageFormat} 243 * Get the image {@code format} input formats in this stream configuration. 245 * <p>All image formats returned by this function will be defined in either {@link ImageFormat} 431 * <p>Some of the supported classes may support additional formats beyond 467 * <p>The {@code format} should be a supported format (one of the formats returned by 474 * 20fps rate. This means that for some supported formats, thi 1137 imageFormatToPublic(int[] formats) argument 1244 imageFormatToInternal(int[] formats) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 779 NULL, // formats 928 static bool hasFormat(int* formats, size_t size, int format) { argument 930 if (formats[index] == format) { 966 || nAudioPort->num_formats > array_size(nAudioPort->formats) 1041 // formats 1045 int format = audioFormatFromNative(nAudioPort->formats[index]);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioDevicePort.java | 41 int[] formats, AudioGain[] gains, int type, String address) { 45 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); 39 AudioDevicePort(AudioHandle handle, String deviceName, int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, int[] formats, AudioGain[] gains, int type, String address) argument
|
H A D | AudioFormat.java | 631 public static int[] filterPublicFormats(int[] formats) { argument 632 if (formats == null) { 635 int[] myCopy = Arrays.copyOf(formats, formats.length);
|
H A D | AudioMixPort.java | 35 int[] formats, AudioGain[] gains) { 37 formats, gains); 33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, int[] formats, AudioGain[] gains) argument
|
H A D | AudioPort.java | 81 int[] formats, AudioGain[] gains) { 89 mFormats = formats; 151 public int[] formats() { method in class:AudioPort 79 AudioPort(AudioHandle handle, int role, String name, int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, int[] formats, AudioGain[] gains) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 58 Vector<output_format> formats = sProfiles->getOutputFileFormats(); local 59 int nSize = formats.size(); 64 return static_cast<jint>(formats[index]);
|
H A D | android_mtp_MtpDatabase.cpp | 317 jint* formats = env->GetIntArrayElements(array, 0); local 320 list->push_back(formats[i]); 321 env->ReleaseIntArrayElements(array, formats, 0); 335 jint* formats = env->GetIntArrayElements(array, 0); local 338 list->push_back(formats[i]); 339 env->ReleaseIntArrayElements(array, formats, 0); 898 // Except DNG, all supported RAW image formats are not defined in PTP 1.2 specification. 899 // Most of RAW image formats are based on TIFF or TIFF/EP. To render Fuji's RAF format,
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 4064 final String[] formats = new String[mCols]; 4075 formats[col] = String.format("%%-%ds", maxLength); 4077 formats[mCols - 1] = "%s"; 4078 printRow(out, formats, mTable.get(0)); 4086 printRow(out, formats, row); 4090 private void printRow(PrintWriter out, String[] formats, Object[] row) { argument 4092 out.printf(String.format(formats[j], row[j].toString()));
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 371 GGLFormat const * formats = gglGetPixelFormatTable(); local 372 params[0] = formats[index].ah - formats[index].al; 377 GGLFormat const * formats = gglGetPixelFormatTable(); local 378 params[0] = formats[index].rh - formats[index].rl; 383 GGLFormat const * formats = gglGetPixelFormatTable(); local 384 params[0] = formats[index].gh - formats[index].gl; 389 GGLFormat const * formats local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 27 * graphic formats: 67 * Measurements are made for each of the graphic formats specified as 68 * positional parameters on the command-line. If no graphic formats 236 static vector<string> formats; variable 320 * 2. Form a list of command-line specified graphic formats. If 321 * no formats are specified, then form a list of all known formats. 388 // Positional parameters provide the names of graphic formats that 390 // known graphic formats when no positional parameters are provided. 392 // No command-line specified graphic formats [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 668 VkSurfaceFormatKHR* formats) { 671 // TODO(jessehall): Fill out the set of supported formats. Longer term, add 674 // Vulkan format. Shorter term, just add a few more formats to the ones 711 if (formats) { 717 std::copy(kFormats, kFormats + transfer_count, formats); 722 formats + out_count); 665 GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface_handle, uint32_t* count, VkSurfaceFormatKHR* formats) argument
|
/frameworks/native/vulkan/vkjson/ |
H A D | vkjson.h | 89 std::map<VkFormat, VkFormatProperties> formats; member in struct:VkJsonDevice
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 33 PCM formats[] = { variable 94 // loop over all formats 98 for (format = formats; format->numChannels; ++format) {
|