Home
last modified time | relevance | path

Searched refs:curve_offset (Results 1 – 2 of 2) sorted by relevance

/external/skqp/third_party/skcms/
Dskcms.cc551 static bool read_curves(const uint8_t* buf, uint32_t size, uint32_t curve_offset, in read_curves() argument
554 if (curve_offset > size) { in read_curves()
559 if (!read_curve(buf + curve_offset, size - curve_offset, &curves[i], &curve_bytes)) { in read_curves()
568 uint64_t new_offset_64 = (uint64_t)curve_offset + curve_bytes; in read_curves()
569 curve_offset = (uint32_t)new_offset_64; in read_curves()
570 if (new_offset_64 != curve_offset) { in read_curves()
/external/skia/third_party/skcms/
Dskcms.cc754 static bool read_curves(const uint8_t* buf, uint32_t size, uint32_t curve_offset, in read_curves() argument
757 if (curve_offset > size) { in read_curves()
762 if (!read_curve(buf + curve_offset, size - curve_offset, &curves[i], &curve_bytes)) { in read_curves()
771 uint64_t new_offset_64 = (uint64_t)curve_offset + curve_bytes; in read_curves()
772 curve_offset = (uint32_t)new_offset_64; in read_curves()
773 if (new_offset_64 != curve_offset) { in read_curves()