HomeSort by relevance Sort by last modified time
    Searched full:pixelformat (Results 1 - 25 of 702) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 20 import android.graphics.PixelFormat;
24 private PixelFormat mPixelFormat;
34 // new the PixelFormat instance
35 mPixelFormat = new PixelFormat();
40 // new the PixelFormat instance
41 mPixelFormat = new PixelFormat();
43 PixelFormat.getPixelFormatInfo(PixelFormat.RGBA_8888, mPixelFormat);
47 PixelFormat.getPixelFormatInfo(PixelFormat.RGBX_8888, mPixelFormat)
    [all...]
  /frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
SurfaceCompositionTest.java 19 import android.graphics.PixelFormat;
44 PixelFormat.TRANSLUCENT,
45 PixelFormat.OPAQUE,
78 int pixelFormat = TEST_PIXEL_FORMATS[i];
79 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat);
80 CompositorScore score = getActivity().measureCompositionScore(pixelFormat);
87 if (pixelFormat == PixelFormat.TRANSLUCENT) {
101 int pixelFormat = TEST_PIXEL_FORMATS[i];
102 String formatName = SurfaceCompositionMeasuringActivity.getPixelFormatInfo(pixelFormat);
    [all...]
SurfaceCompositionMeasuringActivity.java 29 import android.graphics.PixelFormat;
52 * measureCompositionScore(pixelFormat)
57 * measureAllocationScore(pixelFormat)
79 PixelFormat.TRANSLUCENT,
80 PixelFormat.TRANSPARENT,
81 PixelFormat.OPAQUE,
82 PixelFormat.RGBA_8888,
83 PixelFormat.RGBX_8888,
84 PixelFormat.RGB_888,
85 PixelFormat.RGB_565
    [all...]
  /external/robolectric/v1/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;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdipluspixelformats.h 30 typedef INT PixelFormat;
95 static __inline__ UINT GetPixelFormatSize(PixelFormat pixfmt)
100 static __inline__ BOOL IsAlphaPixelFormat(PixelFormat pixfmt)
105 static __inline__ BOOL IsCanonicalPixelFormat(PixelFormat pixfmt)
110 static __inline__ BOOL IsExtendedPixelFormat(PixelFormat pixfmt)
115 static __inline__ BOOL IsIndexedPixelFormat(PixelFormat pixfmt)
  /external/opencv3/modules/videoio/src/
cap_pvapi.cpp 295 char pixelFormat[256];
296 PvAttrEnumGet(Camera.Handle, "PixelFormat", pixelFormat,256,NULL);
297 if (strcmp(pixelFormat, "Mono8")==0)
299 else if (strcmp(pixelFormat, "Mono16")==0)
301 else if (strcmp(pixelFormat, "Bayer8")==0)
303 else if (strcmp(pixelFormat, "Bayer16")==0)
305 else if (strcmp(pixelFormat, "Rgb24")==0)
307 else if (strcmp(pixelFormat, "Bgr24")==0)
309 else if (strcmp(pixelFormat, "Rgba32")==0
    [all...]
  /external/autotest/client/site_tests/hardware_VideoDecodeCapable/src/
v4l2module.cc 33 pixel_format[0] = format_desc.pixelformat & 0xFF;
34 pixel_format[1] = (format_desc.pixelformat >> 8) & 0xFF;
35 pixel_format[2] = (format_desc.pixelformat >> 16) & 0xFF;
36 pixel_format[3] = (format_desc.pixelformat >> 24) & 0xFF;
  /external/mesa3d/src/mesa/drivers/windows/gdi/
wmesadef.h 28 int pixelformat; member in struct:wmesa_framebuffer
  /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/skia/src/gpu/vk/
GrVkTextureRenderTarget.cpp 32 VkFormat pixelFormat;
33 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat);
43 msImageDesc.fFormat = pixelFormat;
64 if (pixelFormat == format) {
68 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat,
85 if (pixelFormat == format && !resolveAttachmentView) {
89 colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
  /frameworks/base/media/java/android/media/
ImageUtils.java 20 import android.graphics.PixelFormat;
36 * {@link android.graphics.PixelFormat PixelFormat} are supported by
38 * {@link android.graphics.PixelFormat PixelFormat} can be used; when
51 case PixelFormat.RGB_565:
52 case PixelFormat.RGBA_8888:
53 case PixelFormat.RGBX_8888:
54 case PixelFormat.RGB_888:
206 case PixelFormat.RGB_565
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DrawableContainerStateTest.java 22 import android.graphics.PixelFormat;
222 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity());
225 dr0.setOpacity(PixelFormat.OPAQUE);
228 assertEquals(PixelFormat.OPAQUE, mDrawableContainerState.getOpacity());
231 dr1.setOpacity(PixelFormat.TRANSPARENT);
234 assertEquals(PixelFormat.TRANSPARENT, mDrawableContainerState.getOpacity());
237 dr2.setOpacity(PixelFormat.TRANSLUCENT);
240 assertEquals(PixelFormat.TRANSLUCENT, mDrawableContainerState.getOpacity());
243 dr3.setOpacity(PixelFormat.UNKNOWN);
246 assertEquals(PixelFormat.UNKNOWN, mDrawableContainerState.getOpacity())
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 24 public class PixelFormat {
94 public static void getPixelFormatInfo(int format, PixelFormat info) {
134 case PixelFormat.A_8:
135 case PixelFormat.LA_88:
136 case PixelFormat.RGBA_4444:
137 case PixelFormat.RGBA_5551:
138 case PixelFormat.RGBA_8888:
139 case PixelFormat.TRANSLUCENT:
140 case PixelFormat.TRANSPARENT:
  /frameworks/base/include/android_runtime/
android_view_Surface.h 34 * android.graphics.PixelFormat
73 /* Convert from android.graphics.ImageFormat/PixelFormat enums to graphics.h HAL
77 /* Convert from android.graphics.ImageFormat/PixelFormat enums to graphics.h HAL
83 * android.graphics.ImageFormat/PixelFormat.
  /frameworks/native/include/ui/
PixelFormat.h 35 // in graphics/PixelFormat.java & pixelflinger/format.h
65 typedef int32_t PixelFormat;
67 uint32_t bytesPerPixel(PixelFormat format);
68 uint32_t bitsPerPixel(PixelFormat format);
GraphicBuffer.h 24 #include <ui/PixelFormat.h>
76 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
80 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
94 PixelFormat getPixelFormat() const { return format; }
104 PixelFormat inFormat, uint32_t inUsage);
107 PixelFormat inFormat, uint32_t inUsage);
162 status_t initSize(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJCompressor.java 66 * @param pixelFormat pixel format of the source image (one of
70 int height, int pixelFormat) throws Exception {
71 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat);
80 int pixelFormat) throws Exception {
81 setSourceImage(srcImage, width, pitch, height, pixelFormat);
126 * <code>width * TJ.pixelSize(pixelFormat)</code> if the source image is
132 * <code>width * TJ.pixelSize(pixelFormat)</code>.
137 * @param pixelFormat pixel format of the source image (one of
141 int pitch, int height, int pixelFormat)
145 pitch < 0 || pixelFormat < 0 || pixelFormat >= TJ.NUMPF
    [all...]
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
GlTextureFrameBuffer.java 41 private final int pixelFormat;
49 public GlTextureFrameBuffer(int pixelFormat) {
50 switch (pixelFormat) {
54 this.pixelFormat = pixelFormat;
57 throw new IllegalArgumentException("Invalid pixel format: " + pixelFormat);
102 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, pixelFormat, width, height, 0, pixelFormat,
  /external/webrtc/webrtc/modules/video_render/mac/
cocoa_render_view.mm 23 self = [super initWithFrame:[self frame] pixelFormat:fmt];
43 self = [super initWithFrame:screenRect pixelFormat:fmt];
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
PixelFormat.cpp 18 #include <common/PixelFormat.h>
23 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp)
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
PixelFormat.cpp 18 #include <ips/common/PixelFormat.h>
24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp)
  /external/deqp/framework/platform/win32/
tcuWGLContextFactory.cpp 101 int pixelFormat = 0;
104 pixelFormat = config.id;
106 pixelFormat = wgl::choosePixelFormat(wglCore, deviceCtx, config);
108 if (pixelFormat < 0)
111 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat);
116 const wgl::PixelFormatInfo info = wglCore.getPixelFormatInfo(deviceCtx, pixelFormat);
120 tcu::PixelFormat(info.redBits, info.greenBits, info.blueBits, info.alphaBits),
  /external/libvncserver/common/
turbojpeg.c 141 int pixelFormat, int subsamp, int jpegQual)
145 switch(pixelFormat)
177 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB;
182 cinfo->input_components=tjPixelSize[pixelFormat];
206 int pixelFormat)
210 switch(pixelFormat)
309 int height, int pixelFormat, unsigned char *dst)
312 switch(pixelFormat)
370 int pitch, int height, int pixelFormat)
372 switch(pixelFormat)
    [all...]
  /hardware/ti/omap4-aah/camera/
CameraHalCommon.cpp 153 const char *pixelFormat = NULL;
158 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV422I;
163 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP;
166 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_RGB565;
169 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB;
172 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_JPEG;
175 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP;
179 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP;
182 return pixelFormat;
  /frameworks/native/include/gui/
IGraphicBufferAlloc.h 25 #include <ui/PixelFormat.h>
41 PixelFormat format, uint32_t usage, std::string requestorName,
45 PixelFormat format, uint32_t usage, status_t* error) {

Completed in 946 milliseconds

1 2 3 4 5 6 7 8 91011>>