Searched refs:format (Results 1 - 25 of 677) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A Dpackage-info.java4 package android.filterfw.format;
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java30 public void debug(String format, Object... args) { argument
32 info(format, args);
37 public void debugNoln(String format, Object... args) { argument
39 String s = String.format(format, args);
44 public void info(String format, Object... args) { argument
45 String s = String.format(format, args);
49 public void error(String format, Object... args) { argument
50 String s = String.format(forma
54 exception(Throwable t, String format, Object... args) argument
[all...]
H A DLogAbortException.java24 public LogAbortException(String format, Object... args) { argument
25 mFormat = format;
/frameworks/compile/libbcc/runtime/lib/
H A Deprintf.c26 void __eprintf(const char* format, const char* assertion_expression, argument
29 fprintf(stderr, format, assertion_expression, line, file);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_CharStar.c307 M4OSA_Char *format, ...)
326 "M4OSA_Char* %x)",pStrOut,strOutMaxLen,format);
329 M4OSA_DEBUG_IF2(M4OSA_NULL == format, M4ERR_PARAMETER,
332 va_start(marker,format);
335 pTemp = format;
387 err= vsnprintf((char *)pStrOut, (size_t)strOutMaxLen + 1, (const char *)format, marker);
401 newFormatLength = strlen((const char *)format) + 1;
412 /* copy format to newFormat, replacing %[flags][width][.precision]ll[conversion]
414 while(*format)
416 nbChar = strcspn((const char *)format, "
306 M4OSA_chrSPrintf(M4OSA_Char *pStrOut, M4OSA_UInt32 strOutMaxLen, M4OSA_Char *format, ...) argument
[all...]
H A DM4PSW_Trace.c40 * M4OSA_Char* format, ...)
46 * @param format (IN): the "printf" formated string
53 M4OSA_Int32 level, M4OSA_Char* format, ...)
60 va_start(marker,format); /* set ptr to first argument in the list of arguments passed to the function */
61 vsprintf((char *)message, (const char *)format,marker ); /* formats and writes the data into message */
52 M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , M4OSA_Int32 level, M4OSA_Char* format, ...) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSimpleFrameManager.java37 public Frame newFrame(FrameFormat format) { argument
38 return createNewFrame(format);
42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { argument
44 switch(format.getTarget()) {
46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId);
54 + FrameFormat.targetToString(format.getTarget()) + "!");
59 private Frame createNewFrame(FrameFormat format) { argument
61 switch(format.getTarget()) {
63 result = new SimpleFrame(format, this);
67 result = new NativeFrame(format, thi
[all...]
H A DSimpleFrame.java24 import android.filterfw.format.ObjectFormat;
37 SimpleFrame(FrameFormat format, FrameManager frameManager) { argument
38 super(format, frameManager);
39 initWithFormat(format);
44 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
45 SimpleFrame result = new SimpleFrame(format, frameManager);
50 private void initWithFormat(FrameFormat format) { argument
51 final int count = format.getLength();
52 final int baseType = format.getBaseType();
134 MutableFrameFormat format
[all...]
H A DCachedFrameManager.java44 public Frame newFrame(FrameFormat format) { argument
45 Frame result = findAvailableFrame(format, Frame.NO_BINDING, 0);
47 result = super.newFrame(format);
54 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { argument
55 Frame result = findAvailableFrame(format, bindingType, bindingId);
57 result = super.newBoundFrame(format, bindingType, bindingId);
130 private Frame findAvailableFrame(FrameFormat format, int bindingType, long bindingId) { argument
131 // Look for a frame that is compatible with the requested format
135 // Check that format is compatible
136 if (frame.getFormat().isReplaceableBy(format)) {
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DImageFormat.java28 * RGB format used for pictures encoded as RGB_565. See
34 * <p>Android YUV format.</p>
36 * <p>This format is exposed to software decoders and applications.</p>
38 * <p>YV12 is a 4:2:0 YCrCb planar format comprised of a WxH Y plane followed
41 * <p>This format assumes
57 * <p>This format is guaranteed to be supported for camera preview images since
76 * YCbCr format, used for video. Whether this format is supported by the
83 * YCrCb format used for images, which uses the NV21 encoding format
120 getBitsPerPixel(int format) argument
[all...]
H A DYuvImage.java39 * The YUV format as defined in {@link ImageFormat}.
70 * @param format The YUV data format as defined in {@link ImageFormat}.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
80 if (format != ImageFormat.NV21 &&
81 format != ImageFormat.YUY2) {
97 mStrides = calculateStrides(width, format);
103 mFormat = format;
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
H A DPixelFormat.java25 /** System chooses a format that supports translucency (many alpha bits) */
29 * System chooses a format that supports transparency
34 /** System chooses an opaque format (no alpha bits required) */
89 public static native void getPixelFormatInfo(int format, PixelFormat info); argument
90 public static boolean formatHasAlpha(int format) { argument
91 switch (format) {
/frameworks/native/libs/ui/
H A DPixelFormat.cpp78 ssize_t bytesPerPixel(PixelFormat format) argument
81 status_t err = getPixelFormatInfo(format, &info);
85 ssize_t bitsPerPixel(PixelFormat format) argument
88 status_t err = getPixelFormatInfo(format, &info);
92 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info) argument
94 if (format <= 0)
100 // YUV format from the HAL are handled here
101 switch (format) {
110 info->format = format;
[all...]
/frameworks/av/include/media/nbaio/
H A DNBAIO.h36 NEGOTIATE = 0x80000010, // Must (re-)negotiate format. For negotiate() only, the offeree
45 // Negotiation of format is based on the data provider and data sink, or the data consumer and
49 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
62 size_t Format_frameSize(NBAIO_Format format);
65 size_t Format_frameBitShift(NBAIO_Format format);
71 unsigned Format_sampleRate(NBAIO_Format format);
74 unsigned Format_channelCount(NBAIO_Format format);
114 // Return the current negotiated format, or Format_Invalid if negotiation has not been done,
116 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; } function in class:android::NBAIO_Port
119 NBAIO_Port(NBAIO_Format format) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp76 def.format.video.cMIMEType = const_cast<char *>(MEDIA_MIMETYPE_VIDEO_VPX);
77 def.format.video.pNativeRender = NULL;
78 def.format.video.nFrameWidth = mWidth;
79 def.format.video.nFrameHeight = mHeight;
80 def.format.video.nStride = def.format.video.nFrameWidth;
81 def.format.video.nSliceHeight = def.format.video.nFrameHeight;
82 def.format.video.nBitrate = 0;
83 def.format
[all...]
/frameworks/support/volley/src/com/android/volley/
H A DVolleyLog.java32 public static void v(String format, Object... args) { argument
34 Log.v(TAG, buildMessage(format, args));
38 public static void d(String format, Object... args) { argument
39 Log.d(TAG, buildMessage(format, args));
42 public static void e(String format, Object... args) { argument
43 Log.e(TAG, buildMessage(format, args));
46 public static void wtf(String format, Object... args) { argument
47 Log.wtf(TAG, buildMessage(format, args));
50 public static void wtf(Throwable tr, String format, Object... args) { argument
51 Log.wtf(TAG, buildMessage(format, arg
58 buildMessage(String format, Object... args) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaFormat.java24 * Encapsulates the information describing the format of media data,
27 * The format of the media data is specified as string/value pairs.
33 * <tr><td>{@link #KEY_MIME}</td><td>String</td><td>The type of the format.</td></tr>
70 * A key describing the sample rate of an audio format.
76 * A key describing the number of channels in an audio format.
82 * A key describing the width of the content in a video format.
88 * A key describing the height of the content in a video format.
106 * A key describing the color format of the content in a video format.
109 public static final String KEY_COLOR_FORMAT = "color-format";
[all...]
/frameworks/compile/llvm-ndk-cc/tests/
H A Dtest.py25 print('Could not find {0}'.format(Actual))
29 print('Could not find {0}'.format(Expect))
40 print('\nTesting {0}'.format(Filename))
44 ' -I{0}'.format(os.path.dirname(os.path.realpath(Filename))))
54 StdoutFile = open('{0}.stdout.txt'.format(FileBasename), 'w+')
55 StderrFile = open('{0}.stderr.txt'.format(FileBasename), 'w+')
69 print('STDOUT> {0}'.format(Line), end='')
71 print('STDERR> {0}'.format(Line), end='')
91 if not compareFile('{0}.stdout.txt'.format(FileBasename)):
95 if not compareFile('{0}.stderr.txt'.format(FileBasenam
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java17 package android.text.format;
76 value = String.format("%.2f", result);
79 value = String.format("%.1f", result);
81 value = String.format("%.2f", result);
85 value = String.format("%.0f", result);
87 value = String.format("%.2f", result);
90 value = String.format("%.0f", result);
98 * Returns a string in the canonical IP format ###.###.###.### from a packed integer containing
99 * the IP address. The IP address is expected to be in little-endian format (LSB first). That
103 * @return string with canonical IP address format
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageStitcher.java29 import android.filterfw.format.ImageFormat;
75 private FrameFormat calcOutputFormatForInput(FrameFormat format) { argument
76 MutableFrameFormat outputFormat = format.mutableCopy();
78 mInputWidth = format.getWidth();
79 mInputHeight = format.getHeight();
95 FrameFormat format = input.getFormat();
99 mOutputFrame = context.getFrameManager().newFrame(calcOutputFormatForInput(format));
101 if ((format.getWidth() != mInputWidth) ||
102 (format.getHeight() != mInputHeight)) {
103 // CHECK input format her
[all...]
H A DToRGBAFilter.java30 import android.filterfw.format.ImageFormat;
61 public FrameFormat getConvertedFormat(FrameFormat format) { argument
62 MutableFrameFormat result = format.mutableCopy();
68 public void createProgram(FilterContext context, FrameFormat format) { argument
69 mInputBPP = format.getBytesPerSample();
71 mLastFormat = format;
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c95 PCM *format; local
98 for (format = formats; format->numChannels; ++format) {
100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels,
101 format->milliHz / 1000, format->bitsPerSample);
109 format_pcm.numChannels = format->numChannels;
110 format_pcm.samplesPerSec = format->milliHz;
111 format_pcm.bitsPerSample = format
[all...]
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp39 info->format = ANDROID_BITMAP_FORMAT_RGBA_8888;
42 info->format = ANDROID_BITMAP_FORMAT_RGB_565;
45 info->format = ANDROID_BITMAP_FORMAT_RGBA_4444;
48 info->format = ANDROID_BITMAP_FORMAT_A_8;
51 info->format = ANDROID_BITMAP_FORMAT_NONE;
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestRunner.java198 Log.i(TAG, String.format("enable_iterations=%d", sEnableIterations));
199 Log.i(TAG, String.format("discoverable_iterations=%d", sDiscoverableIterations));
200 Log.i(TAG, String.format("scan_iterations=%d", sScanIterations));
201 Log.i(TAG, String.format("pair_iterations=%d", sPairIterations));
202 Log.i(TAG, String.format("connect_a2dp_iterations=%d", sConnectA2dpIterations));
203 Log.i(TAG, String.format("connect_headset_iterations=%d", sConnectHeadsetIterations));
204 Log.i(TAG, String.format("connect_input_iterations=%d", sConnectInputIterations));
205 Log.i(TAG, String.format("connect_pan_iterations=%d", sConnectPanIterations));
206 Log.i(TAG, String.format("start_stop_sco_iterations=%d", sStartStopScoIterations));
207 Log.i(TAG, String.format("device_addres
[all...]
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h42 int32_t format,
79 int32_t format,
105 if (nativeVisualId>0 && format == nativeVisualId) {
128 int format; local
133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument

Completed in 384 milliseconds

1234567891011>>