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

<<21222324252627282930>>

  /external/qemu/distrib/sdl-1.2.15/src/video/directfb/
SDL_DirectFB_video.c 55 static SDL_Rect **DirectFB_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags);
228 static DFBSurfacePixelFormat SDLToDFBPixelFormat (SDL_PixelFormat *format)
230 if (format->Rmask && format->Gmask && format->Bmask)
232 switch (format->BitsPerPixel)
238 if (format->Rmask == 0xF800 &&
239 format->Gmask == 0x07E0 &&
240 format->Bmask == 0x001F)
245 if (format->Rmask == 0x7C00 &
    [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c 330 imageinfo->format = GetYUVformat(Data);
331 switch (imageinfo->format) {
333 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV420PackedPlanar\n");
336 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV411Planar\n");
339 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV422Interleaved\n");
342 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV444Interleaved\n");
345 printf("APP:: Image chroma format is OMX_COLOR_FormatL8 \n");
348 printf("APP:: Cannot find Image chroma format \n");
349 imageinfo->format = OMX_COLOR_FormatUnused;
358 imageinfo->format= 1
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_bmp.c 25 Code to load and save surfaces in Windows BMP format.
27 Why support BMP format? Well, it's a native format for Windows, and
29 to be able to have at least one image format that we can natively load
177 /* Default values for the BMP format */
232 palette = (surface->format)->palette;
390 if ( saveme->format->palette ) {
391 if ( saveme->format->BitsPerPixel == 8 ) {
395 saveme->format->BitsPerPixel);
398 else if ( (saveme->format->BitsPerPixel == 24) &
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/arts/
SDL_artsaudio.c 280 Uint16 test_format, format; local
288 /* Try for a closest match on audio format */
289 format = 0;
291 for ( test_format = SDL_FirstAudioFormat(spec->format);
292 ! format && test_format; ) {
294 fprintf(stderr, "Trying format 0x%4.4x\n", test_format);
299 format = 1;
303 format = 1;
306 format = 0;
309 if ( ! format ) {
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/bsd/
SDL_bsdaudio.c 305 Uint16 format; local
333 for (format = SDL_FirstAudioFormat(spec->format);
334 format; format = SDL_NextAudioFormat())
336 switch(format) {
368 if(!format) {
369 SDL_SetError("No supported encoding for 0x%x", spec->format);
373 spec->format = format;
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/windx5/
SDL_dx5yuv.c 50 int width, int height, Uint32 format)
70 ddsd.ddpfPixelFormat.dwFourCC = format;
86 /* Make sure the surface format was set properly */
99 (ddsd.ddpfPixelFormat.dwFourCC != format) ) {
100 SDL_SetError("DDraw didn't use requested FourCC format");
122 SDL_Overlay *DX5_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display)
131 printf("FOURCC format requested: 0x%x\n", PrintFOURCC(format));
157 overlay->format = format;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
TextureManager.cpp 117 m_memoryUseBytes += memoryUseBytes(info.size, info.format);
126 m_memoryUseBytes -= memoryUseBytes(info.size, info.format);
133 unsigned TextureManager::requestTexture(TextureToken token, IntSize size, unsigned format, bool* newTexture)
140 ASSERT(it->second.size != size || it->second.format != format);
144 size_t memoryRequiredBytes = memoryUseBytes(size, format);
157 GLC(m_context.get(), m_context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, format, size.width(), size.height(), 0, format, GraphicsContext3D::UNSIGNED_BYTE));
160 info.format = format;
    [all...]
  /frameworks/base/services/java/com/android/server/
CommonTimeManagementService.java 188 pw.println(String.format(
202 pw.println(String.format(" Native service : %s",
205 pw.println(String.format(" Bound interface : %s",
207 pw.println(String.format(" Allow WiFi : %s", ALLOW_WIFI ? "yes" : "no"));
208 pw.println(String.format(" Allow Auto Disable : %s", AUTO_DISABLE ? "yes" : "no"));
209 pw.println(String.format(" Server Priority : %d", mEffectivePrio));
210 pw.println(String.format(" No iface timeout : %d", NO_INTERFACE_TIMEOUT));
264 Log.w(TAG, String.format("Native service died, will reconnect in %d mSec",
343 Log.e(TAG, String.format("Binding common time service to %s.", bindIface));
351 Log.e(TAG, String.format("Switching common time service binding from %s to %s."
    [all...]
  /external/icu4c/test/intltest/
dadrfmt.cpp 34 driver = TestDataModule::getTestDataModule("format", *this, status);
67 dataerrln("format/DataDriven*Test data (format.res) not initialized!");
156 DateFormat *format = NULL; local
164 format = new SimpleDateFormat(pattern, loc, status);
174 format = DateFormat::createDateTimeInstance((DateFormat::EStyle)styleSet.getDateStyle(), (DateFormat::EStyle)styleSet.getTimeStyle(), loc);
175 if(format == NULL ) {
189 format->setTimeZone(*tz);
249 format->format(fromDate, output, pos, status)
    [all...]
dtptngts.cpp 405 SimpleDateFormat *format = new SimpleDateFormat(findPattern, deLocale, status); local
415 delete format;
418 format->setTimeZone(*zone);
421 dateReturned = format->format(sampleDate, dateReturned, status);
435 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status));
437 dateReturned = format->format(sampleDate, dateReturned, status);
442 delete format;
445 format = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull,
    [all...]
  /external/webkit/Source/WebCore/inspector/front-end/
Color.js 140 toString: function(format)
142 if (!format)
143 format = this.format;
145 switch (format) {
166 throw "invalid color format";
290 this.format = "nickname";
309 this.format = "shorthex";
312 this.format = "hex";
316 this.format = "rgb"
    [all...]
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 44 format =
57 format =
73 format = inFormat;
86 format = buffer->format;
132 if (handle && w==width && h==height && f==format && reqUsage==usage)
143 status_t GraphicBuffer::initSize(uint32_t w, uint32_t h, PixelFormat format,
147 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
151 this->format = format;
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
OutputFinisher.java 276 * No need to call this.set(), since the format and other info
359 * the format out of each instruction into a separate array, to be
382 * @param formats {@code non-null;} array of per-instruction format selections
411 * No need to call this.set() since the format and
431 * @param formats {@code non-null;} array of per-instruction format selections
472 * Attempts to fit the given instruction into a format, returning
473 * either a format that the instruction fits into or {@code null}
475 * fitting process starts with the given format as a first "best
479 * @param format {@code null-ok;} the current guess as to the best instruction
480 * format to use; {@code null} means that no simple format fit
546 InsnFormat format = formats[i]; local
673 InsnFormat format = dop.getFormat(); local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/test/
testvidinfo.c 100 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, r, g, b));
108 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, r, g, b));
116 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, r, g, b));
129 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
144 bmp->w, bmp->h, bmp->format->BitsPerPixel);
158 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
173 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel);
189 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
205 printf("Running display format blit test: %dx%d at %d bpp, flags: ",
206 bmp->w, bmp->h, bmp->format->BitsPerPixel)
    [all...]
  /frameworks/base/core/java/android/text/format/
DateFormat.java 17 package android.text.format;
40 * <p>Most callers should avoid supplying their own format strings to this
41 * class' {@code format} methods and rely on the correctly localized ones
45 * of format strings, see {@link java.text.SimpleDateFormat}.
50 * <p>The {@code format} methods in this class implement a subset of Unicode
52 * The subset currently supported by this class includes the following format characters:
59 * Note that the non-{@code format} methods in this class are implemented by
126 * Returns true if user preference is set to 24-hour format.
128 * @return true if 24 hour time format is selected, false otherwise.
172 * locale. A skeleton is similar to, and uses the same format characters as, a Unicod
247 String format = getDateFormatStringForSetting(context, value); local
365 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat
376 public static CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat
461 public static CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat
    [all...]
  /hardware/qcom/media/libc2dcolorconvert/
C2DColorConverter.cpp 66 virtual bool isYUVSurface(ColorConvertFormat format);
67 virtual void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
70 virtual uint32_t getC2DFormat(ColorConvertFormat format);
71 virtual size_t calcStride(ColorConvertFormat format, size_t width);
72 virtual size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
73 virtual size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
76 virtual size_t calcLumaAlign(ColorConvertFormat format);
77 virtual size_t calcSizeAlign(ColorConvertFormat format);
268 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format)
270 switch (format) {
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/
ExecutionUtils.java 120 public static void runRethrow(RunnableEx runnable, String format, Object... args) {
124 String message = String.format(format, args);
254 public static <T> T runObject(RunnableObjectEx<T> runnable, String format, Object... args) {
258 String message = String.format(format, args);
  /external/icu4c/i18n/unicode/
decimfmt.h 70 * and format numbers in any locale, including support for Western, Arabic, or
94 * // format for each locale.
101 * cout << endl << "FORMAT " << j << endl;
119 * cout << " -> " << form->format(myNumber,str) << endl;
120 * form->parse(form->format(myNumber,str), fmtable, success);
132 * // format for each locale</strong>
141 * NumberFormat* format = NumberFormat::createInstance(locale, j, success);
143 * cout << "format result " << form->format(myNumber, str) << endl;
144 * format->parse(form->format(myNumber, str), fmtable, success)
2428 DecimalFormat::format(const Formattable& obj, function in class:DecimalFormat
2437 DecimalFormat::format(double number, function in class:DecimalFormat
2444 DecimalFormat::format(int32_t number, function in class:DecimalFormat
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
TextureBlenderDDS.java 13 import com.jme3.texture.Image.Format;
33 Format format = texture.getImage().getFormat(); local
50 switch (format) {
64 LOGGER.log(Level.WARNING, "Image type not yet supported for blending: {0}", format);
67 throw new IllegalStateException("Invalid image format type for DDS texture blender: " + format);
89 return new Texture2D(new Image(format, width, height, newData));
93 return new Texture3D(new Image(format, width, height, depth, dataArray));
  /external/v8/src/
v8utils.h 41 // On gcc we can ask the compiler to check the types of %d-style format
48 #define PRINTF_CHECKING __attribute__ ((format (printf, 1, 2)))
49 #define FPRINTF_CHECKING __attribute__ ((format (printf, 2, 3)))
57 void PRINTF_CHECKING PrintF(const char* format, ...);
58 void FPRINTF_CHECKING PrintF(FILE* out, const char* format, ...);
266 void AddFormatted(const char* format, ...);
269 void AddFormattedList(const char* format, va_list list);
  /external/webkit/Source/JavaScriptCore/dfg/
DFGGenerationInfo.h 57 // details of the format in memory (all values are spilled in a boxed form, but we may be
89 void initJSValue(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr, DataFormat format = DataFormatJS)
91 ASSERT(format & DataFormatJS);
95 m_registerFormat = format;
147 // Get the format of the value in machine registers (or 'none').
149 // Get the format of the value as it is spilled in the RegisterFile (or 'none').
193 // tracking which registers, and what format the value has.
194 void fillJSValue(GPRReg gpr, DataFormat format = DataFormatJS)
196 ASSERT(format & DataFormatJS);
197 m_registerFormat = format;
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Texture.cpp 28 : width(0), height(0), dirty(false), surface(NULL), format(GL_NONE)
187 D3DFORMAT format = getD3DFormat(); local
189 switch(format)
207 // Selects an internal Direct3D 9 format for storing an Image
208 D3DFORMAT Texture::selectFormat(GLenum format, GLenum type)
210 if (format == GL_COMPRESSED_RGB_S3TC_DXT1_EXT ||
211 format == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
225 if (format == GL_LUMINANCE && getContext()->supportsLuminanceTextures())
229 else if (format == GL_LUMINANCE_ALPHA && getContext()->supportsLuminanceAlphaTextures())
233 else if (format == GL_RGB
1513 D3DFORMAT format = selectFormat(mImageArray[0].format, mType); local
1564 D3DFORMAT format = selectFormat(mImageArray[0].format, mType); local
1949 D3DFORMAT format = selectFormat(mImageArray[0][0].format, mType); local
2005 D3DFORMAT format = selectFormat(mImageArray[0][0].format, mType); local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/openvg/
VGUtils.cpp 123 int VGUtils::bytesForImage(VGImageFormat format, VGint width, VGint height)
125 return width * height * imageFormatBitsPerPixel(format) / 8;
128 int VGUtils::bytesForImageScanline(VGImageFormat format, VGint width)
130 int bits = width * imageFormatBitsPerPixel(format);
137 int VGUtils::imageFormatBitsPerPixel(VGImageFormat format)
139 switch (format) {
  /frameworks/base/core/java/android/widget/
Chronometer.java 25 import android.text.format.DateUtils;
44 * to format the timer value into an arbitrary string.
136 * Sets the format string used for display. The Chronometer will display
140 * If the format string is null, or if you never call setFormat(), the
144 * @param format the format string.
147 public void setFormat(String format) {
148 mFormat = format;
149 if (format != null && mFormatBuilder == null) {
150 mFormatBuilder = new StringBuilder(format.length() * 2)
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
Frame.java 46 Frame(FrameFormat format, FrameManager frameManager) {
47 mFormat = format.mutableCopy();
51 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) {
52 mFormat = format.mutableCopy();
172 protected void setFormat(FrameFormat format) {
173 mFormat = format.mutableCopy();

Completed in 2380 milliseconds

<<21222324252627282930>>