Searched refs:BytesPerPixel (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium_org/content/common/gpu/client/
H A Dgpu_memory_buffer_impl.cc34 size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) { function in class:content::GpuMemoryBufferImpl
50 return size_.width() * BytesPerPixel(internalformat_);
H A Dgpu_memory_buffer_impl.h25 static size_t BytesPerPixel(unsigned internalformat);
H A Dgpu_memory_buffer_impl_shm.cc37 if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_)))
/external/chromium_org/ui/gl/
H A Dgl_image_shm.cc52 GLenum BytesPerPixel(unsigned internalformat) { function in namespace:gfx::__anon15293
110 size_t size = size_.GetArea() * BytesPerPixel(internalformat_);
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_blit.c80 (Uint16)srcrect->x*src->format->BytesPerPixel;
83 info.s_skip=src->pitch-info.s_width*src->format->BytesPerPixel;
86 (Uint16)dstrect->x*dst->format->BytesPerPixel;
89 info.d_skip=dst->pitch-info.d_width*dst->format->BytesPerPixel;
161 w = info->d_width*info->dst->BytesPerPixel;
209 w = info->d_width*info->dst->BytesPerPixel;
316 switch ( surface->format->BytesPerPixel ) {
H A DSDL_pixels.c54 format->BytesPerPixel = (bpp+7)/8;
296 pitch = surface->w*surface->format->BytesPerPixel;
472 bpp = ((dst->BytesPerPixel == 3) ? 4 : dst->BytesPerPixel);
482 ASSEMBLE_RGBA(&map[i*bpp], dst->BytesPerPixel, dst,
559 switch (srcfmt->BytesPerPixel) {
561 switch (dstfmt->BytesPerPixel) {
591 switch (dstfmt->BytesPerPixel) {
H A DSDL_yuv.c48 ((SDL_VideoSurface->format->BytesPerPixel == 2) ||
49 (SDL_VideoSurface->format->BytesPerPixel == 4)) ) {
H A DSDL_cursor.c305 x += this->screen->offset / this->screen->format->BytesPerPixel;
309 this->screen->format->BytesPerPixel;
380 switch (screen->format->BytesPerPixel) {
509 dstbpp = screen->format->BytesPerPixel;
517 if ( screen->format->BytesPerPixel == 1 ) {
610 screenbpp = screen->format->BytesPerPixel;
688 screenbpp = screen->format->BytesPerPixel;
H A DSDL_RLEaccel.c626 switch(fmt->BytesPerPixel) { \
633 switch(fmt->BytesPerPixel) { \
712 switch(fmt->BytesPerPixel) { \
719 switch(fmt->BytesPerPixel) { \
860 + y * dst->pitch + x * src->format->BytesPerPixel;
887 switch(src->format->BytesPerPixel) {
1000 Uint8 BytesPerPixel; member in struct:__anon25348
1092 switch(df->BytesPerPixel) {
1125 + y * dst->pitch + x * df->BytesPerPixel;
1133 if(df->BytesPerPixel
[all...]
H A DSDL_yuv_sw.c942 if ( (display->format->BytesPerPixel != 2) &&
943 (display->format->BytesPerPixel != 3) &&
944 (display->format->BytesPerPixel != 4) ) {
1038 if( display->format->BytesPerPixel == 2 ) {
1063 if ( display->format->BytesPerPixel == 2 ) {
1081 if ( display->format->BytesPerPixel == 3 ) {
1085 if ( display->format->BytesPerPixel == 4 ) {
1107 if ( display->format->BytesPerPixel == 2 ) {
1111 if ( display->format->BytesPerPixel == 3 ) {
1115 if ( display->format->BytesPerPixel
[all...]
H A DSDL_blit_N.c309 assert(srcfmt->BytesPerPixel == 2);
310 assert(dstfmt->BytesPerPixel == 4);
454 assert(srcfmt->BytesPerPixel == 2);
455 assert(dstfmt->BytesPerPixel == 4);
550 int srcbpp = srcfmt->BytesPerPixel;
552 int dstbpp = dstfmt->BytesPerPixel;
675 assert(srcfmt->BytesPerPixel == 4);
676 assert(dstfmt->BytesPerPixel == 4);
753 assert(srcfmt->BytesPerPixel == 4);
754 assert(dstfmt->BytesPerPixel
[all...]
H A DSDL_blit_0.c358 dstbpp = dstfmt->BytesPerPixel;
405 dstbpp = dstfmt->BytesPerPixel;
454 which = surface->map->dst->format->BytesPerPixel;
H A DSDL_blit_1.c420 dstbpp = dstfmt->BytesPerPixel;
460 dstbpp = dstfmt->BytesPerPixel;
503 which = dstfmt->BytesPerPixel;
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestoverlay2.c118 p+=s->format->BytesPerPixel;
151 p+=s->format->BytesPerPixel;
184 p+=s->format->BytesPerPixel;
220 p+=s->format->BytesPerPixel;
256 p+=s->format->BytesPerPixel;
443 format.BytesPerPixel=4;
H A Dgraywin.c38 if (screen->format->BytesPerPixel==1)
75 if (screen->format->BytesPerPixel!=2) {
77 memset(buffer,(i*(NUM_COLORS-1))/screen->h, screen->w * screen->format->BytesPerPixel);
H A Dtestoverlay.c113 p+=s->format->BytesPerPixel;
153 p+=s->format->BytesPerPixel;
186 p+=s->format->BytesPerPixel;
222 p+=s->format->BytesPerPixel;
258 p+=s->format->BytesPerPixel;
498 format.BytesPerPixel=4;
H A Dtestalpha.c38 if (screen->format->BytesPerPixel!=2) {
40 memset(buffer,(i*255)/screen->h, screen->w*screen->format->BytesPerPixel);
95 skip = light->pitch-(light->w*light->format->BytesPerPixel);
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbmatrox.c80 switch (dst->format->BytesPerPixel) {
156 pitch = dst->pitch/dst->format->BytesPerPixel;
191 switch (dst->format->BytesPerPixel) {
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_riscosvideo.c199 vformat->BytesPerPixel = 2;
207 vformat->BytesPerPixel = 4;
214 vformat->BytesPerPixel = 1;
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c100 if (src->format->BytesPerPixel != dst->format->BytesPerPixel) return false;
171 vformat->BytesPerPixel = 2;
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
H A DSDL_ps3yuv.c84 if ((display->format->BytesPerPixel != 2) &&
85 (display->format->BytesPerPixel != 3) &&
86 (display->format->BytesPerPixel != 4))
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.c178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3;
180 vformat->BytesPerPixel++;
245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3;
247 current->format->BytesPerPixel++;
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nximage.c40 xinc = this -> screen -> format -> BytesPerPixel ;
202 xinc = this -> screen -> format -> BytesPerPixel ;
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsyuv.c182 bpp = this->screen->format->BytesPerPixel;
415 this->screen->format->BytesPerPixel;
430 screen->format->BytesPerPixel;
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_mouse.c102 SDL_VideoSurface->format->BytesPerPixel;

Completed in 267 milliseconds

123