Searched refs:format (Results 151 - 175 of 1129) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp68 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
69 def.format.audio.pNativeRender = NULL;
70 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
71 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
86 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
87 def.format.audio.pNativeRender = NULL;
88 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
89 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h41 void *platformPrivate, const sp<AMessage> &format);
62 void resetFormatIfChanged(const sp<AMessage> &format);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableStreamConfiguration.java32 * <p>Data is stored as {@code (format, width, height, input?)} tuples (int32).</p>
54 int format = buffer.getInt();
59 return new StreamConfiguration(format, width, height, input);
H A DMarshalQueryableStreamConfigurationDuration.java32 * Data is stored as {@code (format, width, height, durationNs)} tuples (int64).
63 int format = (int)buffer.getLong();
68 return new StreamConfigurationDuration(format, width, height, durationNs);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfiguration.java37 * for that format) that are supported by a camera device.</p>
48 * @param format image format
55 * or if the format was not user-defined in ImageFormat/PixelFormat
61 final int format, final int width, final int height, final boolean input) {
62 mFormat = checkArgumentFormatInternal(format);
69 * Get the internal image {@code format} in this stream configuration.
71 * @return an integer format
60 StreamConfiguration( final int format, final int width, final int height, final boolean input) argument
H A DStreamConfigurationDuration.java29 * Immutable class to store a time duration for any given format/size combination.
42 * @param format image format
49 * or if the format was not user-defined in ImageFormat/PixelFormat
56 final int format, final int width, final int height, final long durationNs) {
57 mFormat = checkArgumentFormatInternal(format);
64 * Get the internal image {@code format} in this stream configuration duration
66 * @return an integer format
55 StreamConfigurationDuration( final int format, final int width, final int height, final long durationNs) argument
/frameworks/base/core/java/android/util/
H A DDebugUtils.java155 value = String.format("%.2f", result);
157 value = String.format("%.1f", result);
159 value = String.format("%.0f", result);
161 value = String.format("%.0f", result);
196 value = String.format("%.2f", result);
198 value = String.format("%.1f", result);
200 value = String.format("%.0f", result);
202 value = String.format("%.0f", result);
/frameworks/base/core/java/android/widget/
H A DDigitalClock.java24 import android.text.format.DateFormat;
84 setText(DateFormat.format(mFormat, mCalendar));
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java58 * Get the device address. Address format varies with the device type.
76 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, argument
78 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
H A DMediaMuxer.java77 * Defines the output format. These constants are used with constructor.
84 /** MPEG4 media file format*/
98 private static native long nativeSetup(@NonNull FileDescriptor fd, int format); argument
128 * @param format The format of the output media file.
132 public MediaMuxer(@NonNull String path, @Format int format) throws IOException { argument
136 if (format != OutputFormat.MUXER_OUTPUT_MPEG_4 &&
137 format != OutputFormat.MUXER_OUTPUT_WEBM) {
138 throw new IllegalArgumentException("format is invalid");
146 mNativeObject = nativeSetup(fd, format);
268 addTrack(@onNull MediaFormat format) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrameManager.java31 public abstract Frame newFrame(FrameFormat format); argument
33 public abstract Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId); argument
H A DFrameFormat.java180 FrameFormat format = (FrameFormat)object;
181 return format.mBaseType == mBaseType &&
182 format.mTarget == mTarget &&
183 format.mBytesPerSample == mBytesPerSample &&
184 Arrays.equals(format.mDimensions, mDimensions) &&
185 format.mMetaData.equals(mMetaData);
434 boolean isReplaceableBy(FrameFormat format) { argument
435 return mTarget == format.mTarget
436 && getSize() == format.getSize()
437 && Arrays.equals(format
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDrawOverlayFilter.java26 import android.filterfw.format.ImageFormat;
27 import android.filterfw.format.ObjectFormat;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTest.java177 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
179 Log.v(TAG, String.format("Camera %s connected", cameraId));
202 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
204 Log.v(TAG, String.format("Camera %s connected as HAL1 legacy device", cameraId));
292 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
294 Log.v(TAG, String.format("Camera %s connected", cameraId));
304 Log.v(TAG, String.format("Camera %d has status changed to 0x%x", cameraId, status));
308 Log.v(TAG, String.format("Camera %s has torch status changed to 0x%x",
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
54 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DSimpleAppView.java39 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
40 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DAlarmImpl.java56 Log.d(LOG_TAG, String.format("Alarm set: %d, giving up wake lock", atTime));
67 Log.d(LOG_TAG, String.format("Alarm triggered, done waiting"));
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h64 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
77 PixelFormat format; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp51 format =
64 format =
80 format = inFormat;
93 format = buffer->format;
143 inFormat == format &&
160 if (inFormat != format) return true;
175 format = inFormat;
300 buf[4] = format;
343 width = height = stride = format
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.cpp64 void NuPlayer::DecoderBase::configure(const sp<AMessage> &format) { argument
66 msg->setMessage("format", format);
127 sp<AMessage> format; local
128 CHECK(msg->findMessage("format", &format));
129 onConfigure(format);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp33 uint32_t width, uint32_t height, size_t maxSize, int format,
36 width, height, maxSize, format, dataSpace, rotation),
45 if (maxSize > 0 && format != HAL_PIXEL_FORMAT_BLOB) {
46 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
47 format);
76 lines.appendFormat(" Dims: %d x %d, format 0x%x, dataspace 0x%x\n",
78 camera3_stream::format, camera3_stream::data_space);
32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java29 import android.text.format.DateFormat;
155 String format = is24 ? d.timeFormat_Hm : d.timeFormat_hm;
156 if (!format.equals(mClockFormatString)) {
158 * Search for an unquoted "a" in the format string, so we can
165 for (int i = 0; i < format.length(); i++) {
166 char c = format.charAt(i);
180 while (a > 0 && Character.isWhitespace(format.charAt(a-1))) {
183 format = format.substring(0, a) + MAGIC1 + format
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceInfo.java87 * @param txtMap TXT record with key/value pair in a map confirming to format defined at
130 sb.append(String.format(Locale.US, "%02x", data.length));
180 * The request format is as follows.
190 sb.append(String.format(Locale.US, "%04x", dnsType));
191 sb.append(String.format(Locale.US, "%02x", version));
218 sb.append(String.format(Locale.US, "%02x", dnsName.length()));
228 sb.append(String.format(Locale.US, "%02x", name.length()));
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java72 // cached property groups for all properties for a given format
323 private int beginSendObject(String path, int format, int parent, argument
355 values.put(Files.FileColumns.FORMAT, format);
374 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument
378 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) {
393 values.put(Files.FileColumns.FORMAT, format);
403 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format);
410 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { argument
416 if (format == 0) {
431 // query specific format
510 getObjectList(int storageID, int format, int parent) argument
536 getNumObjects(int storageID, int format, int parent) argument
676 getSupportedObjectProperties(int format) argument
708 getObjectPropertyList(long handle, int format, long property, int groupCode, int depth) argument
[all...]
/frameworks/av/services/audioflinger/
H A DBufferProviders.cpp22 #include <audio_utils/format.h>
139 audio_channel_mask_t outputChannelMask, audio_format_t format,
142 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask),
143 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(outputChannelMask),
147 this, inputChannelMask, outputChannelMask, format,
161 mDownmixConfig.inputCfg.format = format;
162 mDownmixConfig.outputCfg.format = format;
279 audio_channel_mask_t outputChannelMask, audio_format_t format,
137 DownmixerBufferProvider( audio_channel_mask_t inputChannelMask, audio_channel_mask_t outputChannelMask, audio_format_t format, uint32_t sampleRate, int32_t sessionId, size_t bufferFrameCount) argument
278 RemixBufferProvider(audio_channel_mask_t inputChannelMask, audio_channel_mask_t outputChannelMask, audio_format_t format, size_t bufferFrameCount) argument
325 TimestretchBufferProvider(int32_t channelCount, audio_format_t format, uint32_t sampleRate, const AudioPlaybackRate &playbackRate) argument
[all...]

Completed in 4249 milliseconds

1234567891011>>