Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java1402 static int[] imageFormatToPublic(int[] formats) { in imageFormatToPublic() argument
1403 if (formats == null) { in imageFormatToPublic()
1407 for (int i = 0; i < formats.length; ++i) { in imageFormatToPublic()
1408 formats[i] = imageFormatToPublic(formats[i]); in imageFormatToPublic()
1411 return formats; in imageFormatToPublic()
1539 public static int[] imageFormatToInternal(int[] formats) { in imageFormatToInternal() argument
1540 if (formats == null) { in imageFormatToInternal()
1544 for (int i = 0; i < formats.length; ++i) { in imageFormatToInternal()
1545 formats[i] = imageFormatToInternal(formats[i]); in imageFormatToInternal()
1548 return formats; in imageFormatToInternal()
[all …]
DMultiResolutionStreamConfigurationMap.java182 int[] formats = new int[formatCount]; in getPublicImageFormats() local
185 formats[i++] = StreamConfigurationMap.imageFormatToPublic(format); in getPublicImageFormats()
188 return formats; in getPublicImageFormats()
244 int[] formats = getPublicImageFormats(output); in appendConfigurationsString() local
245 if (formats != null) { in appendConfigurationsString()
246 for (int format : formats) { in appendConfigurationsString()
/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()
248 name, channelMask, formats[i], AUDIO_SESSION_OUTPUT_MIX); in main()
263 (void *)(uintptr_t)formats[i]); in main()
/frameworks/base/media/java/android/media/
DAudioPort.java98 int[] formats, AudioGain[] gains) { in AudioPort() argument
105 mFormats = formats; in AudioPort()
127 Set<Integer> formats = new HashSet<>(); in AudioPort() local
132 formats.add(profile.getFormat()); in AudioPort()
143 mFormats = formats.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
206 public int[] formats() { in formats() method in AudioPort
DEncoderCapabilities.java127 int[] formats = new int[nFormats]; in getOutputFileFormats() local
129 formats[i] = native_get_file_format(i); in getOutputFileFormats()
131 return formats; in getOutputFileFormats()
DAudioMixPort.java41 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
43 formats, gains); in AudioMixPort()
DAudioDevicePort.java71 int[] formats, AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort() argument
76 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioFormat.java975 public static int[] filterPublicFormats(int[] formats) { in filterPublicFormats() argument
976 if (formats == null) { in filterPublicFormats()
979 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/av/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h200 std::string formats; in getParameters() local
202 if (!formats.empty()) formats += AUDIO_PARAMETER_VALUE_LIST_SEPARATOR; in getParameters()
203 formats += audio_format_to_string(f); in getParameters()
207 String8(formats.c_str())); in getParameters()
/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/
DIOProfile.cpp208 std::set<audio_format_t> formats; in importAudioPort() local
210 formats.insert(port.audio_profiles[i].format); in importAudioPort()
212 addProfilesForFormats(mProfiles, FormatVector(formats.begin(), formats.end())); in importAudioPort()
DAudioProfileVectorHelper.cpp141 FormatVector formats; in addDynamicAudioProfileAndSort() local
142 formats.push_back(profileToAdd->getFormat()); in addDynamicAudioProfileAndSort()
143 addProfilesForFormats(audioProfileVector, FormatVector(formats)); in addDynamicAudioProfileAndSort()
453 auto formats = intersectFilterAndOrder(audioProfileVector.getSupportedFormats(), in findBestMatchingOutputConfig() local
456 for (const auto& f : formats) { in findBestMatchingOutputConfig()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecBase.java137 static ArrayList<String> selectCodecs(String mime, ArrayList<MediaFormat> formats, in selectCodecs() argument
157 if (formats != null) { in selectCodecs()
158 for (MediaFormat format : formats) { in selectCodecs()
/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/av/media/libmediahelper/
DTypeConverter.cpp85 const std::string &formats, const char *del) in formatsFromString() argument
88 FormatConverter::collectionFromString(formats, formatCollection, del); in formatsFromString()
/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/wilhelm/tests/sandbox/
Dconfigbq.c33 PCM formats[] = { variable
98 for (format = formats; format->numChannels; ++format) { in main()
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidService.java135 protected Map<Integer, List<Size>> filterOutputResolutions(List<Integer> formats) { in filterOutputResolutions() argument
142 for (Integer format : formats) { in filterOutputResolutions()
351 protected Map<Integer, List<Size>> filterOutputResolutions(List<Integer> formats) { in filterOutputResolutions() argument
/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/av/media/libstagefright/tests/fuzzers/
DAndroid.bp93 dictionary: "dictionaries/formats.dict",
/frameworks/av/camera/tests/fuzzer/
Dcamera_Parameters_fuzzer.cpp203 Vector<int32_t> formats; in callCameraParametersAPIs() local
204 mCameraParameters->getSupportedPreviewFormats(formats); in callCameraParametersAPIs()
/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.

123