/frameworks/base/media/java/android/media/ |
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 | 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 | 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
|
H A D | AudioFormat.java | 556 public static int[] filterPublicFormats(int[] formats) { argument 557 if (formats == null) { 560 int[] myCopy = Arrays.copyOf(formats, formats.length);
|
/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) {
|
/frameworks/av/services/audioflinger/tests/ |
H A D | test-mixer.cpp | 105 std::vector<audio_format_t> formats; local 156 formats.resize(argc); 172 formats[i] = AUDIO_FORMAT_PCM_FLOAT; 175 formats[i] = AUDIO_FORMAT_PCM_16_BIT; 190 formats[i] = AUDIO_FORMAT_PCM_FLOAT; 193 formats[i] = AUDIO_FORMAT_PCM_16_BIT; 203 formats[i] = AUDIO_FORMAT_PCM_FLOAT; 206 formats[i] = AUDIO_FORMAT_PCM_16_BIT; 250 formats[i], AUDIO_SESSION_OUTPUT_MIX); 265 (void *)(uintptr_t)formats[ [all...] |
/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],
|
H A D | TypeConverter.h | 142 static FormatTraits::Collection formatsFromString(const std::string &formats, const char *del = "|") argument 145 FormatConverter::collectionFromString(formats, formatCollection, del);
|
/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/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 | 301 jint* formats = env->GetIntArrayElements(array, 0); local 304 list->push(formats[i]); 305 env->ReleaseIntArrayElements(array, formats, 0); 319 jint* formats = env->GetIntArrayElements(array, 0); local 322 list->push(formats[i]); 323 env->ReleaseIntArrayElements(array, formats, 0); 871 // Except DNG, all supported RAW image formats are not defined in PTP 1.2 specification. 872 // Most of RAW image formats are based on TIFF or TIFF/EP. To render Fuji's RAF format,
|
/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/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} 411 // Override RGB formats to IMPLEMENTATION_DEFINED, b/9487482 437 * <p>Some of the supported classes may support additional formats beyond 473 * <p>The {@code format} should be a supported format (one of the formats returne 1141 imageFormatToPublic(int[] formats) argument 1245 imageFormatToInternal(int[] formats) argument [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 346 VkSurfaceFormatKHR* formats) { 347 // TODO(jessehall): Fill out the set of supported formats. Longer term, add 350 // Vulkan format. Shorter term, just add a few more formats to the ones 361 if (formats) { 364 std::copy(kFormats, kFormats + std::min(*count, kNumFormats), formats); 343 GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice , VkSurfaceKHR , uint32_t* count, VkSurfaceFormatKHR* formats) argument
|
/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/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 520 Vector<int32_t> formats; local 523 shimParams.getSupportedPreviewFormats(/*out*/formats); 528 formats.add(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED); 533 size_t streamConfigSize = (sizes.size() * formats.size() + jpegSizes.size()) * INTS_PER_CONFIG; 538 for (size_t i = 0; i < formats.size(); ++i) { 540 streamConfigs.add(formats[i]);
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 748 NULL, // formats 897 static bool hasFormat(int* formats, size_t size, int format) { argument 899 if (formats[index] == format) { 972 // formats 976 int format = audioFormatFromNative(nAudioPort->formats[index]);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 3216 final String[] formats = new String[mCols]; 3227 formats[col] = String.format("%%-%ds", maxLength); 3229 formats[mCols - 1] = "%s"; 3230 printRow(out, formats, mTable.get(0)); 3238 printRow(out, formats, row); 3242 private void printRow(PrintWriter out, String[] formats, Object[] row) { argument 3244 out.printf(String.format(formats[j], row[j].toString()));
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 3626 // erase all current sample rates, formats and channel masks 3872 // erase all current sample rates, formats and channel masks 5275 // Modify the list of surround sound formats supported. 5277 FormatVector &formats = *formatsPtr; local 5285 // Analyze original support for various formats. 5289 for (size_t formatIndex = 0; formatIndex < formats.size(); formatIndex++) { 5290 audio_format_t format = formats[formatIndex]; 5308 // Modify formats based on surround preferences. 5309 // If NEVER, remove support for surround formats. 5312 // Remove surround sound related formats 5414 FormatVector formats = formatsFromString(reply.string()); local [all...] |