Searched defs:fmt (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/wilhelm/src/desktop/
H A DSDL.c47 SDL_AudioSpec fmt; local
48 fmt.freq = 44100;
49 fmt.format = AUDIO_S16;
50 fmt.channels = STEREO_CHANNELS;
52 fmt.samples = SndFile_BUFSIZE;
54 fmt.samples = SndFile_BUFSIZE / sizeof(short);
56 fmt.callback = SDL_callback;
57 fmt.userdata = (void *) thisEngine;
59 if (SDL_OpenAudio(&fmt, NULL) < 0) {
/frameworks/base/libs/hwui/utils/
H A DTraceUtils.h21 #define ATRACE_FORMAT(fmt, ...) \
22 TraceUtils::TraceEnder __traceEnder = (TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__), TraceUtils::TraceEnder())
24 #define ATRACE_FORMAT_BEGIN(fmt, ...) \
25 TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__)
37 static void atraceFormatBegin(const char* fmt, ...) { argument
44 va_start(ap, fmt);
45 vsnprintf(buf, BUFFER_SIZE, fmt, ap);
/frameworks/base/tools/aapt/
H A DIndentPrinter.h20 void print(const char* fmt, ...) { argument
23 va_start(args, fmt);
24 vfprintf(mStream, fmt, args);
28 void println(const char* fmt, ...) { argument
31 va_start(args, fmt);
32 vfprintf(mStream, fmt, args);
H A DSourcePos.cpp114 SourcePos::error(const char* fmt, ...) const argument
117 va_start(ap, fmt);
118 String8 msg = String8::formatV(fmt, ap);
124 SourcePos::warning(const char* fmt, ...) const argument
127 va_start(ap, fmt);
128 String8 msg = String8::formatV(fmt, ap);
134 SourcePos::printf(const char* fmt, ...) const argument
137 va_start(ap, fmt);
138 String8 msg = String8::formatV(fmt, ap);
/frameworks/base/libs/common_time/
H A Dutils.cpp67 void LogRing::log(int prio, const char* tag, const char* fmt, ...) { argument
69 va_start(argp, fmt);
70 internalLog(prio, tag, fmt, argp);
74 void LogRing::log(const char* fmt, ...) { argument
76 va_start(argp, fmt);
77 internalLog(0, NULL, fmt, argp);
83 const char* fmt,
87 String8 s(String8::formatV(fmt, argp));
110 LOG_PRI_VA(prio, tag, fmt, argp);
81 internalLog(int prio, const char* tag, const char* fmt, va_list argp) argument
/frameworks/base/rs/java/android/renderscript/
H A DProgramFragmentFixedFunction.java244 * @param fmt specifies the format of the texture and how its
251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument
256 mSlots[slot] = new Slot(env, fmt);
/frameworks/av/media/libnbaio/
H A DNBLog.cpp103 void NBLog::Writer::logf(const char *fmt, ...) argument
109 va_start(ap, fmt);
110 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter
114 void NBLog::Writer::logvf(const char *fmt, va_list ap) argument
120 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap);
231 void NBLog::LockedWriter::logf(const char *fmt, ...) argument
236 va_start(ap, fmt);
237 Writer::logvf(fmt, ap);
241 void NBLog::LockedWriter::logvf(const char *fmt, va_list ap) argument
245 Writer::logvf(fmt, a
[all...]
/frameworks/av/media/ndk/
H A DNdkImage.cpp186 int32_t fmt = mBuffer->flexFormat; local
187 switch (fmt) {
222 ALOGE("Pixel format: 0x%x is unsupported", fmt);
241 int32_t fmt = mBuffer->flexFormat; local
242 switch (fmt) {
296 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt);
355 int32_t fmt = mBuffer->flexFormat; local
357 switch (fmt) {
491 ALOGE("Pixel format: 0x%x is unsupported", fmt);
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp433 int32_t fmt = streamConfigs.data.i32[i]; local
434 if (fmt == ANDROID_SCALER_AVAILABLE_FORMATS_IMPLEMENTATION_DEFINED) {
/frameworks/base/cmds/idmap/
H A Dinspect.cpp17 void printe(const char *fmt, ...);
114 void printe(const char *fmt, ...) { argument
117 va_start(ap, fmt);
119 vfprintf(stderr, fmt, ap);
127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument
130 va_start(ap, fmt);
132 vprintf(fmt, ap);
137 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument
140 va_start(ap, fmt);
142 vprintf(fmt, a
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp337 static int log_callback(int type, const char *fmt, ...) { argument
352 va_start(ap, fmt);
353 LOG_PRI_VA(priority, "SELinux", fmt, ap);
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp157 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)",
418 int32_t fmt = 0; local
419 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt);
425 return fmt;
435 int32_t fmt = 0; local
436 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt);
442 return fmt;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelBar.java31 public static final void LOG(String fmt, Object... args) { argument
33 Log.v(TAG, String.format(fmt, args));
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp712 int fmt = -1; local
715 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt));
716 EXPECT_EQ(fmts[i], fmt);
/frameworks/base/media/java/android/media/
H A DImageReader.java870 int fmt, int maxImgs);
869 nativeInit(Object weakSelf, int w, int h, int fmt, int maxImgs) argument
/frameworks/native/cmds/installd/
H A Dotapreopt.cpp624 static int log_callback(int type, const char *fmt, ...) { argument
639 va_start(ap, fmt);
640 LOG_PRI_VA(priority, "SELinux", fmt, ap);
H A Dinstalld.cpp666 static int log_callback(int type, const char *fmt, ...) { argument
681 va_start(ap, fmt);
682 LOG_PRI_VA(priority, "SELinux", fmt, ap);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_reduce.java104 result += "(" + fmt.format(inputCells) + " cells";
106 result += ", " + fmt.format(inputBytes) + " bytes";
112 private static java.text.DecimalFormat fmt; field in class:UT_reduce.timing
114 fmt = new java.text.DecimalFormat("###,###");
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c1857 VO_AUDIO_FORMAT* fmt = (VO_AUDIO_FORMAT*)pData; local
1858 fmt->Channels = 1;
1859 fmt->SampleRate = 16000;
1860 fmt->SampleBits = 16;
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp524 "Camera %d: Error creating output stream (%d x %d, fmt %x, dataSpace %x): %s (%d)",
647 int32_t fmt = streamConfigs.data.i32[i]; local
652 if (fmt == format) {
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp748 int32_t fmt = applyFormatOverrides( local
755 if (isPossiblyYUV(fmt)) {
756 fmt = HAL_PIXEL_FORMAT_YCbCr_420_888;
759 fmt, buffer->mDataSpace);
H A Dandroid_media_Utils.cpp665 int32_t fmt = buffer->flexFormat; local
667 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat);
668 fmt = applyFormatOverrides(fmt, containerFormat);
669 switch (fmt) {
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp563 FormatBuf fmt; local
565 format_bytes(&fmt, accumPtr, mtls->accumSize);
567 fmt[0] = 0;
570 mtls->accumFunc, idx, xStart, xEnd, fmt);
602 FormatBuf fmt; local
604 format_bytes(&fmt, accumPtr, mtls->accumSize);
606 fmt[0] = 0;
609 mtls->accumFunc, idx, yStart, yEnd, fmt);
637 FormatBuf fmt; local
639 format_bytes(&fmt, accumPt
787 FormatBuf fmt; local
806 FormatBuf fmt; local
815 FormatBuf fmt; local
[all...]
/frameworks/av/camera/
H A DCameraParameters.cpp500 char* fmt = strtok_r(prevFmts, ",", &savePtr); local
501 while (fmt) {
502 int actual = previewFormatToEnum(fmt);
506 fmt = strtok_r(NULL, ",", &savePtr);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2256 const char *fmt; local
2259 fmt = CameraParameters::PIXEL_FORMAT_YUV422SP;
2262 fmt = CameraParameters::PIXEL_FORMAT_YUV420SP;
2265 fmt = CameraParameters::PIXEL_FORMAT_YUV422I;
2268 fmt = CameraParameters::PIXEL_FORMAT_YUV420P;
2271 fmt = CameraParameters::PIXEL_FORMAT_RGB565;
2274 fmt = CameraParameters::PIXEL_FORMAT_RGBA8888;
2278 fmt = CameraParameters::PIXEL_FORMAT_BAYER_RGGB;
2283 fmt = NULL;
2286 return fmt;
[all...]

Completed in 2710 milliseconds

12