Home
last modified time | relevance | path

Searched refs:skdata (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/pdf/
DSkJpegInfo.cpp14 JpegSegment(const SkData* skdata) in JpegSegment() argument
15 : fData(static_cast<const char*>(skdata->data())) in JpegSegment()
16 , fSize(skdata->size()) in JpegSegment()
78 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info) { in SkIsJFIF() argument
81 JpegSegment segment(skdata); in SkIsJFIF()
DSkJpegInfo.h29 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info);
/external/skia/src/ports/
DSkImageDecoder_CG.cpp32 static void data_unref_proc(void* skdata, const void*, size_t) { in data_unref_proc() argument
33 SkASSERT(skdata); in data_unref_proc()
34 static_cast<SkData*>(skdata)->unref(); in data_unref_proc()
39 SkData* skdata = SkCopyStreamToData(stream); in SkStreamToDataProvider() local
40 if (!skdata) { in SkStreamToDataProvider()
44 return CGDataProviderCreateWithData(skdata, skdata->data(), skdata->size(), data_unref_proc); in SkStreamToDataProvider()
/external/skia/bench/
DSkipZeroesBench.cpp64 SkAutoTUnref<SkData> skdata(SkData::NewFromMalloc(data, size)); in onDelayedSetup() local
65 fStream.setData(skdata.get()); in onDelayedSetup()