Searched defs:format (Results 51 - 75 of 246) sorted by path

12345678910

/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp279 sp<AMessage> format; local
280 CHECK(response->findMessage("format", &format));
282 ALOGV("returning format %s", format->debugString().c_str());
283 return format;
492 sp<AMessage> format = info->mSampleDescs.itemAt(0).mFormat; local
494 format->setInt64("durationUs", info->mSidxDuration);
497 format->setInt64("durationUs",
501 "format", forma
1255 sp<AMessage> format = new AMessage; local
1298 sp<AMessage> format = new AMessage; local
1330 addCodecSpecificData( const sp<AMessage> &format, int32_t index, const void *data, size_t size, bool insertStartCode = false) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPSession.cpp67 ALOGE("Invalid media format.");
73 ALOGE("Unsupported format.");
199 AString format; local
200 mDesc->getFormat(index, &format);
202 ssize_t i = format.find(" ");
209 while (isdigit(format.c_str()[j])) {
212 if (format.c_str()[j] != ' ') {
216 AString portString(format, i, j - i);
H A DARawAudioAssembler.cpp125 const char *desc, const sp<MetaData> &format) {
127 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW);
129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW);
138 format->setInt32(kKeySampleRate, sampleRate);
139 format->setInt32(kKeyChannelCount, numChannels);
124 MakeFormat( const char *desc, const sp<MetaData> &format) argument
H A DASessionDescription.cpp201 AString format; local
202 getFormat(index, &format);
204 const char *lastSpacePos = strrchr(format.c_str(), ' ');
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp43 const sp<AMessage> &format,
48 mInputFormat(format),
163 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str());
40 Converter( const sp<AMessage> &notify, const sp<ALooper> &codecLooper, const sp<AMessage> &format, bool usePCMAudio) argument
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...]
H A DMtpServer.cpp275 uint64_t size, MtpObjectFormat format, int fd) {
276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd);
537 MtpObjectFormat format = mRequest.getParameter(1);
538 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format);
548 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local
555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent);
565 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local
571 int count = mDatabase->getNumObjects(storageID, format, parent);
664 uint32_t format = mRequest.getParameter(2); local
668 ALOGV("GetObjectPropList %d format
274 addEditObject(MtpObjectHandle handle, MtpString& path, uint64_t size, MtpObjectFormat format, int fd) argument
721 MtpObjectFormat format; local
784 MtpObjectFormat format; local
830 MtpObjectFormat format; local
840 MtpObjectFormat format = mData.getUInt16(); local
1047 MtpObjectFormat format = mRequest.getParameter(2); local
1068 MtpObjectFormat format = mRequest.getParameter(2); local
1182 MtpObjectFormat format; local
[all...]
H A DMtpServer.h82 MtpObjectFormat format, int fd)
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
114 uint64_t size, MtpObjectFormat format, int fd);
81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, MtpObjectFormat format, int fd) argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp445 audio_format_t format,
505 track = thread->createTrack_l(client, streamType, sampleRate, format,
569 audio_format_t AudioFlinger::format(audio_io_handle_t output) const function in class:android::AudioFlinger
574 ALOGW("format() unknown thread %d", output);
577 return thread->format();
978 size_t AudioFlinger::getInputBufferSize(uint32_t sampleRate, audio_format_t format, argument
991 format: format,
1713 audio_format_t format,
1746 audio_is_linear_pcm(format)
441 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
1709 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
3622 NBAIO_Format format = teeSource->format(); local
4140 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4314 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument
4854 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4872 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
5368 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId) argument
5490 OutputTrack( PlaybackThread *playbackThread, DuplicatingThread *sourceThread, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount) argument
5878 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
6241 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
[all...]
H A DAudioFlinger.h93 audio_format_t format,
107 audio_format_t format,
117 virtual audio_format_t format(audio_io_handle_t output) const;
145 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
389 audio_format_t format,
416 audio_format_t format() const { function in class:android::AudioFlinger::ThreadBase::TrackBase
559 audio_format_t format() const { return mFormat; } function in class:android::AudioFlinger::ThreadBase
781 audio_format_t format,
905 audio_format_t format,
948 audio_format_t format,
[all...]
H A DAudioMixer.h167 uint8_t format; // always 16 member in struct:android::AudioMixer::track_t
H A DAudioPolicyService.cpp221 audio_format_t format,
230 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channelMask, flags);
269 audio_format_t format,
283 format, channelMask, (audio_in_acoustics_t) 0);
219 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
267 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
H A DFastMixer.cpp63 NBAIO_Format format = Format_Invalid; local
196 NBAIO_Format previousFormat = format;
201 format = Format_Invalid;
204 format = outputSink->format();
205 sampleRate = Format_sampleRate(format);
206 ALOG_ASSERT(Format_channelCount(format) == 2);
211 if ((format != previousFormat) || (frameCount != previous->mFrameCount)) {
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp104 threadName = String8::format("C2-%d-FrameProc",
109 threadName = String8::format("C2-%d-CaptureSeq",
114 threadName = String8::format("C2-%d-JpegProc",
119 threadName = String8::format("C2-%d-ZslProc",
124 threadName = String8::format("C2-%d-CallbkProc",
165 result.appendFormat(" Preview HAL pixel format: 0x%x\n",
359 result = String8::format(" Error dumping device: %s (%d)",
1590 int format, int stride) {
1591 switch (format) {
1611 ALOGE("%s: Unknown preview format
1589 calculateBufferSize(int width, int height, int format, int stride) argument
[all...]
H A DCamera2Device.cpp238 uint32_t width, uint32_t height, int format, size_t size, int *id) {
245 res = stream->connectToDevice(consumer, width, height, format, size);
247 ALOGE("%s: Camera %d: Unable to create stream (%d x %d, format %x):"
249 __FUNCTION__, mId, width, height, format, strerror(-res), res);
297 uint32_t *width, uint32_t *height, uint32_t *format) {
317 if (format) *format = (*streamI)->getFormat();
806 result = String8::format(" Stream slot buffer %d:\n", i);
816 result = String8::format(" Main queue has %d entries:\n",
821 result = String8::format(" Queu
237 createStream(sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size, int *id) argument
296 getStreamInfo(int id, uint32_t *width, uint32_t *height, uint32_t *format) argument
965 connectToDevice( sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size) argument
[all...]
H A DCameraHardwareInterface.h616 int width, int height, int format)
620 width, height, format);
615 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp74 String8::format("%dx%d",
80 supportedPreviewSizes += String8::format("%dx%d",
98 String8::format("%d,%d",
106 supportedPreviewFpsRange += String8::format("(%d,%d)",
162 ALOGW("%s: Camera %d: Unknown preview format: %x",
201 supportedPreviewFrameRates += String8::format("%d",
226 supportedPictureSizes += String8::format("%dx%d",
255 supportedJpegThumbSizes += String8::format("%dx%d",
728 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100));
1069 ALOGE("%s: Preview format canno
1833 formatStringToEnum(const char *format) argument
1854 formatEnumToString(int format) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityThread.java544 // Formatting for checkin service - update version if row format changes
1011 // otherwise, show human-readable format
1110 private void printRow(PrintWriter pw, String format, Object...objs) { argument
1111 pw.println(String.format(format, objs));
H A DNativeActivity.java100 int format, int width, int height);
289 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
292 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
364 void setWindowFormat(int format) { argument
365 getWindow().setFormat(format);
99 onSurfaceChangedNative(int handle, Surface surface, int format, int width, int height) argument
H A DProgressDialog.java140 String format = mProgressNumberFormat;
141 mProgressNumber.setText(String.format(format, progress, max));
147 SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent));
328 * Change the format of the small text showing current and maximum units
331 * @param format A string passed to {@link String#format String.format()};
335 public void setProgressNumberFormat(String format) { argument
336 mProgressNumberFormat = format;
348 setProgressPercentFormat(NumberFormat format) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java508 * <p>If using the {@link android.graphics.ImageFormat#YV12} format,
513 * @param data the contents of the preview frame in the format defined
518 * (NV21) format.
660 * 8, using the image format from
663 * <p>If using the {@link android.graphics.ImageFormat#YV12} format, the
700 * using the image format from {@link Camera.Parameters#getPreviewFormat()}.
1024 * The format of the data depends on the context of the callback
1666 private static final String KEY_PREVIEW_FORMAT = "preview-format";
1670 private static final String KEY_PICTURE_FORMAT = "picture-format";
2396 * Sets the image format fo
2581 pixelFormatForCameraFormat(String format) argument
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java32 * Provide access to NDEF format operations on a {@link Tag}.
37 * class for tags for which it can format to NDEF.
94 public void format(NdefMessage firstMessage) throws IOException, FormatException { method in class:NdefFormatable
95 format(firstMessage, false);
117 format(firstMessage, true);
120 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException, method in class:NdefFormatable
139 // Now check and see if the format worked
/frameworks/base/core/java/android/os/
H A DProcess.java502 * Presently the wire format to the zygote process is:
977 public static final native boolean readProcFile(String file, int[] format, argument
982 int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats);
981 parseProcLine(byte[] buffer, int startIndex, int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats) argument

Completed in 673 milliseconds

12345678910