Searched refs:pixdata (Results 1 – 7 of 7) sorted by relevance
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | gdkpixbufoverlay-test.c | 94 guchar *gzipped_pixdata, *pixdata, *pixels_copy; in create_overlay_pixbuf() local 102 pixdata = g_malloc (64 * 1024); in create_overlay_pixbuf() 106 gzipped_pixdata, gzipped_size, pixdata, 64 * 1024, in create_overlay_pixbuf() 114 g_assert (GST_READ_UINT32_BE (pixdata) == 0x47646b50); in create_overlay_pixbuf() 117 pixdata_size = GST_READ_UINT32_BE (pixdata + 4); in create_overlay_pixbuf() 121 g_assert (GST_READ_UINT32_BE (pixdata + 8) == 0x01010002); in create_overlay_pixbuf() 123 stride = GST_READ_UINT32_BE (pixdata + 12); in create_overlay_pixbuf() 124 width = GST_READ_UINT32_BE (pixdata + 16); in create_overlay_pixbuf() 125 height = GST_READ_UINT32_BE (pixdata + 20); in create_overlay_pixbuf() 129 pixels_copy = g_memdup2 (pixdata + 24, height * stride); in create_overlay_pixbuf() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | test-overlay-blending.c | 93 guchar *gzipped_pixdata, *pixdata; in create_overlay_buffer() local 101 pixdata = g_malloc (64 * 1024); in create_overlay_buffer() 105 gzipped_pixdata, gzipped_size, pixdata, 64 * 1024, in create_overlay_buffer() 113 g_assert (GST_READ_UINT32_BE (pixdata) == 0x47646b50); in create_overlay_buffer() 118 stride = GST_READ_UINT32_BE (pixdata + 12); in create_overlay_buffer() 120 w = GST_READ_UINT32_BE (pixdata + 16); in create_overlay_buffer() 122 h = GST_READ_UINT32_BE (pixdata + 20); in create_overlay_buffer() 129 gst_buffer_fill (logo_pixels, 0, pixdata + 24, h * stride); in create_overlay_buffer() 133 g_free (pixdata); in create_overlay_buffer()
|
/third_party/gstreamer/gstplugins_base/tests/examples/overlaycomposition/ |
D | overlaycomposition.c | 95 guchar *gzipped_pixdata, *pixdata; in create_overlay_buffer() local 103 pixdata = g_malloc (64 * 1024); in create_overlay_buffer() 107 gzipped_pixdata, gzipped_size, pixdata, 64 * 1024, in create_overlay_buffer() 115 g_assert (GST_READ_UINT32_BE (pixdata) == 0x47646b50); in create_overlay_buffer() 120 stride = GST_READ_UINT32_BE (pixdata + 12); in create_overlay_buffer() 122 w = GST_READ_UINT32_BE (pixdata + 16); in create_overlay_buffer() 124 h = GST_READ_UINT32_BE (pixdata + 20); in create_overlay_buffer() 131 gst_buffer_fill (logo_pixels, 0, pixdata + 24, h * stride); in create_overlay_buffer() 135 g_free (pixdata); in create_overlay_buffer()
|
/third_party/cups-filters/filter/ |
D | rastertops.c | 181 convert_pixels(unsigned char *pixdata, /* I - Original pixel data */ in convert_pixels() argument 191 temp = *(pixdata + j); in convert_pixels() 226 unsigned char *pixdata, in write_flate() local 247 pixdata = malloc(header.cupsBytesPerLine); in write_flate() 248 cupsRasterReadPixels(ras, pixdata, header.cupsBytesPerLine); in write_flate() 252 convert_pixels(pixdata,convertedpix, header.cupsBytesPerLine); in write_flate() 258 memcpy(convertedpix, pixdata, header.cupsBytesPerLine); in write_flate() 296 free(pixdata); in write_flate()
|
/third_party/mesa3d/src/util/ |
D | rgtc.h | 28 void util_format_unsigned_fetch_texel_rgtc(unsigned srcRowStride, const unsigned char *pixdata, 31 void util_format_signed_fetch_texel_rgtc(unsigned srcRowStride, const signed char *pixdata,
|
D | texcompress_rgtc_tmp.h | 32 void TAG(fetch_texel_rgtc)(unsigned srcRowStride, const TYPE *pixdata, in TAG() 36 const TYPE *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8 * comps); in TAG()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_s3tc_tmp.h | 111 static void fetch_2d_texel_rgb_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgb_dxt1() argument 118 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgb_dxt1() 123 static void fetch_2d_texel_rgba_dxt1(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt1() argument 130 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8); in fetch_2d_texel_rgba_dxt1() 134 static void fetch_2d_texel_rgba_dxt3(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt3() argument 142 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt3() 148 static void fetch_2d_texel_rgba_dxt5(GLint srcRowStride, const GLubyte *pixdata, in fetch_2d_texel_rgba_dxt5() argument 156 const GLubyte *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 16); in fetch_2d_texel_rgba_dxt5()
|