Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java1342 static int[] imageFormatToPublic(int[] formats) { in imageFormatToPublic() argument
1343 if (formats == null) { in imageFormatToPublic()
1347 for (int i = 0; i < formats.length; ++i) { in imageFormatToPublic()
1348 formats[i] = imageFormatToPublic(formats[i]); in imageFormatToPublic()
1351 return formats; in imageFormatToPublic()
1459 public static int[] imageFormatToInternal(int[] formats) { in imageFormatToInternal() argument
1460 if (formats == null) { in imageFormatToInternal()
1464 for (int i = 0; i < formats.length; ++i) { in imageFormatToInternal()
1465 formats[i] = imageFormatToInternal(formats[i]); in imageFormatToInternal()
1468 return formats; in imageFormatToInternal()
[all …]
/frameworks/native/vulkan/vkjson/
Dvkjson_unittest.cc63 device.formats.insert(std::make_pair(VK_FORMAT_R8_UNORM, format_props)); in main()
64 device.formats.insert(std::make_pair(VK_FORMAT_R8G8_UNORM, format_props)); in main()
78 for (auto& kv : device.formats) { in main()
79 auto it = device2.formats.find(kv.first); in main()
80 EXPECT(it != device2.formats.end()); in main()
Dvkjson.h119 std::map<VkFormat, VkFormatProperties> formats; member
Dvkjson_instance.cc175 device.formats.insert(std::make_pair(format, format_properties)); in VkJsonGetDevice()
188 device.formats.insert(std::make_pair(format, format_properties)); in VkJsonGetDevice()
/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp105 std::vector<audio_format_t> formats; in main() local
152 formats.resize(argc); in main()
168 formats[i] = AUDIO_FORMAT_PCM_FLOAT; in main()
171 formats[i] = AUDIO_FORMAT_PCM_16_BIT; in main()
186 formats[i] = AUDIO_FORMAT_PCM_FLOAT; in main()
189 formats[i] = AUDIO_FORMAT_PCM_16_BIT; in main()
199 formats[i] = AUDIO_FORMAT_PCM_FLOAT; in main()
202 formats[i] = AUDIO_FORMAT_PCM_16_BIT; in main()
247 name, channelMask, formats[i], AUDIO_SESSION_OUTPUT_MIX); in main()
262 (void *)(uintptr_t)formats[i]); in main()
/frameworks/base/media/java/android/media/
DAudioPort.java88 int[] formats, AudioGain[] gains) { in AudioPort() argument
96 mFormats = formats; in AudioPort()
160 public int[] formats() { in formats() method in AudioPort
DEncoderCapabilities.java126 int[] formats = new int[nFormats]; in getOutputFileFormats() local
128 formats[i] = native_get_file_format(i); in getOutputFileFormats()
130 return formats; in getOutputFileFormats()
DAudioMixPort.java38 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
40 formats, gains); in AudioMixPort()
DAudioDevicePort.java47 int[] formats, AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort() argument
52 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioFormat.java660 public static int[] filterPublicFormats(int[] formats) { in filterPublicFormats() argument
661 if (formats == null) { in filterPublicFormats()
664 int[] myCopy = Arrays.copyOf(formats, formats.length); in filterPublicFormats()
/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp121 aaudio_format_t formats[] = {AAUDIO_FORMAT_UNSPECIFIED, in TEST() local
138 for (uint i = 0; i < arraysize(formats); i++) { in TEST()
139 testOpenOptions(direction, AAUDIO_UNSPECIFIED, AAUDIO_UNSPECIFIED, formats[i]); in TEST()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp238 static vector<string> formats; variable
397 formats.push_back(hwcTestGraphicFormat[n1].desc); in main()
403 formats.push_back(argv[optind]); in main()
409 for (vector<string>::iterator it = formats.begin(); in main()
410 it != formats.end(); ++it) { in main()
430 for (vector<string>::iterator itFormat = formats.begin(); in main()
431 itFormat != formats.end(); ++itFormat) { in main()
566 for (vector<string>::iterator it = formats.begin(); in main()
567 it != formats.end(); ++it) { in main()
593 for (vector<string>::iterator it = formats.begin(); in main()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp131 FormatVector formats; in addDynamicAudioProfileAndSort() local
132 formats.push_back(profileToAdd->getFormat()); in addDynamicAudioProfileAndSort()
133 addProfilesForFormats(audioProfileVector, FormatVector(formats)); in addDynamicAudioProfileAndSort()
407 auto formats = intersectFilterAndOrder(audioProfileVector.getSupportedFormats(), in findBestMatchingOutputConfig() local
410 for (const auto& f : formats) { in findBestMatchingOutputConfig()
/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()
Dandroid_mtp_MtpDatabase.cpp312 jint* formats = env->GetIntArrayElements(array, 0); in getSupportedPlaybackFormats() local
315 list->push_back(formats[i]); in getSupportedPlaybackFormats()
316 env->ReleaseIntArrayElements(array, formats, 0); in getSupportedPlaybackFormats()
330 jint* formats = env->GetIntArrayElements(array, 0); in getSupportedCaptureFormats() local
333 list->push_back(formats[i]); in getSupportedCaptureFormats()
334 env->ReleaseIntArrayElements(array, formats, 0); in getSupportedCaptureFormats()
/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/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()
/frameworks/base/wifi/java/android/net/wifi/migration_samples/
DREADME.txt3 formats into the AOSP format. The conversion logic needs to be written in

123