Lines Matching refs:fbinfo
41 struct fbinfo { struct
59 struct fbinfo fbinfo; in framebuffer_service() argument
90 fbinfo.version = DDMS_RAWIMAGE_VERSION; in framebuffer_service()
94 fbinfo.bpp = 32; in framebuffer_service()
95 fbinfo.size = w * h * 4; in framebuffer_service()
96 fbinfo.width = w; in framebuffer_service()
97 fbinfo.height = h; in framebuffer_service()
98 fbinfo.red_offset = 0; in framebuffer_service()
99 fbinfo.red_length = 8; in framebuffer_service()
100 fbinfo.green_offset = 8; in framebuffer_service()
101 fbinfo.green_length = 8; in framebuffer_service()
102 fbinfo.blue_offset = 16; in framebuffer_service()
103 fbinfo.blue_length = 8; in framebuffer_service()
104 fbinfo.alpha_offset = 24; in framebuffer_service()
105 fbinfo.alpha_length = 8; in framebuffer_service()
108 fbinfo.bpp = 32; in framebuffer_service()
109 fbinfo.size = w * h * 4; in framebuffer_service()
110 fbinfo.width = w; in framebuffer_service()
111 fbinfo.height = h; in framebuffer_service()
112 fbinfo.red_offset = 0; in framebuffer_service()
113 fbinfo.red_length = 8; in framebuffer_service()
114 fbinfo.green_offset = 8; in framebuffer_service()
115 fbinfo.green_length = 8; in framebuffer_service()
116 fbinfo.blue_offset = 16; in framebuffer_service()
117 fbinfo.blue_length = 8; in framebuffer_service()
118 fbinfo.alpha_offset = 24; in framebuffer_service()
119 fbinfo.alpha_length = 0; in framebuffer_service()
122 fbinfo.bpp = 24; in framebuffer_service()
123 fbinfo.size = w * h * 3; in framebuffer_service()
124 fbinfo.width = w; in framebuffer_service()
125 fbinfo.height = h; in framebuffer_service()
126 fbinfo.red_offset = 0; in framebuffer_service()
127 fbinfo.red_length = 8; in framebuffer_service()
128 fbinfo.green_offset = 8; in framebuffer_service()
129 fbinfo.green_length = 8; in framebuffer_service()
130 fbinfo.blue_offset = 16; in framebuffer_service()
131 fbinfo.blue_length = 8; in framebuffer_service()
132 fbinfo.alpha_offset = 24; in framebuffer_service()
133 fbinfo.alpha_length = 0; in framebuffer_service()
136 fbinfo.bpp = 16; in framebuffer_service()
137 fbinfo.size = w * h * 2; in framebuffer_service()
138 fbinfo.width = w; in framebuffer_service()
139 fbinfo.height = h; in framebuffer_service()
140 fbinfo.red_offset = 11; in framebuffer_service()
141 fbinfo.red_length = 5; in framebuffer_service()
142 fbinfo.green_offset = 5; in framebuffer_service()
143 fbinfo.green_length = 6; in framebuffer_service()
144 fbinfo.blue_offset = 0; in framebuffer_service()
145 fbinfo.blue_length = 5; in framebuffer_service()
146 fbinfo.alpha_offset = 0; in framebuffer_service()
147 fbinfo.alpha_length = 0; in framebuffer_service()
150 fbinfo.bpp = 32; in framebuffer_service()
151 fbinfo.size = w * h * 4; in framebuffer_service()
152 fbinfo.width = w; in framebuffer_service()
153 fbinfo.height = h; in framebuffer_service()
154 fbinfo.red_offset = 16; in framebuffer_service()
155 fbinfo.red_length = 8; in framebuffer_service()
156 fbinfo.green_offset = 8; in framebuffer_service()
157 fbinfo.green_length = 8; in framebuffer_service()
158 fbinfo.blue_offset = 0; in framebuffer_service()
159 fbinfo.blue_length = 8; in framebuffer_service()
160 fbinfo.alpha_offset = 24; in framebuffer_service()
161 fbinfo.alpha_length = 8; in framebuffer_service()
168 if(!WriteFdExactly(fd, &fbinfo, sizeof(fbinfo))) goto done; in framebuffer_service()
171 for(i = 0; i < fbinfo.size; i += bsize) { in framebuffer_service()
173 if (i + bsize > fbinfo.size) in framebuffer_service()
174 bsize = fbinfo.size - i; in framebuffer_service()