Searched refs:bytespp (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/cmds/screencap/
H A Dscreencap.cpp67 uint32_t* bytespp, uint32_t* f)
73 *bytespp = 2;
77 *bytespp = 3;
82 *bytespp = 4;
155 uint32_t bytespp; local
156 if (vinfoToPixelFormat(vinfo, &bytespp, &f) == NO_ERROR) {
157 size_t offset = (vinfo.xoffset + vinfo.yoffset*vinfo.xres) * bytespp;
160 size = w*h*bytespp;
66 vinfoToPixelFormat(const fb_var_screeninfo& vinfo, uint32_t* bytespp, uint32_t* f) argument
/frameworks/base/cmds/screenshot/
H A Dscreenshot.c25 unsigned int bytespp,offset; local
62 bytespp = vinfo.bits_per_pixel / 8;
69 rowlen=vinfo.xres * bytespp;
77 offset = vinfo.xoffset * bytespp + vinfo.xres * vinfo.yoffset * bytespp;

Completed in 106 milliseconds