Searched defs:format (Results 126 - 150 of 246) sorted by relevance

12345678910

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java256 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java70 mFields.parse(String.format(Locale.US, "o=- %d %d %s", sessionId,
97 for (String format : parts[3].split(" ")) {
98 media.setFormat(format, null);
288 * Returns the {@code fmtp} attribute of the given format or
291 public String getFmtp(String format) { argument
292 return super.get("a=fmtp:" + format, ' ');
296 * Sets a format and its {@code fmtp} attribute. If the attribute is
299 public void setFormat(String format, String fmtp) { argument
300 mFormats.remove(format);
301 mFormats.add(format);
309 removeFormat(String format) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp44 PixelFormat format; member in struct:android::CpuConsumerTestParams
50 << ::std::hex << p.format << "]";
63 params.maxLockedBuffers, params.format);
162 switch(buf.format) {
183 ADD_FAILURE() << "Unknown format for check:" << buf.format;
275 params.width, params.height, params.format);
296 // Produce one frame of image data; assumes format and resolution configuration
318 switch (params.format) {
326 FAIL() << "Unknown pixel format unde
[all...]
/frameworks/native/libs/utils/
H A DString8.cpp198 String8 String8::format(const char* fmt, ...) function in class:android::String8
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp42 * row point to graphic buffers which use the same pixel format and
48 * in a particular row have the same pixel format and dimension,
547 * format and dimension. Each graphic buffer is uniformly filled with a
566 // All frames within a row have to have the same format and
571 int format = formatPtr->format; local
586 testPrintI(" frame %u width: %u height: %u format: %u %s",
587 row, w, h, format, hwcTestGraphicFormat2str(format));
596 frames[row][col] = new GraphicBuffer(w, h, format, texUsag
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp128 int format; local
129 window->query(window, NATIVE_WINDOW_FORMAT, &format);
144 mFormat = format;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h297 uint32_t format; // pixel format from FB hal, for pre-hwc-1.1 member in struct:android::HWComposer::DisplayData
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java82 * Indicates a 3GPP format SMS message.
88 * Indicates a 3GPP2 format SMS message.
130 * intent <b>must</b> now pass the new {@code format} String extra from the intent
132 * extra format parameter. This is required in order to correctly decode the PDU on
138 String format = (PHONE_TYPE_CDMA == activePhone) ?
140 return createFromPdu(pdu, format);
144 * Create an SmsMessage from a raw PDU with the specified message format. The
145 * message format is passed in the {@code SMS_RECEIVED_ACTION} as the {@code format}
146 * String extra, and will be either "3gpp" for GSM/UMTS/LTE messages in 3GPP format
153 createFromPdu(byte[] pdu, String format) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java32 * codec.configure(format, ...);
52 * // Subsequent data will conform to new format.
53 * MediaFormat format = codec.getOutputFormat();
83 * encoded data according to the format's type. For video types this data
96 * Codec specific data included in the format passed to {@link #configure}
113 * Note that the format of the data submitted after a flush must not change,
114 * flush does not support format discontinuities,
227 * @param format The format of the input data (decoder) or the desired
228 * format o
236 configure( MediaFormat format, Surface surface, MediaCrypto crypto, int flags) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp222 jint storageID, jint format, jint objectID)
227 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID);
221 android_mtp_MtpDevice_get_object_handles(JNIEnv *env, jobject thiz, jint storageID, jint format, jint objectID) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java46 Frame(FrameFormat format, FrameManager frameManager) { argument
47 mFormat = format.mutableCopy();
51 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
52 mFormat = format.mutableCopy();
172 protected void setFormat(FrameFormat format) { argument
173 mFormat = format.mutableCopy();
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/av/cmds/stagefright/
H A Dsf2.cpp110 sp<AMessage> format = makeFormat(mSource->getFormat()); local
113 format->setObject(
117 mCodec->initiateSetup(format);
/frameworks/av/include/media/
H A DSoundPool.h59 audio_format_t format() { return mFormat; } function in class:android::Sample
68 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, sp<IMemory> data ) { argument
69 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data; }
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorAudioPlayer.cpp483 // updated format, if there isn't, we'll stash away the valid buffer
499 sp<MetaData> format = mSource->getFormat(); local
501 bool success = format->findCString(kKeyMIMEType, &mime);
505 success = format->findInt32(kKeySampleRate, &mSampleRate);
509 success = format->findInt32(kKeyChannelCount, &numChannels);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp41 audio_format_t format,
50 if (AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size)
57 ALOGE("Unsupported configuration: sampleRate %d, format %d, channelMask %#x",
58 sampleRate, format, channelMask);
65 if (audio_is_linear_pcm(format)) {
67 size /= channelCount * audio_bytes_per_sample(format);
85 audio_format_t format,
95 mStatus = set(inputSource, sampleRate, format, channelMask,
120 audio_format_t format,
146 if (format
38 getMinFrameCount( int* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
82 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
117 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, callback_t cbf, void* user, int notificationFrames, bool threadCanCallJava, int sessionId) argument
245 audio_format_t AudioRecord::format() const function in class:android::AudioRecord
425 openRecord_l( uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_io_handle_t input) argument
[all...]
H A DIAudioPolicyService.cpp126 audio_format_t format,
134 data.writeInt32(static_cast <uint32_t>(format));
178 audio_format_t format,
186 data.writeInt32(static_cast <uint32_t>(format));
427 audio_format_t format = (audio_format_t) data.readInt32(); local
434 format,
474 audio_format_t format = (audio_format_t) data.readInt32(); local
479 format,
123 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
175 getInput( audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DSoundPool.cpp499 audio_format_t format; local
503 p = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format);
505 p = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format);
535 mFormat = format;
588 ((sample->format() == AUDIO_FORMAT_PCM_16_BIT) ? sizeof(int16_t) : sizeof(uint8_t));
610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
613 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
871 ((mSample->format() == AUDIO_FORMAT_PCM_16_BIT) ? sizeof(int16_t) : sizeof(uint8_t));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp378 ALOGV("Audio output format changed to %d Hz, %d channels",
386 // we receive the format change indication. Current code will just make that
427 ALOGV("Video output format changed to %d x %d "
698 sp<AMessage> format = mSource->getFormat(audio); local
700 if (format == NULL) {
706 CHECK(format->findString("mime", &mime));
718 (*decoder)->configure(format);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp134 const sp<AMessage> &format,
140 msg->setMessage("format", format);
291 status_t MediaCodec::getOutputFormat(sp<AMessage> *format) const {
300 CHECK(response->findMessage("format", format));
619 ALOGV("codec output format changed");
636 "color-format", &colorFormat));
670 // part of the format in the call to configure and
796 sp<AMessage> format local
133 configure( const sp<AMessage> &format, const sp<SurfaceTextureClient> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument
827 sp<AMessage> format; local
1179 extractCSD(const sp<AMessage> &format) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp1500 void m4vdec_dprintf(char *format, ...) argument
1504 va_start(args, format);
1510 vfprintf(log_fp, format, args);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp114 static bool IsAudioFormat(const sp<AMessage> &format);
142 const sp<AMessage> &format) {
144 CHECK(format->findString("mime", &mime));
628 sp<AMessage> format; local
629 status_t err = convertMetaDataToMessage(source->getFormat(), &format);
633 format->setInt32("store-metadata-in-buffers", true);
635 format->setInt32(
636 "color-format", OMX_COLOR_FormatAndroidOpaque);
643 new Converter(notify, codecLooper, format, usePCMAudio);
141 IsAudioFormat( const sp<AMessage> &format) argument
H A DTSPacketizer.cpp36 Track(const sp<AMessage> &format,
85 const sp<AMessage> &format,
87 : mFormat(format),
94 CHECK(format->findString("mime", &mMIME));
100 if (!format->findBuffer(StringPrintf("csd-%d", i).c_str(), &csd)) {
331 ssize_t TSPacketizer::addTrack(const sp<AMessage> &format) { argument
333 CHECK(format->findString("mime", &mime));
387 sp<Track> track = new Track(format, PID, streamType, streamID);
84 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
/frameworks/av/media/mtp/
H A DMtpDevice.cpp252 MtpObjectFormat format = (*mDeviceInfo->mPlaybackFormats)[i]; local
253 ALOGI("*** FORMAT: %s\n", MtpDebug::getFormatCodeName(format));
254 MtpObjectPropertyList* props = getObjectPropsSupported(format);
258 MtpProperty* property = getObjectPropDesc(prop, format);
356 MtpObjectFormat format, MtpObjectHandle parent) {
361 mRequest.setParameter(2, format);
521 MtpObjectPropertyList* MtpDevice::getObjectPropsSupported(MtpObjectFormat format) { argument
525 mRequest.setParameter(1, format);
556 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { argument
561 mRequest.setParameter(2, format);
355 getObjectHandles(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.h167 uint8_t format; // always 16 member in struct:android::AudioMixer::track_t

Completed in 325 milliseconds

12345678910