Lines Matching refs:pixel
930 uint32_t pixel; in nv04_cursor_upload() local
935 pixel = nouveau_bo_rd32(src, i*64 + j); in nv04_cursor_upload()
937 nouveau_bo_wr16(dst, i*width + j, (pixel & 0x80000000) >> 16 in nv04_cursor_upload()
938 | (pixel & 0xf80000) >> 9 in nv04_cursor_upload()
939 | (pixel & 0xf800) >> 6 in nv04_cursor_upload()
940 | (pixel & 0xf8) >> 3); in nv04_cursor_upload()
948 uint32_t pixel; in nv11_cursor_upload() local
958 pixel = nouveau_bo_rd32(src, i); in nv11_cursor_upload()
965 alpha = pixel >> 24; in nv11_cursor_upload()
967 pixel = (pixel & 0x00ffffff) | ((alpha + 1) << 24); in nv11_cursor_upload()
974 pixel = ((pixel & 0x000000ff) << 24) | in nv11_cursor_upload()
975 ((pixel & 0x0000ff00) << 8) | in nv11_cursor_upload()
976 ((pixel & 0x00ff0000) >> 8) | in nv11_cursor_upload()
977 ((pixel & 0xff000000) >> 24); in nv11_cursor_upload()
982 nouveau_bo_wr32(dst, i, pixel); in nv11_cursor_upload()