Home
last modified time | relevance | path

Searched refs:sk_data_t (Results 1 – 5 of 5) sorted by relevance

/external/skia/include/c/
Dsk_data.h18 sk_data_t* sk_data_new_empty();
19 sk_data_t* sk_data_new_with_copy(const void* src, size_t length);
20 sk_data_t* sk_data_new_from_malloc(const void* memory, size_t length);
21 sk_data_t* sk_data_new_subset(const sk_data_t* src, size_t offset, size_t length);
23 void sk_data_ref(const sk_data_t*);
24 void sk_data_unref(const sk_data_t*);
26 size_t sk_data_get_size(const sk_data_t*);
27 const void* sk_data_get_data(const sk_data_t*);
Dsk_image.h31 sk_image_t* sk_image_new_from_data(const sk_data_t* encoded);
33 sk_data_t* sk_image_encode(const sk_image_t*);
Dsk_types.h82 typedef struct sk_data_t sk_data_t; typedef
/external/skia/src/c/
Dsk_surface.cpp125 static SkData* AsData(const sk_data_t* cdata) { in AsData()
126 return reinterpret_cast<SkData*>(const_cast<sk_data_t*>(cdata)); in AsData()
129 static sk_data_t* ToData(SkData* data) { in ToData()
130 return reinterpret_cast<sk_data_t*>(data); in ToData()
210 sk_image_t* sk_image_new_from_data(const sk_data_t* cdata) { in sk_image_new_from_data()
214 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode()
560 sk_data_t* sk_data_new_with_copy(const void* src, size_t length) { in sk_data_new_with_copy()
564 sk_data_t* sk_data_new_from_malloc(const void* memory, size_t length) { in sk_data_new_from_malloc()
568 sk_data_t* sk_data_new_subset(const sk_data_t* csrc, size_t offset, size_t length) { in sk_data_new_subset()
572 void sk_data_ref(const sk_data_t* cdata) { in sk_data_ref()
[all …]
/external/skia/gm/
Dcgm.c64 sk_data_t* data = sk_image_encode(img0); in sk_test_c_api()