Searched defs:bytes_per_pixel (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dbitmap_scale.c71 if (src->mode_info.bytes_per_pixel * 8 != src->mode_info.bpp)
148 if (dst->mode_info.bytes_per_pixel != src->mode_info.bytes_per_pixel)
162 /* bytes_per_pixel is the same for both src and dst. */
163 int bytes_per_pixel = dst->mode_info.bytes_per_pixel; local
183 dptr = ddata + dy * dstride + dx * bytes_per_pixel;
184 sptr = sdata + sy * sstride + sx * bytes_per_pixel;
187 for (comp = 0; comp < bytes_per_pixel; comp++)
231 if (dst->mode_info.bytes_per_pixel !
246 int bytes_per_pixel = dst->mode_info.bytes_per_pixel; local
[all...]
H A Dbochs.c210 int pitch, bytes_per_pixel; local
272 bytes_per_pixel = (depth + 7) / 8;
276 pitch = width * bytes_per_pixel;
321 framebuffer.mode_info.bytes_per_pixel = bytes_per_pixel;
H A Dcirrus.c246 int pitch, bytes_per_pixel; local
304 bytes_per_pixel = (depth + 7) / 8;
305 pitch = width * bytes_per_pixel;
310 CIRRUS_MAX_PITCH / bytes_per_pixel, depth);
402 framebuffer.mode_info.bytes_per_pixel = bytes_per_pixel;
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/
H A Dtga.c90 grub_uint8_t bytes_per_pixel; local
92 bytes_per_pixel = header->image_bpp / 8;
113 if (grub_file_read (file, &tmp[0], bytes_per_pixel)
114 != bytes_per_pixel)
138 if (grub_file_read (file, &tmp[0], bytes_per_pixel)
139 != bytes_per_pixel)
169 grub_uint8_t bytes_per_pixel; local
171 bytes_per_pixel = header->image_bpp / 8;
192 if (grub_file_read (file, &tmp[0], bytes_per_pixel)
193 != bytes_per_pixel)
249 grub_uint8_t bytes_per_pixel; local
286 grub_uint8_t bytes_per_pixel; local
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dvideo.h134 unsigned int bytes_per_pixel; member in struct:grub_video_mode_info

Completed in 42 milliseconds