HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 951 - 975 of 4595) sorted by null

<<31323334353637383940>>

  /external/qemu/distrib/sdl-1.2.15/src/audio/mint/
SDL_mintaudio_xbios.c 335 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff));
336 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0)));
337 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0)));
345 spec->format |= 0x8000; /* Audio is always signed */
346 if ((spec->format & 0x00ff)==16) {
347 spec->format |= 0x1000; /* Audio is always big endian */
377 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff));
378 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0)));
379 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0)));
401 /* Select replay format */
    [all...]
SDL_mintaudio_dma8.c 203 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff));
204 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0)));
205 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0)));
213 spec->format = AUDIO_S8;
256 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff));
257 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0)));
258 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0)));
  /external/qemu/distrib/sdl-1.2.15/src/video/ipod/
SDL_ipodvideo.c 49 static SDL_Rect **iPod_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags);
310 static SDL_Rect **iPod_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags)
356 SDL_SetError ("Couldn't allocate new pixel format");
366 current->format->palette->colors[i+j].r = 85 * j;
367 current->format->palette->colors[i+j].g = 85 * j;
368 current->format->palette->colors[i+j].b = 85 * j;
384 if (SDL_VideoSurface && SDL_VideoSurface->format && SDL_VideoSurface->format->palette) {
388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j;
389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j
    [all...]
  /external/qemu/distrib/sdl-1.2.15/test/
testpalette.c 36 * in Gimp, saving in PPM ascii format and formatting with Emacs macros.
81 SDL_SetColors(bg, screen->format->palette->colors, 0, 256);
113 SDL_SetColors(z, s->format->palette->colors,
114 0, s->format->palette->ncolors);
182 SDL_MapRGB(boat[0]->format, 0xff, 0x00, 0xff));
183 boatcols = boat[0]->format->palette->ncolors;
186 SDL_MapRGB(boat[1]->format, 0xff, 0x00, 0xff));
203 boat[0]->format->palette->colors, 0, boatcols);
210 memcpy(cmap, screen->format->palette->colors, 256 * sizeof(SDL_Color));
213 red = SDL_MapRGB(screen->format, 0xff, 0x00, 0x00)
    [all...]
  /external/srec/portable/src/
