Searched refs:formats (Results 1 - 25 of 38) 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.java559 public static int[] filterPublicFormats(int[] formats) { argument
560 if (formats == null) {
563 int[] myCopy = Arrays.copyOf(formats, formats.length);
H A DAudioDeviceInfo.java242 return AudioFormat.filterPublicFormats(mPort.formats());
/frameworks/av/media/libaudioprocessing/tests/
H A Dtest-mixer.cpp105 std::vector<audio_format_t> formats; local
156 formats.resize(argc);
172 formats[i] = AUDIO_FORMAT_PCM_FLOAT;
175 formats[i] = AUDIO_FORMAT_PCM_16_BIT;
190 formats[i] = AUDIO_FORMAT_PCM_FLOAT;
193 formats[i] = AUDIO_FORMAT_PCM_16_BIT;
203 formats[i] = AUDIO_FORMAT_PCM_FLOAT;
206 formats[i] = AUDIO_FORMAT_PCM_16_BIT;
250 formats[i], AUDIO_SESSION_OUTPUT_MIX);
265 (void *)(uintptr_t)formats[
[all...]
/frameworks/av/media/libaaudio/tests/
H A Dtest_open_params.cpp137 aaudio_format_t formats[] = {AAUDIO_FORMAT_UNSPECIFIED, local
154 for (uint i = 0; i < arraysize(formats); i++) {
155 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
1135 imageFormatToPublic(int[] formats) argument
1239 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...]
H A Dmipmap.cpp34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
/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/base/core/java/android/hardware/
H A DCamera.java865 * <p>For formats besides YV12, the size of the buffer is determined by
2896 * the available preview formats.
2957 * Gets the supported preview formats. {@link android.graphics.ImageFormat#NV21}
2961 * @return a list of supported preview formats. This method will always
2968 ArrayList<Integer> formats = new ArrayList<Integer>();
2972 formats.add(f);
2974 return formats;
3045 * Gets the supported picture formats.
3047 * @return supported picture formats. This method will always return a
3053 ArrayList<Integer> formats
[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.cpp358 const std::string &formats, const char *del)
361 FormatConverter::collectionFromString(formats, formatCollection, del);
357 formatsFromString( const std::string &formats, const char *del) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java1108 * and is converting the internal formats to public formats properly.
1316 int[] formats;
1322 formats = new int[] { HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED };
1325 formats = configMap.getOutputFormats();
1332 formats = configMap.getInputFormats();
1337 assertArrayContains(format, formats);

Completed in 434 milliseconds

12