Home
last modified time | relevance | path

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

123

/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.h108 std::map<VkFormat, VkFormatProperties> formats; member
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java1345 static int[] imageFormatToPublic(int[] formats) { in imageFormatToPublic() argument
1346 if (formats == null) { in imageFormatToPublic()
1350 for (int i = 0; i < formats.length; ++i) { in imageFormatToPublic()
1351 formats[i] = imageFormatToPublic(formats[i]); in imageFormatToPublic()
1354 return formats; in imageFormatToPublic()
1462 public static int[] imageFormatToInternal(int[] formats) { in imageFormatToInternal() argument
1463 if (formats == null) { in imageFormatToInternal()
1467 for (int i = 0; i < formats.length; ++i) { in imageFormatToInternal()
1468 formats[i] = imageFormatToInternal(formats[i]); in imageFormatToInternal()
1471 return formats; in imageFormatToInternal()
[all …]
/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/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.java88 int[] formats, AudioGain[] gains) { in AudioPort() argument
96 mFormats = formats; in AudioPort()
160 public int[] formats() { in formats() method in AudioPort
DEncoderCapabilities.java125 int[] formats = new int[nFormats]; in getOutputFileFormats() local
127 formats[i] = native_get_file_format(i); in getOutputFileFormats()
129 return formats; in getOutputFileFormats()
DAudioMixPort.java38 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
40 formats, gains); in AudioMixPort()
DAudioDevicePort.java43 int[] formats, AudioGain[] gains, int type, String address) { in AudioDevicePort() argument
47 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioFormat.java652 public static int[] filterPublicFormats(int[] formats) { in filterPublicFormats() argument
653 if (formats == null) { in filterPublicFormats()
656 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/rs/rsov/compiler/tests/
Dlit.cfg14 import lit.formats
15 config.test_format = lit.formats.ShTest()
/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/
DAudioProfile.cpp312 FormatVector formats; in addProfileFromHal() local
313 formats.add(profileToAdd->getFormat()); in addProfileFromHal()
314 setFormats(FormatVector(formats)); in addProfileFromHal()
443 auto formats = intersectFilterAndOrder(getSupportedFormats(), in findBestMatchingOutputConfig() local
446 for (const auto& f : formats) { in findBestMatchingOutputConfig()
538 void AudioProfileVector::setFormats(const FormatVector &formats) in setFormats() argument
545 for (size_t i = 0; i < formats.size(); i++) { in setFormats()
546 sp<AudioProfile> profile = new AudioProfile(formats[i], in setFormats()
/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/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBWireFormatTests.m72 // TestAllTypes and TestAllExtensions should have compatible wire formats,
89 // formats; check that they serialize to the same string.
103 // TestAllTypes and TestAllExtensions should have compatible wire formats,
/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()

123