Searched refs:formats (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/av/services/audiopolicy/
H A Daudio_policy.conf36 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
76 # formats AUDIO_FORMAT_PCM_16_BIT
109 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/media/java/android/media/
H A DAudioMixPort.java35 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 DAudioPort.java81 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 DEncoderCapabilities.java108 * Returns the array of supported output file formats.
115 int[] formats = new int[nFormats];
117 formats[i] = native_get_file_format(i);
119 return formats;
H A DAudioDevicePort.java41 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 DAudioFormat.java631 public static int[] filterPublicFormats(int[] formats) { argument
632 if (formats == null) {
635 int[] myCopy = Arrays.copyOf(formats, formats.length);
/frameworks/native/vulkan/vkjson/
H A Dvkjson_unittest.cc63 device.formats.insert(std::make_pair(VK_FORMAT_R8_UNORM, format_props));
64 device.formats.insert(std::make_pair(VK_FORMAT_R8G8_UNORM, format_props));
78 for (auto& kv : device.formats) {
79 auto it = device2.formats.find(kv.first);
80 EXPECT(it != device2.formats.end());
H A Dvkjson.h89 std::map<VkFormat, VkFormatProperties> formats; member in struct:VkJsonDevice
H A Dvkjson_instance.cc142 device.formats.insert(std::make_pair(format, format_properties));
155 device.formats.insert(std::make_pair(format, format_properties));
/frameworks/av/media/libaudioprocessing/tests/
H A Dtest-mixer.cpp105 std::vector<audio_format_t> formats; local
152 formats.resize(argc);
168 formats[i] = AUDIO_FORMAT_PCM_FLOAT;
171 formats[i] = AUDIO_FORMAT_PCM_16_BIT;
186 formats[i] = AUDIO_FORMAT_PCM_FLOAT;
189 formats[i] = AUDIO_FORMAT_PCM_16_BIT;
199 formats[i] = AUDIO_FORMAT_PCM_FLOAT;
202 formats[i] = AUDIO_FORMAT_PCM_16_BIT;
247 name, channelMask, formats[i], AUDIO_SESSION_OUTPUT_MIX);
262 (void *)(uintptr_t)formats[
[all...]
/frameworks/av/media/libaaudio/tests/
H A Dtest_open_params.cpp121 aaudio_format_t formats[] = {AAUDIO_FORMAT_UNSPECIFIED, local
138 for (uint i = 0; i < arraysize(formats); i++) {
139 testOpenOptions(direction, AAUDIO_UNSPECIFIED, AAUDIO_UNSPECIFIED, formats[i]);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java49 * <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}
431 * <p>Some of the supported classes may support additional formats beyond
467 * <p>The {@code format} should be a supported format (one of the formats returned by
474 * 20fps rate. This means that for some supported formats, thi
1137 imageFormatToPublic(int[] formats) argument
1244 imageFormatToInternal(int[] formats) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dstate.cpp371 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/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioProfile.h160 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],
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp160 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/native/opengl/tests/hwc/
H A DhwcCommit.cpp27 * 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/rs/script_api/
H A 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/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp58 Vector<output_format> formats = sProfiles->getOutputFileFormats(); local
59 int nSize = formats.size();
64 return static_cast<jint>(formats[index]);
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.h30 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface_handle, uint32_t* count, VkSurfaceFormatKHR* formats);
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c33 PCM formats[] = { variable
94 // loop over all formats
98 for (format = formats; format->numChannels; ++format) {
/frameworks/av/camera/include/camera/
H A DCameraParameters.h106 * Returns a Vector containing the supported preview formats
109 void getSupportedPreviewFormats(Vector<int>& formats) const;
143 // Supported image formats for preview frames.
163 // Supported image formats for captured pictures.
614 // Pixel color formats for KEY_PREVIEW_FORMAT, KEY_PICTURE_FORMAT,
687 * Returns the the supported preview formats as an enum given in graphics.h
/frameworks/av/include/camera/
H A DCameraParameters.h106 * Returns a Vector containing the supported preview formats
109 void getSupportedPreviewFormats(Vector<int>& formats) const;
143 // Supported image formats for preview frames.
163 // Supported image formats for captured pictures.
614 // Pixel color formats for KEY_PREVIEW_FORMAT, KEY_PICTURE_FORMAT,
687 * Returns the the supported preview formats as an enum given in graphics.h
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp64 // Array of all surround formats.
74 // Array of all AAC formats. When AAC is enabled by users, all AAC formats should be enabled.
3534 FormatVector& formats) {
3541 ALOGV("%s: supported formats %s", __FUNCTION__, reply.string());
3549 // Only AUDIO_FORMAT_AAC_LC will be used in Settings UI for all AAC formats.
3557 for (size_t i = 0; i < formats.size(); i++) {
3558 if (format == formats[i]) {
3571 formats.add(format);
3597 FormatVector formats; local
3533 getSupportedFormats(audio_io_handle_t ioHandle, FormatVector& formats) argument
5938 FormatVector &formats = *formatsPtr; local
6107 FormatVector formats = formatsFromString(reply.string()); local
[all...]
/frameworks/av/camera/
H A DCameraParameters.cpp487 void CameraParameters::getSupportedPreviewFormats(Vector<int>& formats) const {
492 ALOGW("%s: No supported preview formats.", __FUNCTION__);
504 formats.add(actual);
/frameworks/av/media/libmedia/
H A DTypeConverter.cpp393 const std::string &formats, const char *del)
396 FormatConverter::collectionFromString(formats, formatCollection, del);
392 formatsFromString( const std::string &formats, const char *del) argument

Completed in 383 milliseconds

12