Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java828 int[] formats = output ? getOutputFormats() : getInputFormats(); in checkArgumentFormatSupported() local
829 for (int i = 0; i < formats.length; ++i) { in checkArgumentFormatSupported()
830 if (format == formats[i]) { in checkArgumentFormatSupported()
951 static int[] imageFormatToPublic(int[] formats) { in imageFormatToPublic() argument
952 if (formats == null) { in imageFormatToPublic()
956 for (int i = 0; i < formats.length; ++i) { in imageFormatToPublic()
957 formats[i] = imageFormatToPublic(formats[i]); in imageFormatToPublic()
960 return formats; in imageFormatToPublic()
1012 public static int[] imageFormatToInternal(int[] formats) { in imageFormatToInternal() argument
1013 if (formats == null) { 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/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.java78 int[] formats, AudioGain[] gains) { in AudioPort() argument
83 mFormats = formats; in AudioPort()
120 public int[] formats() { in formats() method in AudioPort
DAudioMixPort.java30 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
31 super(handle, role, samplingRates, channelMasks, formats, gains); in AudioMixPort()
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()
DAudioDevicePort.java40 int[] formats, AudioGain[] gains, int type, String address) { in AudioDevicePort() argument
44 samplingRates, channelMasks, formats, gains); in AudioDevicePort()
/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/native/opengl/tests/hwc/
DhwcCommit.cpp237 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/base/docs/html/guide/topics/media/
Dexoplayer.jd60 to handle additional media formats, and because you include it as part of your app code,
63 <p>This guide describes how to use ExoPlayer for playing Android supported media formats, as well as
114 samples. They can handle all audio and video formats supported by a given Android device
115 (see <a href="http://developer.android.com/guide/appendix/media-formats.html">Supported Media
159 In order to render media formats supported by the Android framework, the {@code
162 supported by the version of Android where it is running. For more information about media formats
163 supported by Android, see <a href="{@docRoot}guide/appendix/media-formats.html">Supported
173 media formats supported by Android using {@code FrameworkSampleSource}
206 is requested, the client selects from a number of possible formats. For example, a client may
220 objects select from the available formats before each chunk is loaded. The {@code DataSource}
[all …]
Daudio-capture.jd24 <li><a href="{@docRoot}guide/appendix/media-formats.html">Android Supported Media Formats</a></li>
33 audio formats, so that you can easily integrate audio into your applications. You can record audio
/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.cpp296 jint* formats = env->GetIntArrayElements(array, 0); in getSupportedPlaybackFormats() local
299 list->push(formats[i]); in getSupportedPlaybackFormats()
300 env->ReleaseIntArrayElements(array, formats, 0); in getSupportedPlaybackFormats()
314 jint* formats = env->GetIntArrayElements(array, 0); in getSupportedCaptureFormats() local
317 list->push(formats[i]); in getSupportedCaptureFormats()
318 env->ReleaseIntArrayElements(array, formats, 0); in getSupportedCaptureFormats()
/frameworks/compile/slang/lit-tests/
Dlit.cfg12 config.test_format = lit.formats.ShTest()
25 # target_triple: Used by ShTest and TclTest formats for XFAIL checks.
/frameworks/wilhelm/tests/sandbox/
Dconfigbq.c33 PCM formats[] = { variable
98 for (format = formats; format->numChannels; ++format) { in main()
/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>
167 <li>If <em>any</em> of the texture formats listed in your APK are supported by the device on market,
172 instance, be <em>very</em> careful about using different GL formats in the same application. If you
174 would necessarily indicate support for both formats. A device that <em>only</em> supported ETC1
206 <p> Assuming that PowerVR and ATI formats are both preferred over ETC1 when available, than
/frameworks/base/docs/html/guide/appendix/
Dindex.jd5 <dt><a href="media-formats.html">Supported Android Media Formats</a></dt>
/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>
567 <p class="warning"><strong>Warning:</strong> These texture compression formats are <em>not
568 supported</em> on all devices. Support for these formats can vary by manufacturer and device. For
[all …]
/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>
/frameworks/base/docs/html/distribute/monetize/
Dads.jd59 <strong>Ad formats</strong> &mdash; Every app offers a different type of
60 experience for users, so it’s important that your ad formats match that
63 Mismatched ad formats can make users unhappy and leave money on the
/frameworks/av/include/camera/
DCameraParameters.h109 void getSupportedPreviewFormats(Vector<int>& formats) const;
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp273 Vector<int32_t> formats; in generateShimMetadata() local
277 shimParams.getSupportedPreviewFormats(/*out*/formats); in generateShimMetadata()
282 formats.add(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED); in generateShimMetadata()
287 size_t streamConfigSize = (sizes.size() * formats.size() + jpegSizes.size()) * INTS_PER_CONFIG; in generateShimMetadata()
292 for (size_t i = 0; i < formats.size(); ++i) { in generateShimMetadata()
294 streamConfigs.add(formats[i]); in generateShimMetadata()
/frameworks/base/docs/html/google/play/publishing/
Dmultiple-apks.jd83 <li>Support different OpenGL texture compression formats with each APK.</li>
204 <li><strong>OpenGL texture compression formats</strong>
336 supported texture compression formats), and thus, each APK will declare support for different
488 compression formats, be aware that many devices support multiple formats. Because a device
492 separate builds for your app using PVRTC, ATITC, and ETC1 compression formats. If you prefer these
493 formats in this exact order, then the APK that uses PVRTC should have the highest version code, the
522 either screen sizes or GL texture formats (not used in these examples), and the last three digits
529 maximum screen size (1 - 4 indicating each of the four sizes) or to denote the texture formats
534 demonstrate a solution for identifying different texture compression formats. One option might be
536 compression formats your application supports (for example, 1 might correspond to ETC1 and 2 is
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1312 int[] formats; in checkStreamConfigurationMapByFormatSize() local
1318 formats = new int[] { HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED }; in checkStreamConfigurationMapByFormatSize()
1321 formats = configMap.getOutputFormats(); in checkStreamConfigurationMapByFormatSize()
1328 formats = configMap.getInputFormats(); in checkStreamConfigurationMapByFormatSize()
1333 assertArrayContains(format, formats); in checkStreamConfigurationMapByFormatSize()
/frameworks/base/core/java/android/hardware/
DCamera.java2946 ArrayList<Integer> formats = new ArrayList<Integer>(); in getSupportedPreviewFormats() local
2950 formats.add(f); in getSupportedPreviewFormats()
2952 return formats; in getSupportedPreviewFormats()
3031 ArrayList<Integer> formats = new ArrayList<Integer>(); in getSupportedPictureFormats() local
3035 formats.add(f); in getSupportedPictureFormats()
3037 return formats; in getSupportedPictureFormats()

1234