Searched refs:format (Results 101 - 125 of 1129) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp41 MediaMuxer::MediaMuxer(int fd, OutputFormat format) argument
42 : mFormat(format),
44 if (format == OUTPUT_FORMAT_MPEG_4) {
46 } else if (format == OUTPUT_FORMAT_WEBM) {
65 ssize_t MediaMuxer::addTrack(const sp<AMessage> &format) { argument
68 if (format.get() == NULL) {
69 ALOGE("addTrack() get a null format");
79 convertMessageToMetaData(format, trackMeta);
H A DMediaCodecListOverrides.cpp94 sp<AMessage> format = new AMessage(); local
95 format->setString("mime", mime);
100 format->setInt32("bitrate", bitrate);
101 format->setInt32("encoder", 1);
110 format->setInt32("width", width);
111 format->setInt32("height", height);
118 format->setInt32("color-format", colorFormats[0]);
120 format->setFloat("frame-rate", 10.0);
121 format
134 sp<AMessage> format = getMeasureFormat(true /* isEncoder */, mime, caps); local
187 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps); local
[all...]
/frameworks/base/libs/hwui/
H A DGammaFontRenderer.h38 virtual uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const = 0;
84 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const override {
85 return mRenderer ? mRenderer->getCacheSize(format) : 0;
131 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const override {
132 return mRenderer ? mRenderer->getCacheSize(format) : 0;
163 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const override {
168 return mRenderers[fontRenderer]->getCacheSize(format);
/frameworks/base/media/java/android/media/
H A DMediaCodecList.java28 * find a codec supporting a given format and query the capabilities
195 * {@code format} must not contain a {@linkplain MediaFormat#KEY_FRAME_RATE
197 * <code class=prettyprint>format.setString(MediaFormat.KEY_FRAME_RATE, null)</code>
198 * to clear any existing frame rate setting in the format.
200 * @param format A decoder media format with optional feature directives.
201 * @throws IllegalArgumentException if format is not a valid media format.
202 * @throws NullPointerException if format is null.
203 * @return the name of a decoder that supports the given format an
206 findDecoderForFormat(MediaFormat format) argument
227 findEncoderForFormat(MediaFormat format) argument
231 findCodecForFormat(boolean encoder, MediaFormat format) argument
[all...]
H A DImageReader.java74 * Create a new reader for images of the desired size and format.
87 * If the {@code format} is {@link ImageFormat#PRIVATE PRIVATE}, the created
94 * PRIVATE} format images. The application can check if an existing reader's
95 * format by calling {@link #getImageFormat()}.
98 * {@link ImageFormat#PRIVATE PRIVATE} format {@link ImageReader
100 * data is not necessary, compared to ImageReaders using other format such
108 * @param format The format of the Image that this reader will produce. This
121 public static ImageReader newInstance(int width, int height, int format, int maxImages) { argument
122 return new ImageReader(width, height, format, maxImage
128 ImageReader(int width, int height, int format, int maxImages) argument
654 SurfaceImage(int format) argument
849 nativeGetWidth(int format) argument
850 nativeGetHeight(int format) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DClient.cpp111 uint32_t w, uint32_t h, PixelFormat format, uint32_t flags,
128 PixelFormat format; member in class:android::MessageCreateLayer
133 uint32_t w, uint32_t h, PixelFormat format, uint32_t flags,
138 name(name), w(w), h(h), format(format), flags(flags) {
142 result = flinger->createLayer(name, client, w, h, format, flags,
149 name, this, w, h, format, flags, handle, gbp);
109 createSurface( const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
131 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DQueryController.java121 * format: [container_selector, PATTERN=[INSTANCE=x, PATTERN=[the_pattern]]
243 Log.i(LOG_TAG, String.format(
268 Log.i(LOG_TAG, String.format("Matched selector: %s <<==>> [%s]", selector, fromNode));
274 * to translate the regular_selector portion. It has the following format:
296 Log.d(LOG_TAG, formatLog(String.format("%s",
329 Log.w(LOG_TAG, String.format(
332 Log.w(LOG_TAG, String.format("parent = %s", fromNode.toString()));
340 String.format("Skipping invisible child: %s", childNode.toString()));
353 * to translate the pattern_selector portion. It has the following format:
411 String.format("
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp28 * -r fmt - reference graphic format
51 * RGBA8888 graphic format. The -r option can be used to specify a
52 * non-default reference frame graphic format. The graphic format of
54 * parameter. Intentionally there is no default for the graphic format
236 case 'r': // Reference graphic format
240 "format of: %s", optarg);
259 // equivalence graphic format.
268 "format of: %s", argv[optind]);
273 testPrintI("refFormat: %u %s", refFormat->format, refForma
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java92 logv(String.format("mReconnectIterations(%d), mSsid(%s), mPassword(%s),"
150 writeOutput(String.format("iteration %d out of %d", i, mScanIterations));
151 writeOutput(String.format("average scanning time is %d", averageScanTime));
152 writeOutput(String.format("ssid appear %d out of %d scan iterations",
174 logv(String.format("scan result: " + sr.toString()));
187 writeOutput(String.format("iteration %d out of %d", i - 1, mScanIterations));
188 writeOutput(String.format("average scanning time is %d", scanTimeSum / (i - 1)));
189 writeOutput(String.format("ssid appear %d out of %d scan iterations",
228 writeOutput(String.format("iteration %d out of %d",
291 writeOutput(String.format("iteratio
[all...]
/frameworks/base/location/java/android/location/
H A DGpsClock.java442 final String format = " %-15s = %s\n";
446 builder.append(String.format(format, "Type", getTypeString()));
448 builder.append(String.format(format, "LeapSecond", hasLeapSecond() ? mLeapSecond : null));
450 builder.append(String.format(
457 builder.append(String.format(
458 format,
462 builder.append(String.format(
469 builder.append(String.format(
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DCommonTimeManagementService.java182 pw.println(String.format(
196 pw.println(String.format(" Native service : %s",
199 pw.println(String.format(" Bound interface : %s",
201 pw.println(String.format(" Allow WiFi : %s", ALLOW_WIFI ? "yes" : "no"));
202 pw.println(String.format(" Allow Auto Disable : %s", AUTO_DISABLE ? "yes" : "no"));
203 pw.println(String.format(" Server Priority : %d", mEffectivePrio));
204 pw.println(String.format(" No iface timeout : %d", NO_INTERFACE_TIMEOUT));
258 Log.w(TAG, String.format("Native service died, will reconnect in %d mSec",
337 Log.e(TAG, String.format("Binding common time service to %s.", bindIface));
345 Log.e(TAG, String.format("Switchin
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java58 protected CpuVideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
59 super(trackIndex, format, listener);
61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH);
62 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT);
66 protected MediaCodec initMediaCodec(MediaFormat format) { argument
68 MediaCodec mediaCodec = findDecoderCodec(format, new int[] {
73 "Could not find a suitable decoder for format: " + format + "!");
75 mediaCodec.configure(format, null, null, 0);
174 * <li>The codec can decode a video of the specified format
184 findDecoderCodec(MediaFormat format, int[] requiredColorFormats) argument
[all...]
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp59 static bool isPossiblyYUV(PixelFormat format) { argument
60 switch (static_cast<int>(format)) {
114 PixelFormat format = mSlots[buf].mGraphicBuffer->getPixelFormat(); local
115 PixelFormat flexFormat = format;
116 if (isPossiblyYUV(format)) {
132 if (format != HAL_PIXEL_FORMAT_YCbCr_420_888) {
133 CC_LOGV("locking buffer of format %#x as flex YUV", format);
135 } else if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
180 nativeBuffer->format
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java102 String.format("Buffer size %d must be positive.", bufferSize));
138 String.format("Index %d beyond length.", index));
164 String.format("Index %d is before buffer %d", index, mOffset));
236 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this));
266 String.format("Index %d is before buffer %d", index, mOffset));
284 Log.w(TAG, String.format(
307 Log.d(TAG, String.format("fill %d buffer: %s", i, this));
323 String.format("Index %d out of bounds. Length %d", i, mBuffer.length));
335 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled);
349 sb.append(String.format("
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java102 String.format("Buffer size %d must be positive.", bufferSize));
138 String.format("Index %d beyond length.", index));
164 String.format("Index %d is before buffer %d", index, mOffset));
236 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this));
266 String.format("Index %d is before buffer %d", index, mOffset));
284 Log.w(TAG, String.format(
307 Log.d(TAG, String.format("fill %d buffer: %s", i, this));
323 String.format("Index %d out of bounds. Length %d", i, mBuffer.length));
335 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled);
349 sb.append(String.format("
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java45 Frame(FrameFormat format, FrameManager frameManager) { argument
46 mFormat = format.mutableCopy();
50 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
51 mFormat = format.mutableCopy();
171 protected void setFormat(FrameFormat format) { argument
172 mFormat = format.mutableCopy();
H A DFilterSurfaceView.java116 int format,
120 mFormat = format;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/frameworks/av/media/mtp/
H A DMtpDevice.h83 MtpObjectHandleList* getObjectHandles(MtpStorageID storageID, MtpObjectFormat format,
93 MtpObjectPropertyList* getObjectPropsSupported(MtpObjectFormat format);
96 MtpProperty* getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format);
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DSvc.java85 String format = " %-" + maxlen + "s %s";
88 System.err.println(String.format(format, c.name(), c.shortHelp()));
/frameworks/base/media/java/android/mtp/
H A DMtpDevice.java130 * with the given format and parent.
134 * @param format the format of the object to return, or zero for all formats
139 public int[] getObjectHandles(int storageId, int format, int objectHandle) { argument
140 return native_get_object_handles(storageId, format, objectHandle);
159 * The size and format of the thumbnail data can be determined via
162 * For typical devices the format is JPEG.
246 private native int[] native_get_object_handles(int storageId, int format, int objectHandle); argument
/frameworks/base/tools/layoutlib/bridge/src/android/widget/
H A DSimpleMonthView_Delegate.java24 import android.text.format.DateFormat;
60 view.mTitle = delegate.mTitleFormatter.format(view.mCalendar.getTime());
73 return delegate.mDayOfWeekFormatter.format(view.mDayOfWeekLabelCalendar.getTime());
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedBitmapCache.java61 Log.d(TAG, String.format("AltBitmapCache: block %b", blocking));
88 Log.d(TAG, String.format(
96 Log.d(TAG, String.format("AltBitmapCache: %s notified",
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryCommitter.java64 Log.d(LOG_TAG, String.format("time to commit entries: %d ms", mTimeToCommit));
92 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage()));
95 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage()));
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format);
37 //virtual NBAIO_Format format();
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.h37 const char *desc, const sp<MetaData> &format);

Completed in 2819 milliseconds

1234567891011>>