Searched refs:fb (Results 1 - 13 of 13) sorted by relevance

/system/core/init/
H A Dlogo.c25 #include <linux/fb.h>
50 #define fb_width(fb) ((fb)->vi.xres)
51 #define fb_height(fb) ((fb)->vi.yres)
52 #define fb_size(fb) ((fb)->vi.xres * (fb)->vi.yres * 2)
54 static int fb_open(struct FB *fb) argument
56 fb
77 fb_close(struct FB *fb) argument
84 fb_update(struct FB *fb) argument
107 struct FB fb; local
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp85 // fb: extracted dst
119 // see if we need to extract 'component' from the destination (fb)
120 integer_t fb; local
122 fb.setTo(scratches.obtain(), 32);
123 extract(fb, pixel, component);
126 // expand fb -or- fragment to the larger of the two
127 if (fb.size() < temp.size()) {
128 // for now we expand 'fb' to min(fragment, 8)
130 expand(fb, fb, new_siz
[all...]
H A DGGLAssembler.cpp939 pixel_t fb(mDstPixel);
949 const int h = fb.format.c[i].h;
950 const int l = fb.format.c[i].l;
965 build_and_immediate(pixel.reg, s.reg, mask, fb.size());
971 build_and_immediate(fb.reg, fb.reg, ~mask, fb.size());
974 if (s.reg == fb.reg) {
979 MOV(AL, 0, pixel.reg, fb.reg);
982 ORR(AL, 0, pixel.reg, s.reg, fb
[all...]
H A DGGLAssembler.h480 integer_t& fb,
486 const integer_t& fb);
491 const integer_t& fb);
/system/extras/tests/framebuffer/
H A DAndroid.mk10 LOCAL_MODULE:= test-fb-refresh
20 LOCAL_MODULE = test-fb-simple
H A Dfb_test.c28 #include <linux/fb.h>
52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) argument
96 fb->width = vi.xres;
97 fb->height = vi.yres;
98 fb->stride = fi.line_length / bytes_per_pixel;
99 fb->data = bits;
100 fb->bpp = vi.bits_per_pixel;
102 fb++;
104 fb->width = vi.xres;
105 fb
[all...]
H A Dmdp_test.c26 #include <linux/fb.h>
95 static int get_framebuffer(int *fd, char **fb, int *width, int *height) argument
124 *fb = bits;
135 fprintf(stderr,"active fb swap failed!\n");
175 char* fb; local
273 if (get_framebuffer(&fb_fd, &fb, &width, &height)) {
274 printf("couldnt' get fb\n");
H A Drefresh.c17 #include <linux/fb.h>
30 "/dev/graphics/fb%u",
31 "/dev/fb%u",
131 // at least for now, always clear the fb
/system/core/libpixelflinger/arch-mips/
H A Dt32cb16blend.S26 * with the 32bpp ABGR pixel held in src and store the result in fb
30 * the fb result
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
110 * fb |= sR << 11
123 or \fb,$t8
125 sll \fb,
[all...]
/system/core/toolbox/
H A Drotatefb.c10 #include <linux/fb.h>
/system/core/libpixelflinger/
H A Dscanline.cpp180 "565 fb, 8888 tx, blend SRC_OVER", scanline_t32cb16blend, init_y_noop },
183 "565 fb, 8888 tx, SRC", scanline_t32cb16, init_y_noop },
187 "565 fb, 8888 tx, blend SRC_OVER dither", scanline_t32cb16blend_dither, init_y_noop },
191 "565 fb, 8888 tx, SRC dither", scanline_t32cb16_dither, init_y_noop },
195 "565 fb, 8888 tx, blend dst:ONE_MINUS_SRCA src:SRCA", scanline_t32cb16blend_srca, init_y_noop },
199 "565 fb, 8888 tx, SRC_OVER clamp", scanline_t32cb16blend_clamp, init_y },
202 "565 fb, 8888 tx, SRC_OVER clamp dither", scanline_t32cb16blend_clamp_dither, init_y },
206 "565 fb, 8888 tx, SRC_OVER clamp modulate", scanline_t32cb16blend_clamp_mod, init_y },
210 "565 fb, x888 tx, SRC_OVER clamp modulate", scanline_x32cb16blend_clamp_mod, init_y },
213 "565 fb, 888
473 blending(context_t* c, pixel_t* fragment, pixel_t* fb) argument
679 pixel_t fb; local
[all...]
/system/core/adb/
H A Dframebuffer_service.c29 #include <linux/fb.h>
H A Dsysdeps_win32.c1191 FH fa, fb; local
1195 fb = _fh_alloc( &_fh_socketpair_class );
1197 if (!fa || !fb)
1210 fb->fh_pair = pair;
1215 sv[1] = _fh_to_int(fb);
1223 snprintf( fb->name, sizeof(fb->name), "%d(pair:%d)", sv[1], sv[0] );
1228 _fh_close(fb);

Completed in 1891 milliseconds