OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sk_data_t
(Results
1 - 6
of
6
) sorted by null
/external/skia/include/c/
sk_data.h
19
Returns a new empty
sk_data_t
. This call must be balanced with a call to
22
SK_API
sk_data_t
* sk_data_new_empty(void);
24
Returns a new
sk_data_t
by copying the specified source data.
27
SK_API
sk_data_t
* sk_data_new_with_copy(const void* src, size_t length);
29
Pass ownership of the given memory to a new
sk_data_t
, which will
35
sk_data_t
* data = sk_data_new_from_malloc(buffer, length);
38
SK_API
sk_data_t
* sk_data_new_from_malloc(const void* memory, size_t length);
40
Returns a new
sk_data_t
using a subset of the data in the
41
specified source
sk_data_t
. This call must be balanced with a
44
SK_API
sk_data_t
* sk_data_new_subset(const sk_data_t* src, size_t offset, size_t length)
[
all
...]
sk_image.h
31
SK_API sk_image_t* sk_image_new_from_encoded(const
sk_data_t
* encoded, const sk_irect_t* subset);
35
*
sk_data_t
, which the caller must manage: call sk_data_unref() when
40
SK_API
sk_data_t
* sk_image_encode(const sk_image_t*);
sk_types.h
182
typedef struct
sk_data_t
sk_data_t
;
typedef in typeref:struct:sk_data_t
/external/skia/src/c/
sk_surface.cpp
149
static SkData* AsData(const
sk_data_t
* cdata) {
150
return reinterpret_cast<SkData*>(const_cast<
sk_data_t
*>(cdata));
153
static
sk_data_t
* ToData(SkData* data) {
154
return reinterpret_cast<
sk_data_t
*>(data);
230
sk_image_t* sk_image_new_from_encoded(const
sk_data_t
* cdata, const sk_irect_t* subset) {
235
sk_data_t
* sk_image_encode(const sk_image_t* cimage) {
506
sk_data_t
* sk_data_new_with_copy(const void* src, size_t length) {
510
sk_data_t
* sk_data_new_from_malloc(const void* memory, size_t length) {
514
sk_data_t
* sk_data_new_subset(const
sk_data_t
* csrc, size_t offset, size_t length)
[
all
...]
/external/skia/gm/
cgm.c
65
sk_data_t
* data = sk_image_encode(img0);
/external/skia/experimental/c-api-example/
skia-c-example.c
27
sk_data_t
* data = sk_image_encode(image);
Completed in 187 milliseconds