/system/core/init/ |
D | logo.c | 50 #define fb_width(fb) ((fb)->vi.xres) argument 51 #define fb_height(fb) ((fb)->vi.yres) argument 52 #define fb_size(fb) ((fb)->vi.xres * (fb)->vi.yres * 2) argument 54 static int fb_open(struct FB *fb) in fb_open() argument 56 fb->fd = open("/dev/graphics/fb0", O_RDWR); in fb_open() 57 if (fb->fd < 0) in fb_open() 60 if (ioctl(fb->fd, FBIOGET_FSCREENINFO, &fb->fi) < 0) in fb_open() 62 if (ioctl(fb->fd, FBIOGET_VSCREENINFO, &fb->vi) < 0) in fb_open() 65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE, in fb_open() 66 MAP_SHARED, fb->fd, 0); in fb_open() [all …]
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 120 integer_t fb; in build_blending() local 122 fb.setTo(scratches.obtain(), 32); in build_blending() 123 extract(fb, pixel, component); in build_blending() 127 if (fb.size() < temp.size()) { in build_blending() 130 expand(fb, fb, new_size); in build_blending() 171 component, pixel, fragment, fb, scratches); in build_blending() 173 fb.flags |= CORRUPTIBLE; in build_blending() 174 build_blendFOneMinusF(temp, factor, fragment, fb); in build_blending() 179 fb.flags |= CORRUPTIBLE; in build_blending() 181 component, pixel, fragment, fb, scratches); in build_blending() [all …]
|
D | GGLAssembler.cpp | 939 pixel_t fb(mDstPixel); in build_masking() local 949 const int h = fb.format.c[i].h; in build_masking() 950 const int l = fb.format.c[i].l; in build_masking() 965 build_and_immediate(pixel.reg, s.reg, mask, fb.size()); in build_masking() 971 build_and_immediate(fb.reg, fb.reg, ~mask, fb.size()); in build_masking() 974 if (s.reg == fb.reg) { in build_masking() 979 MOV(AL, 0, pixel.reg, fb.reg); in build_masking() 982 ORR(AL, 0, pixel.reg, s.reg, fb.reg); in build_masking()
|
D | GGLAssembler.h | 480 integer_t& fb, 486 const integer_t& fb); 491 const integer_t& fb);
|
/system/extras/tests/framebuffer/ |
D | fb_test.c | 52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) in get_framebuffer() argument 96 fb->width = vi.xres; in get_framebuffer() 97 fb->height = vi.yres; in get_framebuffer() 98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer() 99 fb->data = bits; in get_framebuffer() 100 fb->bpp = vi.bits_per_pixel; in get_framebuffer() 102 fb++; in get_framebuffer() 104 fb->width = vi.xres; in get_framebuffer() 105 fb->height = vi.yres; in get_framebuffer() 106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer() [all …]
|
D | Android.mk | 10 LOCAL_MODULE:= test-fb-refresh 20 LOCAL_MODULE = test-fb-simple
|
/system/core/libpixelflinger/arch-mips/ |
D | t32cb16blend.S | 36 .macro pixel dreg src fb shift 58 ins \fb,$t8,\shift+6+5,5 # dst[\shift:15..11] 69 ins \fb,$t8,\shift+5,6 # finish green insertion dst[\shift:10..5] 73 ins \fb,$t8,\shift,5 87 .macro pixel dreg src fb shift 123 or \fb,$t8 125 sll \fb,$t8,11 142 or \fb,$t8 159 or \fb,$t8
|
/system/core/libpixelflinger/ |
D | scanline.cpp | 446 static void blending(context_t* c, pixel_t* fragment, pixel_t* fb); 473 void blending(context_t* c, pixel_t* fragment, pixel_t* fb) in blending() argument 475 rescale(fragment->c[0], fragment->s[0], fb->c[0], fb->s[0]); in blending() 476 rescale(fragment->c[1], fragment->s[1], fb->c[1], fb->s[1]); in blending() 477 rescale(fragment->c[2], fragment->s[2], fb->c[2], fb->s[2]); in blending() 478 rescale(fragment->c[3], fragment->s[3], fb->c[3], fb->s[3]); in blending() 481 blend_factor(c, &sf, c->state.blend.src, fragment, fb); in blending() 482 blend_factor(c, &df, c->state.blend.dst, fragment, fb); in blending() 485 gglMulAddx(fragment->c[1], sf.c[1], gglMulx(fb->c[1], df.c[1])); in blending() 487 gglMulAddx(fragment->c[2], sf.c[2], gglMulx(fb->c[2], df.c[2])); in blending() [all …]
|
/system/core/adb/ |
D | sysdeps_win32.c | 1191 FH fa, fb; in adb_socketpair() local 1195 fb = _fh_alloc( &_fh_socketpair_class ); in adb_socketpair() 1197 if (!fa || !fb) in adb_socketpair() 1210 fb->fh_pair = pair; in adb_socketpair() 1215 sv[1] = _fh_to_int(fb); in adb_socketpair() 1223 snprintf( fb->name, sizeof(fb->name), "%d(pair:%d)", sv[1], sv[0] ); in adb_socketpair() 1228 _fh_close(fb); in adb_socketpair()
|