Home | History | Annotate | Download | only in gfx

Lines Matching refs:decoded_data

214 SkColor CalculateKMeanColorOfBuffer(uint8_t* decoded_data,
235 uint8_t b = decoded_data[pixel_pos * 4];
236 uint8_t g = decoded_data[pixel_pos * 4 + 1];
237 uint8_t r = decoded_data[pixel_pos * 4 + 2];
238 uint8_t a = decoded_data[pixel_pos * 4 + 3];
285 uint8_t* pixel = decoded_data;
286 uint8_t* decoded_data_end = decoded_data + (img_width * img_height * 4);
355 return FindClosestColor(decoded_data, img_width, img_height, color);
364 std::vector<uint8_t> decoded_data;
372 &decoded_data,
375 return CalculateKMeanColorOfBuffer(&decoded_data[0],