/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
H A D | tga_utils.cpp | 49 bool LoadTGAImageFromFile(const std::string &path, TGAImage *image) argument 72 image->width = header.width; 73 image->height = header.height; 79 image->data.reserve(header.width * header.height); 94 image->data.push_back(pixel); 98 std::cout << "loaded image " << path << ".\n"; 103 GLuint LoadTextureFromTGAImage(const TGAImage &image) argument 105 if (image.width > 0 && image.height > 0) 113 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, static_cast<GLsizei>(image [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/ |
H A D | main_wnd.h | 100 const uint8* image() const { function in class:GtkMainWnd::VideoRenderer
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | rdrle.c | 48 * For now, we ignore any alpha channel in the image. 56 * Since RLE stores scanlines bottom-to-top, we have to invert the image 58 * incoming image into a virtual array on the first get_pixel_rows call, 68 jvirt_sarray_ptr image; /* virtual array to hold the image */ member in struct:_rle_source_struct 77 * Read the file header; return image size and component count. 163 /* request a virtual array to hold the image */ 164 source->image = (*cinfo->mem->request_virt_sarray) 182 * Called only after load_image has read the image into the virtual array. 193 ((j_common_ptr) cinfo, source->image, sourc [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/ |
H A D | va_image.c | 74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image) argument 90 VA_INFO("Creating BGRA image of size %dx%d\n",width,height); 93 VA_INFO("Creating RGBA image of size %dx%d\n",width,height); 96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc); 106 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image) argument 115 vlVaDestroyImage(VADriverContextP ctx, VAImageID image) argument 124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette) argument 134 unsigned int width, unsigned int height, VAImageID image) 143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, argument 133 vlVaGetImage(VADriverContextP ctx, VASurfaceID surface, int x, int y, unsigned int width, unsigned int height, VAImageID image) argument
|
H A D | va_subpicture.c | 75 vlVaCreateSubpicture(VADriverContextP ctx, VAImageID image, VASubpictureID *subpicture) argument 93 vlVaSubpictureImage(VADriverContextP ctx, VASubpictureID subpicture, VAImageID image) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xm_buffer.c | 472 char *image = (char *) malloc(bytes_per_line * local 479 image, /* data */ 494 /* the first row of the OpenGL image is last row of the XImage */
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | convolve.c | 47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) argument 55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) argument 119 GLsizei bufSize, GLvoid *image) 129 GLvoid *image) 131 _mesa_GetnConvolutionFilterARB(target, format, type, INT_MAX, image); 118 _mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image) argument 128 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) argument
|
H A D | texcompress_cpal.c | 83 const void *indices, GLuint num_pixels, GLubyte *image) 85 GLubyte *pix = image; 186 /* first image follows the palette */ 195 GLubyte *image = NULL; local 209 /* allocate and fill dest image buffer */ 211 image = (GLubyte *) malloc(num_texels * info->size); 212 paletted_to_color(info, palette, indices, num_texels, image); 216 info->format, info->type, image); 217 if (image) 218 free(image); 82 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, const void *indices, GLuint num_pixels, GLubyte *image) argument [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | dftext.cpp | 178 SkImage* image = surface->newImageSnapshot(); local 179 inputCanvas->drawImage(image, 0, 0, NULL); 180 image->unref();
|
/external/chromium_org/third_party/skia/src/image/ |
H A D | SkImage.cpp | 13 static SkImage_Base* as_IB(SkImage* image) { argument 14 return static_cast<SkImage_Base*>(image); 17 static const SkImage_Base* as_IB(const SkImage* image) { argument 18 return static_cast<const SkImage_Base*>(image);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
H A D | test.cc | 148 EncodedImage &image) 150 image._buffer = videoBuffer.Buffer(); 151 image._length = videoBuffer.Length(); 152 image._size = videoBuffer.Size(); 153 // image._frameType = static_cast<VideoFrameType> 155 image._timeStamp = videoBuffer.TimeStamp(); 156 image._encodedWidth = videoBuffer.Width(); 157 image._encodedHeight = videoBuffer.Height(); 158 image._completeFrame = true; 147 VideoEncodedBufferToEncodedImage(VideoFrame& videoBuffer, EncodedImage &image) argument
|
/external/chromium_org/ui/gfx/image/ |
H A D | image_unittest.cc | 8 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image_png_rep.h" 10 #include "ui/gfx/image/image_skia.h" 11 #include "ui/gfx/image/image_unittest_util.h" 45 gfx::Image image; local 46 EXPECT_EQ(0U, image.RepresentationCount()); 47 EXPECT_TRUE(image.IsEmpty()); 48 EXPECT_EQ(0, image.Width()); 49 EXPECT_EQ(0, image 118 gfx::Image image; local 161 gfx::Image image; local 668 gfx::Image image; local [all...] |
/external/chromium_org/ui/gfx/x/ |
H A D | x11_types.cc | 76 XImage image; local 77 memset(&image, 0, sizeof(image)); 79 image.width = data_width; 80 image.height = data_height; 81 image.format = ZPixmap; 82 image.byte_order = LSBFirst; 83 image.bitmap_unit = 8; 84 image.bitmap_bit_order = LSBFirst; 85 image [all...] |
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | dri_surface_factory.cc | 31 void UpdateCursorImage(DriBuffer* cursor, const SkBitmap& image) { argument 33 image.getBounds(&damage); 35 // Clear to transparent in case |image| is smaller than the canvas. 43 canvas->drawBitmapRectToRect(image, &damage, damage);
|
/external/chromium_org/ui/wm/core/ |
H A D | shadow.cc | 118 // If we're becoming active, switch images now. Because the inactive image 123 // Opacity was baked into inactive image, start opacity low to match. 149 // a visual pop because the inactive image opacity is so low. 152 // Opacity is baked into inactive image, so set fully opaque. 159 gfx::Image image; local 162 image = res.GetImageNamed(IDR_AURA_SHADOW_ACTIVE); 165 image = res.GetImageNamed(IDR_AURA_SHADOW_INACTIVE); 168 image = res.GetImageNamed(IDR_WINDOW_BUBBLE_SHADOW_SMALL); 175 shadow_layer_->UpdateNinePatchLayerBitmap(image.AsBitmap()); 176 image_size_ = image [all...] |
/external/deqp/framework/delibs/deimage/ |
H A D | deTarga.c | 32 deImage* image = DE_NULL; local 73 /* Create image. */ 74 image = deImage_create(width, height, format); 75 DE_TEST_ASSERT(image); 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp); 116 return image; 119 deBool deImage_saveTarga (const deImage* image, const char* fileName) argument 122 int width = image->width; 123 int height = image [all...] |
/external/jpeg/ |
H A D | rdrle.c | 48 * For now, we ignore any alpha channel in the image. 56 * Since RLE stores scanlines bottom-to-top, we have to invert the image 58 * incoming image into a virtual array on the first get_pixel_rows call, 68 jvirt_sarray_ptr image; /* virtual array to hold the image */ member in struct:_rle_source_struct 77 * Read the file header; return image size and component count. 163 /* request a virtual array to hold the image */ 164 source->image = (*cinfo->mem->request_virt_sarray) 182 * Called only after load_image has read the image into the virtual array. 193 ((j_common_ptr) cinfo, source->image, sourc [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | cycx_cfm.h | 27 #define CFM_IMAGE_SIZE 0x20000 /* max size of CYCX code image file */ 80 * @checksum - info + image 84 * @image - code image (variable size) 93 unsigned char image[0]; member in struct:cycx_firmware
|
/external/mesa3d/src/gallium/state_trackers/va/ |
H A D | va_image.c | 74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image) argument 90 VA_INFO("Creating BGRA image of size %dx%d\n",width,height); 93 VA_INFO("Creating RGBA image of size %dx%d\n",width,height); 96 VA_ERROR("Couldn't create image of type %0x08\n",format->fourcc); 106 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image) argument 115 vlVaDestroyImage(VADriverContextP ctx, VAImageID image) argument 124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette) argument 134 unsigned int width, unsigned int height, VAImageID image) 143 vlVaPutImage(VADriverContextP ctx, VASurfaceID surface, VAImageID image, argument 133 vlVaGetImage(VADriverContextP ctx, VASurfaceID surface, int x, int y, unsigned int width, unsigned int height, VAImageID image) argument
|
H A D | va_subpicture.c | 75 vlVaCreateSubpicture(VADriverContextP ctx, VAImageID image, VASubpictureID *subpicture) argument 93 vlVaSubpictureImage(VADriverContextP ctx, VASubpictureID subpicture, VAImageID image) argument
|
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | xm_buffer.c | 472 char *image = (char *) malloc(bytes_per_line * local 479 image, /* data */ 494 /* the first row of the OpenGL image is last row of the XImage */
|
/external/mesa3d/src/mesa/main/ |
H A D | convolve.c | 47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) argument 55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) argument 119 GLsizei bufSize, GLvoid *image) 129 GLvoid *image) 131 _mesa_GetnConvolutionFilterARB(target, format, type, INT_MAX, image); 118 _mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image) argument 128 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) argument
|
H A D | texcompress_cpal.c | 83 const void *indices, GLuint num_pixels, GLubyte *image) 85 GLubyte *pix = image; 186 /* first image follows the palette */ 195 GLubyte *image = NULL; local 209 /* allocate and fill dest image buffer */ 211 image = (GLubyte *) malloc(num_texels * info->size); 212 paletted_to_color(info, palette, indices, num_texels, image); 216 info->format, info->type, image); 217 if (image) 218 free(image); 82 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, const void *indices, GLuint num_pixels, GLubyte *image) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvsumpixels.cpp | 311 cvIntegral( const CvArr* image, CvArr* sumImage, argument 321 CvMat src_stub, *src = (CvMat*)image; 397 CV_ERROR( CV_StsUnsupportedFormat, "This source image format is unsupported" );
|
/external/opencv/otherlibs/highgui/ |
H A D | image.cpp | 97 void CvvImage::CopyOf( CvvImage& image, int desired_color ) argument 99 IplImage* img = image.GetImage(); 168 /* truncate r to source image */
|