Home
last modified time | relevance | path

Searched refs:bytes_per_pixel (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwtran.c581 int bytes_per_pixel; in png_do_write_intrapixel() local
589 bytes_per_pixel = 3; in png_do_write_intrapixel()
592 bytes_per_pixel = 4; in png_do_write_intrapixel()
597 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
611 bytes_per_pixel = 6; in png_do_write_intrapixel()
614 bytes_per_pixel = 8; in png_do_write_intrapixel()
619 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
Dfx_pngrtran.c5049 int bytes_per_pixel; in png_do_read_intrapixel() local
5058 bytes_per_pixel = 3; in png_do_read_intrapixel()
5061 bytes_per_pixel = 4; in png_do_read_intrapixel()
5066 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
5078 bytes_per_pixel = 6; in png_do_read_intrapixel()
5081 bytes_per_pixel = 8; in png_do_read_intrapixel()
5086 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
/external/mesa3d/src/mesa/main/
Dimage.c156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local
159 bytes_per_pixel = _mesa_bytes_per_pixel( format, type ); in _mesa_image_offset()
162 assert(bytes_per_pixel > 0); in _mesa_image_offset()
164 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset()
186 + (skippixels + column) * bytes_per_pixel; in _mesa_image_offset()
Dmipmap.c46 bytes_per_pixel(GLenum datatype, GLuint comps) in bytes_per_pixel() function
1419 const GLint bpt = bytes_per_pixel(datatype, comps); in make_1d_mipmap()
1451 const GLint bpt = bytes_per_pixel(datatype, comps); in make_2d_mipmap()
1543 const GLint bpt = bytes_per_pixel(datatype, comps); in make_3d_mipmap()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c239 static const uint8_t bytes_per_pixel[6] = { in driCreateConfigs() local
312 switch ( bytes_per_pixel[ index ] ) { in driCreateConfigs()
/external/libpng/
Dpngwrite.c619 int bytes_per_pixel; in png_do_write_intrapixel() local
627 bytes_per_pixel = 3; in png_do_write_intrapixel()
630 bytes_per_pixel = 4; in png_do_write_intrapixel()
635 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
649 bytes_per_pixel = 6; in png_do_write_intrapixel()
652 bytes_per_pixel = 8; in png_do_write_intrapixel()
657 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
Dexample.c986 png_byte image[height*width*bytes_per_pixel];
995 row_pointers[k] = image + k*width*bytes_per_pixel;
Dpngread.c330 int bytes_per_pixel; in png_do_read_intrapixel() local
339 bytes_per_pixel = 3; in png_do_read_intrapixel()
342 bytes_per_pixel = 4; in png_do_read_intrapixel()
347 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
359 bytes_per_pixel = 6; in png_do_read_intrapixel()
362 bytes_per_pixel = 8; in png_do_read_intrapixel()
367 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_x11.c65 dri2_surf->bytes_per_pixel = 4; in swrastCreateDrawable()
68 dri2_surf->bytes_per_pixel = 2; in swrastCreateDrawable()
71 dri2_surf->bytes_per_pixel = 1; in swrastCreateDrawable()
74 dri2_surf->bytes_per_pixel = 0; in swrastCreateDrawable()
140 w*h*dri2_surf->bytes_per_pixel, (const uint8_t *)data); in swrastPutImage()
Degl_dri2.h164 int bytes_per_pixel; member
/external/libvncserver/libvncserver/
Dtight.c1852 if (vs->clientds.pf.bytes_per_pixel == 4) { in SendPngRect()