/external/skia/src/utils/ |
SkBitmapTransformer.h | 16 * into the appropriate PixelFormat. 22 * - use existing SkCanvas::Config8888 enum instead of new PixelFormat enum 35 enum PixelFormat { 46 * the given bitmap and a pixel buffer with given pixelFormat. 49 * bitmap/pixelFormat combination is supported! 51 SkBitmapTransformer(const SkBitmap& bitmap, PixelFormat pixelFormat) : 52 fBitmap(bitmap), fPixelFormat(pixelFormat) {} 66 * bitmap's pixels if converted to pixelFormat. 69 // This is hard-coded for the single supported PixelFormat [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
QTDecompressionSession.h | 44 static PassOwnPtr<QTDecompressionSession> create(unsigned long pixelFormat, size_t width, size_t height); 54 QTDecompressionSession(unsigned long pixelFormat, size_t width, size_t height);
|
QTDecompressionSession.cpp | 46 PassOwnPtr<QTDecompressionSession> QTDecompressionSession::create(unsigned long pixelFormat, size_t width, size_t height) 48 return adoptPtr(new QTDecompressionSession(pixelFormat, width, height)); 51 QTDecompressionSession::QTDecompressionSession(unsigned long pixelFormat, size_t width, size_t height) 53 , m_pixelFormat(pixelFormat) 73 // The ICM does not know anything about the pixelFormat contained in
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDisplay.java | 3 import android.graphics.PixelFormat; 26 private int pixelFormat = PixelFormat.RGBA_4444; 66 return pixelFormat; 129 public void setPixelFormat(int pixelFormat) { 130 this.pixelFormat = pixelFormat;
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
WebGLLayer.mm | 63 -(CGLContextObj)copyCGLContextForPixelFormat:(CGLPixelFormatObj)pixelFormat 66 CGLCreateContext(pixelFormat, m_context->platformGraphicsContext3D(), &contextObj); 70 -(void)drawInCGLContext:(CGLContextObj)glContext pixelFormat:(CGLPixelFormatObj)pixelFormat forLayerTime:(CFTimeInterval)timeInterval displayTime:(const CVTimeStamp *)timeStamp 104 [super drawInCGLContext:glContext pixelFormat:pixelFormat forLayerTime:timeInterval displayTime:timeStamp];
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
DDSLoader.java | 110 private Format pixelFormat; 135 return new Image(pixelFormat, width, height, depth, data, sizes); 147 return new Image(pixelFormat, width, height, depth, data, sizes); 156 pixelFormat = Format.LATC; 196 pixelFormat = null; 245 * Reads the PixelFormat structure in a DDS file 266 pixelFormat = Image.Format.DXT1A; 268 pixelFormat = Image.Format.DXT1; 273 pixelFormat = Image.Format.DXT3; 277 pixelFormat = Image.Format.DXT5 [all...] |
HDRLoader.java | 292 Format pixelFormat; 294 pixelFormat = Format.RGBA8; 296 pixelFormat = Format.RGB16F; 299 dataStore = BufferUtils.createByteBuffer(width * height * pixelFormat.getBitsPerPixel()); 301 int bytesPerPixel = pixelFormat.getBitsPerPixel() / 8; 312 return new Image(pixelFormat, width, height, dataStore);
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglDisplay.java | 51 private PixelFormat pixelFormat;
88 PixelFormat pf = new PixelFormat(settings.getBitsPerPixel(),
98 if (created.get() && (pixelFormat.getBitsPerPixel() != pf.getBitsPerPixel()
99 ||pixelFormat.getDepthBits() != pf.getDepthBits()
100 ||pixelFormat.getStencilBits() != pf.getStencilBits()
101 ||pixelFormat.getSamples() != pf.getSamples())){
106 pixelFormat = pf;
135 Display.create(pixelFormat, attr); [all...] |
LwjglOffscreenBuffer.java | 55 private PixelFormat pixelFormat;
67 pixelFormat = new PixelFormat(settings.getBitsPerPixel(),
82 pbuffer = new Pbuffer(width, height, pixelFormat, null, null, createContextAttribs());
116 pbuffer = new Pbuffer(width, height, pixelFormat, null);
|
/external/skia/src/gpu/gl/win/ |
SkNativeGLContext_win.cpp | 99 int pixelFormat = 0; 100 if (!(pixelFormat = ChoosePixelFormat(fDeviceContext, &pfd))) { 106 if (!SetPixelFormat(fDeviceContext, pixelFormat, &pfd)) { 107 SkDebugf("Could not set the pixel format %d.\n", pixelFormat);
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
MacNative.h | 36 void getPixelFormatAttrib(void* pixelFormat,int attrib,int* val);
|
MacNative.m | 41 - (id) initWithFormat:(NSOpenGLPixelFormat *)pixelFormat shareContext:(NSOpenGLContext *)share; 46 - (id) initWithFormat:(NSOpenGLPixelFormat *)pixelFormat shareContext:(NSOpenGLContext *)share 48 self = [super initWithFormat:pixelFormat shareContext:share]; 78 void getPixelFormatAttrib(void* pixelFormat,int attrib,int* val){ 79 NSOpenGLPixelFormat *frmt = (NSOpenGLPixelFormat *)pixelFormat;
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.h | 15 * @param pixelFormat The yuv pixel format as defined in ui/PixelFormat.h. 17 * @return an encoder based on the pixelFormat. 19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
|
/external/webkit/Source/WebKit2/Shared/mac/ |
ShareableSurface.cpp | 93 unsigned pixelFormat = 'BGRA'; 103 values[2] = CFNumberCreate(0, kCFNumberIntType, &pixelFormat);
|
/external/webkit/Tools/DumpRenderTree/mac/ |
PixelDumpSupportMac.mm | 205 CGLPixelFormatObj pixelFormat; 207 if (CGLChoosePixelFormat(attributes, &pixelFormat, &num) == kCGLNoError) { 209 if (CGLCreateContext(pixelFormat, 0, &cgl_ctx) == kCGLNoError) { 230 CGLDestroyPixelFormat(pixelFormat);
|
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/ |
AndroidConfigChooser.java | 3 import android.graphics.PixelFormat; 24 protected int pixelFormat; 96 pixelFormat = getPixelFormat(choosenConfig, display, egl); 102 pixelFormat = PixelFormat.UNKNOWN; 109 int result = PixelFormat.RGB_565; 113 result = PixelFormat.RGBA_8888; 118 result = PixelFormat.RGBA_8888; 122 result = PixelFormat.RGB_888; 127 logger.log(Level.INFO, "Using PixelFormat {0}", result) [all...] |
/device/generic/goldfish/opengl/system/egl/ |
egl.cpp | 335 EGLint surfType, int32_t w, int32_t h, GLenum pixelFormat); 370 EGLBoolean egl_pbuffer_surface_t::init(GLenum pixelFormat) 382 pixelFormat); 395 GLenum pixelFormat) 399 if (pb && !pb->init(pixelFormat)) { 678 GLenum pixelFormat; 679 if (s_display.getConfigGLPixelFormat(config, &pixelFormat) == EGL_FALSE) 683 surfaceType, w, h, pixelFormat); [all...] |
/frameworks/native/opengl/libagl/ |
mipmap.cpp | 34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]); 46 const int bpr = w * pixelFormat.size;
|
texture.cpp | 285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); 286 const size_t size = src.height * src.stride * pixelFormat.size; 370 // convert the pixelformat to one we can handle 377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; 381 const int32_t stride = bpr / pixelFormat.size; [all...] |
egl.cpp | [all...] |
/hardware/ti/omap4xxx/camera/ |
AppCallbackNotifier.cpp | 476 const char *pixelFormat) 486 CAMHAL_LOGVB("pixelFormat= %s; offset=%d", pixelFormat,offset); 488 if (pixelFormat!=NULL) { 489 if (strcmp(pixelFormat, CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { 534 } else if (strcmp(pixelFormat, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || 535 strcmp(pixelFormat, CameraParameters::PIXEL_FORMAT_YUV420P) == 0) { 560 if (strcmp(pixelFormat, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { 608 } else if (strcmp(pixelFormat, CameraParameters::PIXEL_FORMAT_YUV420P) == 0) { 674 } else if(strcmp(pixelFormat, CameraParameters::PIXEL_FORMAT_RGB565) == 0) [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageBufferCG.cpp | 59 unsigned pixelFormat = 'BGRA'; 79 values[2] = CFNumberCreate(0, kCFNumberIntType, &pixelFormat);
|
/system/core/libpixelflinger/ |
buffer.cpp | 67 const GGLFormat& pixelFormat(c->formats[dst->format]); 68 const int32_t bpr = -dst->stride * pixelFormat.size;
|
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
test_sample_proxy.c | 700 pBlock[0].pixelFormat = PIXEL_FMT_8BIT; 703 pBlock[1].pixelFormat = PIXEL_FMT_16BIT; 712 pBlock[0].pixelFormat = PIXEL_FMT_PAGE; [all...] |
/prebuilts/tools/common/m2/internal/com/android/external/eclipse/swt/3.5.0/ |
swt-3.5.0.jar | |