Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java1141 static int[] imageFormatToPublic(int[] formats) { in imageFormatToPublic() argument
1142 if (formats == null) { in imageFormatToPublic()
1146 for (int i = 0; i < formats.length; ++i) { in imageFormatToPublic()
1147 formats[i] = imageFormatToPublic(formats[i]); in imageFormatToPublic()
1150 return formats; in imageFormatToPublic()
1245 public static int[] imageFormatToInternal(int[] formats) { in imageFormatToInternal() argument
1246 if (formats == null) { in imageFormatToInternal()
1250 for (int i = 0; i < formats.length; ++i) { in imageFormatToInternal()
1251 formats[i] = imageFormatToInternal(formats[i]); in imageFormatToInternal()
1254 return formats; in imageFormatToInternal()
[all …]
/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/av/services/audioflinger/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/docs/html/guide/topics/manifest/
Dsupports-gl-texture-element.jd11 to the texture compression formats that they support, to ensure that
49 texture compression formats, you can declare multiple
61 you declare all of the texture compression formats (from the list below) that
65 compression formats using the same set of well-known strings, as listed below.
67 are strings, applications are free to declare other formats as needed.</p>
158 <li>Texture compression formats that are supported by the application &mdash;
159 an application declares its supported texture compression formats in
161 <li>Texture compression formats that are supported by the GPU on the device &mdash;
162 a device reports the formats it supports as read-only system properties.</li>
173 the service compares the texture compression formats supported by the application
[all …]
/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()
DTypeConverter.h144 static FormatTraits::Collection formatsFromString(const std::string &formats, const char *del = "|")
147 FormatConverter::collectionFromString(formats, formatCollection, del);
/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/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.cfg14 import lit.formats
15 config.test_format = lit.formats.ShTest()
/frameworks/rs/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/base/docs/html/topic/performance/power/network/
Daction-any-traffic.jd48 language-flexibility, they are bandwidth-heavy formats, with
49 high serialization costs in the Android platform. Binary serialization formats,
53 of serialized data on a regular basis, these formats can yield benefits for decoding time and
/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/base/docs/html/training/multiple-apks/
Dtexture.jd43 …e APKs of your app, each supporting a different subset of OpenGL texture formats. You will also g…
56 formats at runtime</a>. Depending on your situation, it might be easier to bundle all formats with
80 particular texture formats. Note that it’s generally a good idea for one of your APKs to support
85 order of preference. Create a chart including all the formats that your application is going to
102 "red", instead of "The one that supports ETC1 texture formats", etc.</p>
160 <li>If <em>any</em> of the texture formats listed in your APK are supported by the device on market,
165 instance, be <em>very</em> careful about using different GL formats in the same application. If you
167 would necessarily indicate support for both formats. A device that <em>only</em> supported ETC1
199 <p> Assuming that PowerVR and ATI formats are both preferred over ETC1 when available, than
/frameworks/wilhelm/tests/sandbox/
Dconfigbq.c33 PCM formats[] = { variable
98 for (format = formats; format->numChannels; ++format) { in main()
/frameworks/base/docs/html/guide/topics/graphics/
Dopengl.jd243 compression formats, you must declare the formats your application supports in your manifest file
246 formats, see <a href="#textures">Texture compression support</a>.
516 investigate other texture compression formats available on your target devices.</p>
518 <p>The ETC2/EAC texture compression formats are guaranteed to be available when using the OpenGL ES
522 <p>Beyond the ETC formats, Android devices have varied support for texture compression based on
525 support. In order to determine what texture formats are supported on a given device, you must <a
527 which identify what texture compression formats (and other OpenGL features) are supported by the
528 device. Some commonly supported texture compression formats are as follows:</p>
548 4-bit alpha or 8-bit alpha channels. These formats are represented by the following OpenGL extension
568 <p class="warning"><strong>Warning:</strong> These texture compression formats are <em>not
[all …]
/frameworks/base/docs/html/guide/appendix/
Dindex.jd5 <dt><a href="media-formats.html">Supported Android Media Formats</a></dt>
/frameworks/native/vulkan/libvulkan/
Dswapchain.h30 …matsKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkSurfaceFormatKHR* formats);
/frameworks/base/docs/html/distribute/tools/promote/
Dlinking.jd19 <p>Google Play provides several link formats that let you bring users to your
23 <p>The link formats let you:</p>
165 <p>There are two general formats for links that are accessible to users on
166 Android devices, The two formats trigger slightly different behaviors on the
191 <h2 id="UriSummary">Summary of URL formats</h2>

1234