plog.c 82 * @param format the format string specifying the next arguments (a la
90 static ESR_ReturnCode FileLoggerPrintf(PLogger *self, const LCHAR *format, ...)
96 va_start(args, format);
97 rc = pvfprintf(p->fp, format, args);
262 static ESR_ReturnCode logIt(const LCHAR *format, va_list args, ESR_BOOL showStackTrace)
274 if (strstr(format, "ESR_BUFFER_OVERFLOW")==format)
375 pvsprintf(buffer + LSTRLEN(buffer), format, args);
377 pvsprintf(buffer + LSTRLEN(buffer), format, args)
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FrameFormat.java 180 FrameFormat format = (FrameFormat)object; local
181 return format.mBaseType == mBaseType &&
182 format.mTarget == mTarget &&
183 format.mBytesPerSample == mBytesPerSample &&
184 Arrays.equals(format.mDimensions, mDimensions) &&
185 format.mMetaData.equals(mMetaData);
434 boolean isReplaceableBy(FrameFormat format) {
435 return mTarget == format.mTarget
436 && getSize() == format.getSize()
437 && Arrays.equals(format.mDimensions, mDimensions)
    [all...]
  /hardware/qcom/display/libgralloc/
mapper.cpp 256 //hnd->format holds our implementation defined format
258 switch (hnd->format) {
270 ALOGD("%s: Invalid format passed: 0x%x", __FUNCTION__,
271 hnd->format);
322 int format = va_arg(args, int); local
337 hnd->format = format;
348 int format = va_arg(args, int); local
355 hnd->format = format
363 int format = va_arg(args, int); local
    [all...]
  /hardware/qcom/display/libcopybit/
copybit_c2d.cpp 176 int format; member in struct:bufferInfo
254 /* convert COPYBIT_FORMAT to C2D format */
255 static int get_format(int format) {
256 switch (format) {
271 default: ALOGE("%s: invalid format (0x%x",
272 __FUNCTION__, format);
296 * \brief Get the bpp for a particular color format
297 * \param color format
386 static int is_supported_rgb_format(int format)
388 switch(format) {
447 int format = info.format; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
AndroidLaunchController.java 252 String msg = String.format(
303 String message = String.format("Performing %1$s", launchAction.getLaunchDescription());
388 AdtPlugin.printErrorToConsole(project, String.format(
405 AdtPlugin.printToConsole(project, String.format(
418 AdtPlugin.printToConsole(project, String.format(
508 AdtPlugin.printToConsole(project, String.format(
515 AdtPlugin.printToConsole(project, String.format(
539 AdtPlugin.printErrorToConsole(project, String.format(
546 AdtPlugin.printToConsole(project, String.format(
562 message = String.format("Automatic Target Mode: using existing emulator '%1$s' running compatible AVD '%2$s'"
    [all...]
  /external/qemu/slirp/
misc.c 554 void lprint(const char *format, ...)
558 va_start(args, format);
559 monitor_vprintf(cur_mon, format, args);
568 lprint(const char *format, ...)
576 va_start(args, format);
578 char *format; local
580 format = va_arg(args, char *);
587 (lprint_sb->sb_datalen - (strlen(format) + 100))) {
605 lprint_ptr += (*lprint_print)(*lprint_arg, format, args);
613 int len = strlen(format);
747 char *format; local
    [all...]
  /external/qemu/slirp-android/
misc.c 518 void lprint(const char *format, ...)
522 va_start(args, format);
523 monitor_vprintf(cur_mon, format, args);
532 lprint(const char *format, ...)
540 va_start(args, format);
542 char *format; local
544 format = va_arg(args, char *);
551 (lprint_sb->sb_datalen - (strlen(format) + 100))) {
569 lprint_ptr += (*lprint_print)(*lprint_arg, format, args);
577 int len = strlen(format);
711 char *format; local
    [all...]
  /external/valgrind/main/coregrind/
m_debuglog.c 484 #define VG_MSG_ALTFORMAT 32 /* Convert the value to alternate format */
650 const HChar* format,
666 for (i = 0; format[i] != 0; i++) {
667 if (format[i] != '%') {
668 send(format[i], send_arg2);
674 if (format[i] == 0)
676 if (format[i] == '%') {
686 switch (format[i]) {
704 /* If '#' follows '%', alternative format will be used. */
714 while (format[i] >= '0' && format[i] <= '9')
    [all...]
  /external/icu4c/i18n/
plurfmt.cpp 136 : Format(other),
202 PluralFormat::format(const Formattable& obj, function in class:PluralFormat
210 return format(obj.getDouble(), appendTo, pos, status);
218 PluralFormat::format(int32_t number, UErrorCode& status) const { function in class:PluralFormat
221 return format(number, result, fpos, status);
225 PluralFormat::format(double number, UErrorCode& status) const { function in class:PluralFormat
228 return format(number, result, fpos, status);
233 PluralFormat::format(int32_t number, function in class:PluralFormat
237 return format((double)number, appendTo, pos, status);
241 PluralFormat::format(double number function in class:PluralFormat
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
AsYouTypeFormatter.java 80 // used by the AYTF. It is eligible when the format element under numberFormat contains groups of
149 // When there are multiple available formats, the formatter uses the first format where a
167 } else { // Remove the current number format from possibleFormats.
181 for (NumberFormat format : formatList) {
183 format.isNationalPrefixOptionalWhenFormatting() ||
184 phoneUtil.formattingRuleHasFirstGroupOnly(format.getNationalPrefixFormattingRule())) {
185 if (isFormatEligible(format.getFormat())) {
186 possibleFormats.add(format);
193 private boolean isFormatEligible(String format) {
194 return ELIGIBLE_FORMAT_PATTERN.matcher(format).matches()
201 NumberFormat format = it.next(); local
    [all...]
  /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
JankTestBase.java 104 log(String.format("create directory %s failed, you can manually create "
123 String command = String.format(ATRACE_COMMAND, mTime);
154 Log.e(TAG, String.format("Run shell command: %s, status: %s",
207 String outputFile = String.format("%s_%d_trace", mTestCaseName, iteration);
227 * Expects a file from the command line via conf param or default following format each on its
253 * Expects a file from the command line via conf param or default following format each on its
299 log(String.format("create directory %s failed, you can manually create " +
306 String rawFileName = String.format("%s/%s_%d.txt", RAW_DATA_DIR, testCaseName, iteration);
340 String msg = String.format("%s, iteration %d\n" +
360 mStatusWriter.write(String.format("%s: %d success runs out of %d iterations\n"
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/
SoftAVCEncoder.cpp 392 def.format.video.cMIMEType = const_cast<char *>("video/raw");
393 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
394 def.format.video.eColorFormat = OMX_COLOR_FormatYUV420Planar;
395 def.format.video.xFramerate = (mVideoFrameRate << 16); // Q16 format
396 def.format.video.nBitrate = mVideoBitRate;
397 def.format.video.nFrameWidth = mVideoWidth;
398 def.format.video.nFrameHeight = mVideoHeight;
399 def.format.video.nStride = mVideoWidth;
400 def.format.video.nSliceHeight = mVideoHeight
    [all...]
  /frameworks/base/media/java/android/mtp/
MtpDatabase.java 70 // cached property groups for all properties for a given format
91 Files.FileColumns.FORMAT, // 2
96 Files.FileColumns.FORMAT, // 2
106 private static final String FORMAT_WHERE = Files.FileColumns.FORMAT + "=?";
109 + Files.FileColumns.FORMAT + "=?";
260 private int beginSendObject(String path, int format, int parent,
287 values.put(Files.FileColumns.FORMAT, format);
306 private void endSendObject(String path, int handle, int format, boolean succeeded) {
310 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST)
921 int format = 0; local
    [all...]
  /frameworks/native/opengl/libagl/
texture.cpp 178 #pragma mark Format conversion
198 static int32_t convertGLPixelFormat(GLint format, GLenum type)
202 switch (format) {
222 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type)
225 if (format<GL_ALPHA || format>GL_LUMINANCE_ALPHA) {
232 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) {
236 type == GL_UNSIGNED_SHORT_5_5_5_1) && format != GL_RGBA) {
276 if ((dst.format == src.format) &
1073 GLenum format; local
    [all...]
  /external/libxml2/
xmlsave.c 85 int format; member in struct:_xmlSaveCtxt
410 ret->format = 1;
412 ret->format = 2;
544 if (ctxt != NULL && ctxt->format == 2)
615 int format, level; local
648 format = ctxt->format;
651 ctxt->format = 0;
655 ctxt->format = format;
806 int format; local
1358 int format, addmeta = 0; local
    [all...]
  /hardware/qcom/media/mm-video/vidc/venc/src/
omx_video_encoder.cpp 251 m_sInPortDef.format.video.cMIMEType = "YUV420";
252 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH;
253 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT;
254 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH;
255 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT;
256 m_sInPortDef.format.video.nBitrate = 64000;
257 m_sInPortDef.format.video.xFramerate = 15 << 16;
258 m_sInPortDef.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
259 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
277 m_sOutPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH
    [all...]
  /external/icu4c/test/intltest/
plurfmts.cpp 98 errln("ERROR: clone plural format test failed!");
270 if (pluralFmt.format((int32_t)1, status) != UNICODE_STRING_SIMPLE("even")) {
282 plResult = pluralFmt.format(i, status);
489 UnicodeString plResult = plFmt.format(0.0, status); // retrun ONE
490 plResult = plFmt.format(0.5, status); // retrun ONE
491 plResult = plFmt.format(1.0, status); // retrun ONE
492 plResult = plFmt.format(1.9, status); // retrun ONE
493 plResult = plFmt.format(2.0, status); // retrun OTHER
530 UnicodeString result = pf.format(i, status);
532 errln("PluralFormat.format(value %d) failed - %s", i, u_errorName(status))
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
Vp8EncoderTest.java 102 MediaFormat format = MediaFormat.createVideoFormat(VP8_MIME, local
108 decoder.configure(format,
182 * Color format of input file should be YUV420, and frameWidth,
197 // Create a media format signifying desired output
198 MediaFormat format = MediaFormat.createVideoFormat(VP8_MIME, frameWidth, frameHeight); local
199 format.setInteger(MediaFormat.KEY_BIT_RATE, 100000);
200 format.setInteger(MediaFormat.KEY_COLOR_FORMAT,
202 format.setInteger(MediaFormat.KEY_FRAME_RATE, 30);
207 encoder.configure(format,
  /external/icu4c/i18n/unicode/
udat.h 23 * <h2> Date Format C API</h2>
25 * Date Format C API consists of functions that convert dates and
33 * Date Format helps you to format and parse dates for any locale. Your code can
35 * week, or even the calendar format: lunar vs. solar.
37 * To format a date for the current Locale with default time and date style,
54 * format and use it multiple times so that the system doesn't have to fetch the
94 * printf("date format: %s\n", u_austrcpy(buffer, myString));
99 * To format a date for a different Locale, specify it in the call to
125 * You can also set the time zone on the format if you wish
    [all...]
  /external/icu4c/io/
uscanf_p.c 79 * Struct encapsulating a single uscanf format specification.
84 UChar fSpec; /* Format specification */
98 * Struct encapsulating a single u_scanf format specification.
106 * Parse a single u_scanf format specifier in Unicode.
107 * @param fmt A pointer to a '%' character in a u_scanf format specification.
109 * format specifier.
163 /* Get any format flags */
272 /* C K is old format */
274 /* S U is old format */
283 * format specification, for example 'd' or 's'
423 UNumberFormat *format; local
488 UNumberFormat *format; local
675 UNumberFormat *format; local
748 UNumberFormat *format; local
972 UNumberFormat *format; local
    [all...]
  /external/protobuf/src/google/protobuf/io/
gzip_stream.cc 1 // Protocol Buffers - Google's data interchange format
50 ZeroCopyInputStream* sub_stream, Format format, int buffer_size)
51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK) {
172 : format(GZIP),
187 ZeroCopyOutputStream* sub_stream, Format format, int buffer_size) {
189 options.format = format;
216 // default to GZIP format
    [all...]

Completed in 5644 milliseconds

<<31323334353637383940>>