Searched refs:cimage (Results 1 – 2 of 2) sorted by relevance
100 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage() argument101 return reinterpret_cast<const SkImage*>(cimage); in AsImage()104 static sk_image_t* ToImage(SkImage* cimage) { in ToImage() argument105 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()149 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode() argument150 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()153 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref() argument154 AsImage(cimage)->ref(); in sk_image_ref()157 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref() argument158 AsImage(cimage)->unref(); in sk_image_unref()[all …]