Lines Matching refs:cols
107 int height, int bpp, uint8_t cols[4], uint8_t grps[4], uint32_t col) in draw_n_color()
112 cols[0] = grps[3 * (y >> 1)]; in draw_n_color()
115 cols[1]= grps[(x >> 1) + 1]; in draw_n_color()
116 out[x + y*stride] = cols[col & ((1 << bpp) - 1)]; in draw_n_color()
159 uint8_t cols[4], grps[4]; in decode_frame() local
194 bytestream2_get_buffer(&gb, cols, 2); in decode_frame()
196 draw_n_color(out + i*stride, stride, 8, 1, 1, cols, in decode_frame()
208 bytestream2_get_buffer(&gb, cols, 2); in decode_frame()
210 1, cols, NULL, bytestream2_get_le16(&gb)); in decode_frame()
212 bytestream2_get_buffer(&gb, cols, 4); in decode_frame()
214 2, cols, NULL, bytestream2_get_le32(&gb)); in decode_frame()
218 1, cols, grps, bytestream2_get_le16(&gb)); in decode_frame()