Searched defs:format (Results 201 - 225 of 378) sorted by relevance

1234567891011>>

/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,
546 * format and dimension. Each graphic buffer is uniformly filled with a
565 // All frames within a row have to have the same format and
570 int format = formatPtr->format; local
585 testPrintI(" frame %u width: %u height: %u format: %u %s",
586 row, w, h, format, hwcTestGraphicFormat2str(format));
595 frames[row][col] = new GraphicBuffer(w, h, format, texUsag
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h281 uint32_t format);
332 uint32_t format; // pixel format from FB hal, for pre-hwc-1.1 member in struct:android::HWComposer::DisplayData
/frameworks/opt/net/voip/src/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/opt/telephony/src/java/com/android/internal/telephony/
H A DUiccSmsController.java311 int subId, byte[] pdu, String format, PendingIntent receivedIntent) {
314 iccSmsIntMgr.injectSmsPdu(pdu, format, receivedIntent);
310 injectSmsPduForSubscriber( int subId, byte[] pdu, String format, PendingIntent receivedIntent) argument
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp73 } gOutputFormat = FORMAT_MP4; // data format for output
157 sp<AMessage> format = new AMessage; local
158 format->setInt32("width", gVideoWidth);
159 format->setInt32("height", gVideoHeight);
160 format->setString("mime", kMimeTypeAvc);
161 format->setInt32("color-format", OMX_COLOR_FormatAndroidOpaque);
162 format->setInt32("bitrate", gBitRate);
163 format->setFloat("frame-rate", displayFps);
164 format
[all...]
/frameworks/av/cmds/stagefright/
H A Dmediafilter.cpp202 && srcFormat->findInt32("color-format", &srcColorFormat));
207 && destFormat->findInt32("color-format", &destColorFormat));
332 sp<AMessage> format; local
333 status_t err = extractor->getTrackFormat(i, &format);
337 CHECK(format->findString("mime", &mime));
361 format, NULL /* surface */, NULL /* crypto */, 0 /* flags */);
376 vidFormat->setInt32("color-format", OMX_COLOR_Format32bitARGB8888);
462 vidFormat /* format */, surface, NULL /* crypto */, 0 /* flags */);
618 sp<AMessage> format; local
619 CHECK_EQ((status_t)OK, state->mCodec->getOutputFormat(&format));
[all...]
H A Dsf2.cpp154 sp<AMessage> format = makeFormat(mSource->getFormat()); local
157 format->setObject("surface", mSurface);
160 mCodec->initiateSetup(format);
/frameworks/av/include/media/
H A DAudioRecord.h118 audio_format_t format,
147 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed
171 audio_format_t format,
198 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
209 audio_format_t format,
238 audio_format_t format() const { return mFormat; } function in class:android::AudioRecord
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp154 sp<AMessage> format; local
155 CHECK(msg->findMessage("format", &format));
157 handleOutputFormatChange(format);
236 void NuPlayer::Decoder::onConfigure(const sp<AMessage> &format) { argument
245 CHECK(format->findString("mime", &mime));
257 if (format->findInt32("secure", &secure) && secure != 0) {
288 format, mSurface, NULL /* crypto */, 0 /* flags */);
296 rememberCodecSpecificData(format);
613 void NuPlayer::Decoder::handleOutputFormatChange(const sp<AMessage> &format) { argument
1024 rememberCodecSpecificData(const sp<AMessage> &format) argument
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp146 sp<MetaData> format = source->getFormat(); local
152 videoFormat->setInt32("color-format", OMX_COLOR_FormatYUV420Planar);
304 ALOGV("Received format change");
379 CHECK(outputFormat->findInt32("color-format", &srcFormat));
393 ALOGE("Unable to convert from format 0x%08x to RGB565", srcFormat);
669 // If multiple text tracks present, the format will look
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp1552 void m4vdec_dprintf(char *format, ...) argument
1556 va_start(args, format);
1562 vfprintf(log_fp, format, args);
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp72 mFramerate(30 << 16), // Q16 format
101 def.format.video.pNativeRender = NULL;
102 def.format.video.nFrameWidth = mWidth;
103 def.format.video.nFrameHeight = mHeight;
104 def.format.video.nStride = def.format.video.nFrameWidth;
105 def.format.video.nSliceHeight = def.format.video.nFrameHeight;
106 def.format.video.nBitrate = 0;
107 // frameRate is in Q16 format
243 const OMX_VIDEO_PARAM_PORTFORMATTYPE* format = local
508 int format; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp36 Track(const sp<AMessage> &format,
87 const sp<AMessage> &format,
89 : mFormat(format),
97 CHECK(format->findString("mime", &mMIME));
382 ssize_t TSPacketizer::addTrack(const sp<AMessage> &format) { argument
384 CHECK(format->findString("mime", &mime));
438 sp<Track> track = new Track(format, PID, streamType, streamID);
86 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
/frameworks/av/media/mtp/
H A DMtpDevice.cpp261 MtpObjectFormat format = (*mDeviceInfo->mPlaybackFormats)[i]; local
262 ALOGI("*** FORMAT: %s\n", MtpDebug::getFormatCodeName(format));
263 MtpObjectPropertyList* props = getObjectPropsSupported(format);
267 MtpProperty* property = getObjectPropDesc(prop, format);
369 MtpObjectFormat format, MtpObjectHandle parent) {
374 mRequest.setParameter(2, format);
536 MtpObjectPropertyList* MtpDevice::getObjectPropsSupported(MtpObjectFormat format) { argument
540 mRequest.setParameter(1, format);
573 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { argument
578 mRequest.setParameter(2, format);
368 getObjectHandles(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp208 const AMediaFormat* format,
213 AMediaFormat_getFormat(format, &nativeFormat);
214 ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str());
341 sp<AMessage> format; local
342 mData->mCodec->getOutputFormat(&format);
343 return AMediaFormat_fromMsg(&format);
206 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument
/frameworks/av/services/audioflinger/
H A DAudioMixer.h114 // The failure could be because of an invalid channelMask or format, or that
117 audio_format_t format, int sessionId);
135 static inline bool isValidPcmTrackFormat(audio_format_t format) { argument
136 switch (format) {
159 // sample format is not explicitly specified, and is assumed to be AUDIO_FORMAT_PCM_16_BIT
196 uint8_t unused_padding; // formerly format, was always 16
244 audio_format_t mMixerFormat; // output mix format: AUDIO_FORMAT_PCM_(FLOAT|16_BIT)
245 audio_format_t mFormat; // input track format
246 audio_format_t mMixerInFormat; // mix internal format AUDIO_FORMAT_PCM_(FLOAT|16_BIT)
247 // each track must be converted to this format
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPort.cpp140 const audio_format_t format = port->mFormats.itemAt(k); local
141 if (format != 0) { // skip "dynamic" formats
144 if (format == mFormats.itemAt(l)) {
149 if (!hasFormat) { // never import a format twice
150 mFormats.add(format);
195 audio_format_t format = (audio_format_t)ConfigParsingUtils::stringToEnum(sFormatNameToEnumTable, local
198 if (format != AUDIO_FORMAT_DEFAULT) {
199 mFormats.add(format);
204 // TODO: compareFormats could be a lambda to convert between pointer-to-format to format
542 checkCompatibleFormat(audio_format_t format, audio_format_t *updatedFormat) const argument
713 audio_format_t format = AUDIO_FORMAT_DEFAULT; local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp128 audio_format_t format,
142 format, channelMask, flags, offloadInfo);
151 audio_format_t format,
172 format, channelMask, flags, selectedDeviceId, offloadInfo);
263 audio_format_t format,
296 samplingRate, format, channelMask,
126 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
145 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument
258 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId) argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp87 threadName = String8::format("CDU-%d-FrameProc", mCameraId);
417 int width, height, format; local
430 if ((res = anw->query(anw, NATIVE_WINDOW_FORMAT, &format)) != OK) {
431 ALOGE("%s: Camera %d: Failed to query Surface format", __FUNCTION__,
442 // FIXME: remove this override since the default format should be
444 if (format >= HAL_PIXEL_FORMAT_RGBA_8888 &&
445 format <= HAL_PIXEL_FORMAT_BGRA_8888) {
446 ALOGW("%s: Camera %d: Overriding format %#x to IMPLEMENTATION_DEFINED",
447 __FUNCTION__, mCameraId, format);
448 format
497 createInputStream(int width, int height, int format) argument
549 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
[all...]
/frameworks/base/core/java/android/app/
H A DNativeActivity.java108 int format, int width, int height);
270 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
273 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
326 void setWindowFormat(int format) { argument
327 getWindow().setFormat(format);
107 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java537 public int createInputStream(int width, int height, int format) { argument
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java50 * for that format) that are supported by a camera device.</p>
52 * <p>This also contains the minimum frame durations and stall durations for each format/size
136 // For each format, track how many sizes there are available to configure
161 // For each depth format, track how many sizes there are available to configure
198 * Get the image {@code format} output formats in this stream configuration.
206 * @return an array of integer format
216 * Get the image {@code format} output formats for a reprocessing input format.
218 * <p>When submitting a {@link CaptureRequest} with an input Surface of a given format,
219 * the only allowed target outputs of the {@link CaptureRequest} are the ones with a format
266 getInputSizes(final int format) argument
294 isOutputSupportedFor(int format) argument
493 getOutputSizes(int format) argument
676 getHighResolutionOutputSizes(int format) argument
720 getOutputMinFrameDuration(int format, Size size) argument
866 getOutputStallDuration(int format, Size size) argument
954 checkArgumentFormatSupported(int format, boolean output) argument
997 checkArgumentFormatInternal(int format) argument
1032 checkArgumentFormat(int format) argument
1071 imageFormatToPublic(int format) argument
1114 depthFormatToPublic(int format) argument
1180 imageFormatToInternal(int format) argument
1222 imageFormatToDataspace(int format) argument
1256 getPublicFormatSizes(int format, boolean output, boolean highRes) argument
1269 getInternalFormatSizes(int format, int dataspace, boolean output, boolean highRes) argument
1352 getInternalFormatDuration(int format, int dataspace, Size size, int duration) argument
1419 isSupportedInternalConfiguration(int format, int dataspace, Size size) argument
1578 formatToString(int format) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java17 package android.text.format;
58 // The following FORMAT_* symbols are used for specifying the format of
96 // Date and time format strings that are constant and don't need to be
99 * This is not actually the preferred 24-hour date format in all locales.
304 * Example output strings for the US date format.
325 // Same reason as in formatDateRange() to explicitly indicate 12- or 24-hour format.
352 * Return given duration in a human-friendly format. For example, "4
385 * Formats an elapsed time in a format like "MM:SS" or "H:MM:SS" (using a form
421 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString();
423 return f.format(sElapsedFormatMMS
[all...]
/frameworks/base/core/java/android/widget/
H A DVideoView.java277 * @param format the format of the subtitle track(s). Must contain at least
283 public void addSubtitleSource(InputStream is, MediaFormat format) { argument
285 mPendingSubtitleTracks.add(Pair.create(is, format));
288 mMediaPlayer.addSubtitleSource(is, format);
604 public void surfaceChanged(SurfaceHolder holder, int format,
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp257 static PixelFormat convertPixelFormat(SkColorType format) argument
259 switch (format) {
296 pixmap.format = convertPixelFormat(nativeBitmap.colorType());

Completed in 1544 milliseconds

1234567891011>>