Home
last modified time | relevance | path

Searched refs:formats (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/av/services/audiopolicy/
Daudio_policy.conf109 formats AUDIO_FORMAT_PCM_16_BIT
118 formats AUDIO_FORMAT_PCM_16_BIT
132 formats AUDIO_FORMAT_PCM_16_BIT
140 formats AUDIO_FORMAT_PCM_16_BIT
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java1135 static int[] imageFormatToPublic(int[] formats) { in imageFormatToPublic() argument
1136 if (formats == null) { in imageFormatToPublic()
1140 for (int i = 0; i < formats.length; ++i) { in imageFormatToPublic()
1141 formats[i] = imageFormatToPublic(formats[i]); in imageFormatToPublic()
1144 return formats; in imageFormatToPublic()
1239 public static int[] imageFormatToInternal(int[] formats) { in imageFormatToInternal() argument
1240 if (formats == null) { in imageFormatToInternal()
1244 for (int i = 0; i < formats.length; ++i) { in imageFormatToInternal()
1245 formats[i] = imageFormatToInternal(formats[i]); in imageFormatToInternal()
1248 return formats; in imageFormatToInternal()
[all …]
/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp105 std::vector<audio_format_t> formats; in main() local
156 formats.resize(argc); in main()
172 formats[i] = AUDIO_FORMAT_PCM_FLOAT; in main()
175 formats[i] = AUDIO_FORMAT_PCM_16_BIT; in main()
190 formats[i] = AUDIO_FORMAT_PCM_FLOAT; in main()
193 formats[i] = AUDIO_FORMAT_PCM_16_BIT; in main()
203 formats[i] = AUDIO_FORMAT_PCM_FLOAT; in main()
206 formats[i] = AUDIO_FORMAT_PCM_16_BIT; in main()
250 formats[i], AUDIO_SESSION_OUTPUT_MIX); in main()
265 (void *)(uintptr_t)formats[i]); in main()
/frameworks/native/opengl/libagl/
Dstate.cpp371 GGLFormat const * formats = gglGetPixelFormatTable(); in glGetIntegerv() local
372 params[0] = formats[index].ah - formats[index].al; in glGetIntegerv()
377 GGLFormat const * formats = gglGetPixelFormatTable(); in glGetIntegerv() local
378 params[0] = formats[index].rh - formats[index].rl; in glGetIntegerv()
383 GGLFormat const * formats = gglGetPixelFormatTable(); in glGetIntegerv() local
384 params[0] = formats[index].gh - formats[index].gl; in glGetIntegerv()
389 GGLFormat const * formats = gglGetPixelFormatTable(); in glGetIntegerv() local
390 params[0] = formats[index].bh - formats[index].bl; in glGetIntegerv()
/frameworks/base/media/java/android/media/
DAudioPort.java81 int[] formats, AudioGain[] gains) { in AudioPort() argument
89 mFormats = formats; in AudioPort()
151 public int[] formats() { in formats() method in AudioPort
DEncoderCapabilities.java115 int[] formats = new int[nFormats]; in getOutputFileFormats() local
117 formats[i] = native_get_file_format(i); in getOutputFileFormats()
119 return formats; in getOutputFileFormats()
DAudioMixPort.java35 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
37 formats, gains); in AudioMixPort()
DAudioDevicePort.java41 int[] formats, AudioGain[] gains, int type, String address) { in AudioDevicePort() argument
45 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioFormat.java559 public static int[] filterPublicFormats(int[] formats) { in filterPublicFormats() argument
560 if (formats == null) { in filterPublicFormats()
563 int[] myCopy = Arrays.copyOf(formats, formats.length); in filterPublicFormats()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h160 FormatVector formats; in addProfileFromHal() local
161 formats.add(profileToAdd->getFormat()); in addProfileFromHal()
162 setFormats(FormatVector(formats)); in addProfileFromHal()
254 void setFormats(const FormatVector &formats) in setFormats() argument
261 for (size_t i = 0; i < formats.size(); i++) { in setFormats()
262 sp<AudioProfile> profile = new AudioProfile(formats[i], in setFormats()
/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp137 aaudio_format_t formats[] = {AAUDIO_FORMAT_UNSPECIFIED, in TEST() local
154 for (uint i = 0; i < arraysize(formats); i++) { in TEST()
155 testOpenOptions(direction, AAUDIO_UNSPECIFIED, AAUDIO_UNSPECIFIED, formats[i]); in TEST()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp236 static vector<string> formats; variable
395 formats.push_back(hwcTestGraphicFormat[n1].desc); in main()
401 formats.push_back(argv[optind]); in main()
407 for (vector<string>::iterator it = formats.begin(); in main()
408 it != formats.end(); ++it) { in main()
428 for (vector<string>::iterator itFormat = formats.begin(); in main()
429 itFormat != formats.end(); ++itFormat) { in main()
564 for (vector<string>::iterator it = formats.begin(); in main()
565 it != formats.end(); ++it) { in main()
591 for (vector<string>::iterator it = formats.begin(); in main()
[all …]
/frameworks/rs/rsov/compiler/tests/
Dlit.cfg14 import lit.formats
15 config.test_format = lit.formats.ShTest()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DConfigParsingUtils.cpp160 FormatVector formats; in loadHwModuleProfile() local
165 formats = formatsFromString(node->value); in loadHwModuleProfile()
191 if (formats.isEmpty()) { in loadHwModuleProfile()
198 for (size_t i = 0; i < formats.size(); i++) { in loadHwModuleProfile()
201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); in loadHwModuleProfile()
202 profileToAdd->setDynamicFormat(formats[i] == gDynamicFormat); in loadHwModuleProfile()
/frameworks/compile/slang/lit-tests/
Dlit.cfg12 import lit.formats
13 config.test_format = lit.formats.ShTest()
26 # target_triple: Used by ShTest and TclTest formats for XFAIL checks.
/frameworks/compile/libbcc/tests/libbcc/
Dlit.cfg15 import lit.formats
16 config.test_format = lit.formats.ShTest()
/frameworks/rs/script_api/
Drs_object_types.spec157 graphical data formats and represent vectors with per vector member sizes which are treated
181 texture formats.
195 Android YUV formats that can be associated with a RenderScript Type.
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_native_client_buffer.txt84 1. Should this extension define what particular AHardwareBuffer formats EGL
89 The set of valid formats is implementation-specific and may depend on
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp58 Vector<output_format> formats = sProfiles->getOutputFileFormats(); in android_media_MediaProfiles_native_get_file_format() local
59 int nSize = formats.size(); in android_media_MediaProfiles_native_get_file_format()
64 return static_cast<jint>(formats[index]); in android_media_MediaProfiles_native_get_file_format()
/frameworks/wilhelm/tests/sandbox/
Dconfigbq.c33 PCM formats[] = { variable
98 for (format = formats; format->numChannels; ++format) { in main()
/frameworks/rs/script_api/include/
Drs_object_types.rsh133 * graphical data formats and represent vectors with per vector member sizes which are treated
181 * texture formats.
202 * Android YUV formats that can be associated with a RenderScript Type.
/frameworks/native/vulkan/libvulkan/
Dswapchain.h30 …(VkPhysicalDevice pdev, VkSurfaceKHR surface_handle, uint32_t* count, VkSurfaceFormatKHR* formats);
/frameworks/av/camera/include/camera/
DCameraParameters.h109 void getSupportedPreviewFormats(Vector<int>& formats) const;
/frameworks/av/media/libmedia/
DTypeConverter.cpp358 const std::string &formats, const char *del) in formatsFromString() argument
361 FormatConverter::collectionFromString(formats, formatCollection, del); in formatsFromString()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1316 int[] formats; in checkStreamConfigurationMapByFormatSize() local
1322 formats = new int[] { HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED }; in checkStreamConfigurationMapByFormatSize()
1325 formats = configMap.getOutputFormats(); in checkStreamConfigurationMapByFormatSize()
1332 formats = configMap.getInputFormats(); in checkStreamConfigurationMapByFormatSize()
1337 assertArrayContains(format, formats); in checkStreamConfigurationMapByFormatSize()

12