Searched refs:format (Results 251 - 275 of 1036) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp27 const NBAIO_Format& format) :
28 NBAIO_Source(format), mProvider(provider), mConsumed(0)
31 ALOG_ASSERT(Format_isValid(format));
26 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format) argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DTracer.java72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message);
176 log(String.format("%s (%s)", caller, join(", ", arguments)));
281 return String.format("%s.%s from %s() at %s:%d", shortClassName, caller.getMethodName(),
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java130 public void setFormat(int format) { argument
131 if (mRequestedFormat != format) {
132 mRequestedFormat = format;
/frameworks/base/media/java/android/media/
H A DAudioTrack.java296 * @param audioFormat the format in which the audio data is represented.
340 * @param audioFormat the format in which the audio data is represented.
374 * @param format a non-null {@link AudioFormat} instance describing the format of the data
376 * configuring the audio format parameters such as encoding, channel mask and sample rate.
391 public AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, argument
399 if (format == null) {
410 if ((format.getPropertySetMask() & AudioFormat.AUDIO_FORMAT_HAS_PROPERTY_SAMPLE_RATE) != 0)
412 rate = format.getSampleRate();
420 if ((format
1651 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format, boolean isBlocking) argument
1655 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument
1658 native_write_float(float[] audioData, int offsetInFloats, int sizeInFloats, int format, boolean isBlocking) argument
1662 native_write_native_bytes(Object audioData, int positionInBytes, int sizeInBytes, int format, boolean blocking) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h51 const sp<AMessage> &format,
91 status_t getFormat(JNIEnv *env, bool input, jobject *format) const;
93 status_t getOutputFormat(JNIEnv *env, size_t index, jobject *format) const;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java36 NativeFrame(FrameFormat format, FrameManager frameManager) { argument
37 super(format, frameManager);
38 int capacity = format.getSize();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DRedEyeFilter.java26 import android.filterfw.format.ImageFormat;
167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight,
170 mRedEyeFrame = context.getFrameManager().newFrame(format);
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java31 import android.text.format.DateUtils;
112 if (DEBUG) Slog.d(TAG, String.format(
149 return String.format("Scheduled for %s, %s in the future (%s), now=%s",
H A DNotificationRecord.java113 pw.println(prefix + String.format(" defaults=0x%08x flags=0x%08x",
118 pw.println(prefix + String.format(" color=0x%08x", notification.color));
120 pw.println(prefix + String.format(" led=0x%08x onMs=%d offMs=%d",
127 pw.println(String.format("%s [%d] \"%s\" -> %s",
148 pw.print(String.format(" (%dx%d)",
196 return String.format(
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp28 // format - format this diagnostic into string, subsituting the formal
30 void Diagnostic::format(std::string& pOutStr) const function in class:Diagnostic
35 format(desc.begin(), desc.end(), pOutStr);
68 // format - format the given formal string, subsituting the formal
70 void Diagnostic::format(const char* pBegin, const char* pEnd, function in class:Diagnostic
106 // DIAG's format error
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h39 uint32_t format; member in struct:hwcTestGraphicFormat
110 const char *hwcTestGraphicFormat2str(uint32_t format);
119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h103 uint32_t w, uint32_t h, uint32_t format, uint32_t usage);
117 uint32_t format, uint32_t usage);
123 status_t dequeueBuffer(Source source, uint32_t format, uint32_t usage,
151 // To avoid buffer reallocations, we track the buffer usage and format
154 // different usage/format, we'll get a new buffer.
/frameworks/av/include/media/
H A DAudioSystem.h119 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
171 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0)
175 audio_format_t format; member in class:android::AudioSystem::OutputDescriptor
215 audio_format_t format = AUDIO_FORMAT_DEFAULT,
224 audio_format_t format = AUDIO_FORMAT_DEFAULT,
244 audio_format_t format,
288 // Check if hw offload is possible for given format, stream type, sample rate,
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp362 def->format.video.nStride = align(def->format.video.nStride, 16);
363 def->format.video.nSliceHeight = align(def->format.video.nSliceHeight, 16);
364 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2;
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp129 sp<AMessage> format; local
130 mData->mImpl->getTrackFormat(idx, &format);
131 return AMediaFormat_fromMsg(&format);
223 sp<AMessage> format; local
224 ex->mImpl->getFileFormat(&format);
226 if(!format->findBuffer("pssh", &buffer)) {
230 // the format of the buffer is 1 or more of:
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapClient.java170 * VCard format version 2.1
175 * VCard format version 3.0
650 * @param format vCard format of entries in the resulting list
656 public boolean pullPhoneBook(String pbName, long filter, byte format) { argument
657 return pullPhoneBook(pbName, filter, format, 0, 0);
688 * @param format vCard format of entries in the resulting list
697 public boolean pullPhoneBook(String pbName, long filter, byte format, int maxListCount, argument
699 BluetoothPbapRequest req = new BluetoothPbapRequestPullPhoneBook(pbName, filter, format,
837 pullVcardEntry(String handle, long filter, byte format) argument
[all...]
/frameworks/wilhelm/tools/permute/
H A Dpermute.c22 * The format of the .map file is a sequence of lines, each of which is:
127 sfinfo_in.format = 0;
134 // Check if it is a supported file format: must be WAV
135 unsigned type = sfinfo_in.format & SF_FORMAT_TYPEMASK;
145 unsigned subtype = sfinfo_in.format & SF_FORMAT_SUBMASK;
162 unsigned endianness = sfinfo_in.format & SF_FORMAT_ENDMASK;
261 sfinfo_out.format = sfinfo_in.format;
/frameworks/av/include/camera/
H A DCameraParameters2.h102 void setPreviewFormat(const char *format);
107 void setPictureFormat(const char *format);
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h58 status_t getTrackFormat(size_t index, sp<AMessage> *format) const;
60 status_t getFileFormat(sp<AMessage> *format) const;
/frameworks/av/media/libmedia/
H A DAudioPolicy.cpp68 mFormat.format = (audio_format_t)parcel->readInt32();
89 parcel->writeInt32(mFormat.format);
H A DAudioRecord.cpp39 audio_format_t format,
47 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size);
49 ALOGE("AudioSystem could not query the input buffer size for sampleRate %u, format %#x, "
50 "channelMask %#x; status %d", sampleRate, format, channelMask, status);
55 // Assumes audio_is_linear_pcm(format)
57 audio_bytes_per_sample(format))) == 0) {
58 ALOGE("Unsupported configuration: sampleRate %u, format %#x, channelMask %#x",
59 sampleRate, format, channelMask);
77 audio_format_t format,
92 mStatus = set(inputSource, sampleRate, format, channelMas
36 getMinFrameCount( size_t* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
74 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, int sessionId, transfer_type transferType, audio_input_flags_t flags, const audio_attributes_t* pAttributes) argument
119 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, bool threadCanCallJava, int sessionId, transfer_type transferType, audio_input_flags_t flags, const audio_attributes_t* pAttributes) argument
[all...]
H A DIAudioFlingerClient.cpp56 data.writeInt32(desc->format);
86 desc.format = (audio_format_t) data.readInt32();
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp133 sp<AMessage> format = new AMessage(); local
135 format->setInt32("type", MEDIA_TRACK_TYPE_SUBTITLE);
136 format->setString("language", "und");
137 format->setString("mime", MEDIA_MIMETYPE_TEXT_CEA_608);
140 format->setInt32("auto", isDefaultAuto);
141 format->setInt32("default", isDefaultAuto);
142 format->setInt32("forced", 0);
144 return format;
H A DNuPlayerDecoder.h42 virtual void onConfigure(const sp<AMessage> &format);
102 void rememberCodecSpecificData(const sp<AMessage> &format);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp95 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
96 def.format.audio.pNativeRender = NULL;
97 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
98 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
113 def.format.audio.cMIMEType = const_cast<char *>("audio/aac");
114 def.format.audio.pNativeRender = NULL;
115 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
116 def.format.audio.eEncoding = OMX_AUDIO_CodingAAC;

Completed in 5854 milliseconds

<<11121314151617181920>>