/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
H A D | TJ.java | 216 * @param pixelFormat the pixel format (one of <code>PF_*</code>) 220 public static int getPixelSize(int pixelFormat) throws Exception { argument 221 if (pixelFormat < 0 || pixelFormat >= NUMPF) 223 return pixelSize[pixelFormat]; 238 * @param pixelFormat the pixel format (one of <code>PF_*</code>) 242 public static int getRedOffset(int pixelFormat) throws Exception { argument 243 if (pixelFormat < 0 || pixelFormat >= NUMPF) 245 return redOffset[pixelFormat]; 264 getGreenOffset(int pixelFormat) argument 286 getBlueOffset(int pixelFormat) argument [all...] |
H A D | 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 < 69 TJCompressor(byte[] srcImage, int x, int y, int width, int pitch, int height, int pixelFormat) argument 79 TJCompressor(byte[] srcImage, int width, int pitch, int height, int pixelFormat) argument 140 setSourceImage(byte[] srcImage, int x, int y, int width, int pitch, int height, int pixelFormat) argument 166 setSourceImage(byte[] srcImage, int width, int pitch, int height, int pixelFormat) argument 589 compress(byte[] srcBuf, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 593 compress(byte[] srcBuf, int x, int y, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 597 compress(int[] srcBuf, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 601 compress(int[] srcBuf, int x, int y, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 610 encodeYUV(byte[] srcBuf, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int subsamp, int flags) argument 614 encodeYUV(byte[] srcBuf, int x, int y, int width, int pitch, int height, int pixelFormat, byte[][] dstPlanes, int[] dstOffsets, int[] dstStrides, int subsamp, int flags) argument 619 encodeYUV(int[] srcBuf, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int subsamp, int flags) argument 623 encodeYUV(int[] srcBuf, int x, int y, int width, int srcStride, int height, int pixelFormat, byte[][] dstPlanes, int[] dstOffsets, int[] dstStrides, int subsamp, int flags) argument [all...] |
H A D | TJDecompressor.java | 342 * should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if 352 * <code>scaledWidth * TJ.pixelSize(pixelFormat)</code>. 364 * @param pixelFormat pixel format of the decompressed/decoded image (one of 371 int pitch, int desiredHeight, int pixelFormat, 377 pixelFormat < 0 || pixelFormat >= TJ.NUMPF || flags < 0) 382 yuvImage.getWidth(), pitch, yuvImage.getHeight(), pixelFormat, 387 desiredHeight, pixelFormat, flags); 390 desiredHeight, pixelFormat, flags); 400 int desiredHeight, int pixelFormat, in 370 decompress(byte[] dstBuf, int x, int y, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 399 decompress(byte[] dstBuf, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 430 decompress(int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 677 decompress(int[] dstBuf, int x, int y, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument 857 decompress(byte[] srcBuf, int size, byte[] dstBuf, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 861 decompress(byte[] srcBuf, int size, byte[] dstBuf, int x, int y, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 865 decompress(byte[] srcBuf, int size, int[] dstBuf, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument 869 decompress(byte[] srcBuf, int size, int[] dstBuf, int x, int y, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument 880 decodeYUV(byte[][] srcPlanes, int[] srcOffsets, int[] srcStrides, int subsamp, byte[] dstBuf, int x, int y, int width, int pitch, int height, int pixelFormat, int flags) argument 884 decodeYUV(byte[][] srcPlanes, int[] srcOffsets, int[] srcStrides, int subsamp, int[] dstBuf, int x, int y, int width, int stride, int height, int pixelFormat, int flags) argument [all...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
H A D | GlTextureFrameBuffer.java | 41 private final int pixelFormat; field in class:GlTextureFrameBuffer 49 public GlTextureFrameBuffer(int pixelFormat) { argument 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/opencv3/modules/videoio/src/ |
H A D | cap_pvapi.cpp | 295 char pixelFormat[256]; local 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) 311 else if (strcmp(pixelFormat, "Bgra3 437 cv::String pixelFormat; local 521 char pixelFormat[256]; local [all...] |
/external/webrtc/webrtc/modules/video_render/mac/ |
H A D | cocoa_render_view.mm | 23 self = [super initWithFrame:[self frame] pixelFormat:fmt]; 43 self = [super initWithFrame:screenRect pixelFormat:fmt];
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowDisplay.java | 26 private int pixelFormat = PixelFormat.RGBA_4444; field in class:ShadowDisplay 66 return pixelFormat; 129 public void setPixelFormat(int pixelFormat) { argument 130 this.pixelFormat = pixelFormat;
|
/external/deqp/framework/common/ |
H A D | tcuRenderTarget.hpp | 39 RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBits, int numSamples);
|
/external/deqp/framework/platform/win32/ |
H A D | tcuWGL.hpp | 79 int pixelFormat; member in class:tcu::wgl::PixelFormatInfo 133 : pixelFormat (0) 165 PixelFormatInfo getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const; 190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat);
|
H A D | tcuWGLContextFactory.cpp | 101 int pixelFormat = 0; local 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);
|
H A D | tcuWin32GLES3Platform.cpp | 92 const int pixelFormat = wgl::choosePixelFormat(wgl, deviceCtx, config); local 94 if (pixelFormat < 0) 97 m_platformCtx.context = new wgl::Context(&wgl, m_window.getDeviceContext(), wgl::PROFILE_COMPATIBILITY, 3, 3, pixelFormat); 111 const wgl::PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, pixelFormat);
|
H A D | tcuWGL.cpp | 215 int pixelFormat = ChoosePixelFormat(tmpWindow.getDeviceContext(), &pixelFormatDesc); local 216 if (!SetPixelFormat(tmpWindow.getDeviceContext(), pixelFormat, &pixelFormatDesc)) 304 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const 326 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &values[0])) 332 info.pixelFormat = pixelFormat; 353 Context::Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat) argument 405 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc)) 408 if (!SetPixelFormat(deviceCtx, pixelFormat, &pixelFormatDesc)) 498 return info.pixelFormat; [all...] |
/external/deqp/framework/platform/osx/ |
H A D | tcuOSXPlatform.cpp | 124 CGLPixelFormatObj pixelFormat; local 127 if (CGLChoosePixelFormat(&attribs[0], &pixelFormat, &numVScreens) != kCGLNoError) 132 if (CGLCreateContext(pixelFormat, DE_NULL, &m_context) != kCGLNoError) 140 CGLReleasePixelFormat(pixelFormat); 144 CGLReleasePixelFormat(pixelFormat);
|
/external/skia/src/gpu/vk/ |
H A D | GrVkTextureRenderTarget.cpp | 32 VkFormat pixelFormat; local 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,
|
H A D | GrVkRenderTarget.cpp | 119 VkFormat pixelFormat; local 120 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 130 msImageDesc.fFormat = pixelFormat; 149 resolveAttachmentView = GrVkImageView::Create(gpu, imageResource->fImage, pixelFormat, 161 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
|
/external/libjpeg-turbo/ |
H A D | turbojpeg.h | 627 * <tt>width * #tjPixelSize[pixelFormat]</tt> if the image is unpadded, or 628 * <tt>#TJPAD(width * #tjPixelSize[pixelFormat])</tt> if each line of the image 632 * <tt>width * #tjPixelSize[pixelFormat]</tt>. 636 * @param pixelFormat pixel format of the source image (see @ref TJPF 676 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 934 * <tt>width * #tjPixelSize[pixelFormat]</tt> if the image is unpadded, or 935 * <tt>#TJPAD(width * #tjPixelSize[pixelFormat])</tt> if each line of the image 939 * <tt>width * #tjPixelSize[pixelFormat]</tt>. 943 * @param pixelFormat pixel format of the source image (see @ref TJPF 969 unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, [all...] |
H A D | turbojpeg.c | 174 int pixelFormat, int subsamp, int jpegQual, int flags) 179 switch(pixelFormat) 211 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB; 218 cinfo->input_components=tjPixelSize[pixelFormat]; 250 else if(pixelFormat==TJPF_CMYK) 275 int pixelFormat, int flags) 279 switch(pixelFormat) 398 int height, int pixelFormat, unsigned char *dst) 401 switch(pixelFormat) 459 int pitch, int height, int pixelFormat) 173 setCompDefaults(struct jpeg_compress_struct *cinfo, int pixelFormat, int subsamp, int jpegQual, int flags) argument 274 setDecompDefaults(struct jpeg_decompress_struct *dinfo, int pixelFormat, int flags) argument 397 toRGB(unsigned char *src, int width, int pitch, int height, int pixelFormat, unsigned char *dst) argument 458 fromRGB(unsigned char *src, unsigned char *dst, int width, int pitch, int height, int pixelFormat) argument 731 tjCompress2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument 830 tjEncodeYUVPlanes(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **dstPlanes, int *strides, int subsamp, int flags) argument 991 tjEncodeYUV3(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int pad, int subsamp, int flags) argument 1027 tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int subsamp, int flags) argument 1335 tjDecompress2(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument 1449 setDecodeDefaults(struct jpeg_decompress_struct *dinfo, int pixelFormat, int subsamp, int flags) argument 1502 tjDecodeYUVPlanes(tjhandle handle, unsigned char **srcPlanes, int *strides, int subsamp, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument 1664 tjDecodeYUV(tjhandle handle, unsigned char *srcBuf, int pad, int subsamp, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument [all...] |
/external/libvncserver/common/ |
H A D | 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) 140 setCompDefaults(struct jpeg_compress_struct *cinfo, int pixelFormat, int subsamp, int jpegQual) argument 205 setDecompDefaults(struct jpeg_decompress_struct *dinfo, int pixelFormat) argument 308 toRGB(unsigned char *src, int width, int pitch, int height, int pixelFormat, unsigned char *dst) argument 369 fromRGB(unsigned char *src, unsigned char *dst, int width, int pitch, int height, int pixelFormat) argument 538 tjCompress2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument 746 tjDecompress2(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument [all...] |
H A D | turbojpeg.h | 313 * <tt>width * #tjPixelSize[pixelFormat]</tt> if the image is unpadded, 314 * or <tt>#TJPAD(width * #tjPixelSize[pixelFormat])</tt> if each line of 318 * setting it to <tt>width * #tjPixelSize[pixelFormat]</tt>. 320 * @param pixelFormat pixel format of the source image (see @ref TJPF 353 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, 443 * <tt>scaledWidth * #tjPixelSize[pixelFormat]</tt> if the decompressed 445 * #tjPixelSize[pixelFormat])</tt> if each line of the decompressed 452 * * #tjPixelSize[pixelFormat]</tt>. 459 * @param pixelFormat pixel format of the destination image (see @ref 468 int width, int pitch, int height, int pixelFormat, in [all...] |
/external/deqp/framework/platform/ios/ |
H A D | tcuIOSPlatform.mm | 216 tcu::PixelFormat pixelFormat; 244 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_RED_SIZE, &pixelFormat.redBits); 245 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_GREEN_SIZE, &pixelFormat.greenBits); 246 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_BLUE_SIZE, &pixelFormat.blueBits); 247 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &pixelFormat.alphaBits); 281 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, 0);
|
/external/deqp/framework/opengl/ |
H A D | gluFboRenderContext.cpp | 214 tcu::PixelFormat pixelFormat; local 234 pixelFormat = getPixelFormat(colorFormat); 287 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples);
|
/external/deqp/modules/glshared/ |
H A D | glsTextureTestUtil.hpp | 453 const tcu::PixelFormat& pixelFormat); 462 const tcu::PixelFormat& pixelFormat); 471 const tcu::PixelFormat& pixelFormat); 480 const tcu::PixelFormat& pixelFormat); 489 const tcu::PixelFormat& pixelFormat); 498 const tcu::PixelFormat& pixelFormat); 508 const tcu::PixelFormat& pixelFormat);
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/mac/ |
H A D | APPRTCViewController.m | 181 NSOpenGLPixelFormat* pixelFormat = 184 pixelFormat:pixelFormat];
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local 217 if (pixelFormat.alphaBits == 0) 236 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fColorClearTest.cpp | 105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local 217 if (pixelFormat.alphaBits == 0) 236 RGBA colorThreshold = pixelFormat.getColorThreshold();
|