OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:skdata
(Results
76 - 100
of
210
) sorted by null
1
2
3
4
5
6
7
8
9
/external/skia/src/pdf/
SkPDFGraphicState.cpp
8
#include "
SkData
.h"
138
// Do not copy the trailing '\0' into the
SkData
.
139
SkAutoTUnref<
SkData
> psInvertStream(
140
SkData
::NewWithoutCopy(psInvert, strlen(psInvert)));
SkPDFStream.cpp
10
#include "
SkData
.h"
/external/skia/src/utils/
SkTextureCompressor.cpp
15
#include "
SkData
.h"
147
SkData
* CompressBitmapToFormat(const SkPixmap& pixmap, Format format) {
154
SkData
* dst =
SkData
::NewUninitialized(compressedDataSize);
/external/skia/tools/skiaserve/urlhandlers/
DownloadHandler.cpp
45
SkAutoTUnref<
SkData
> data(outStream.copyToData());
ImgHandler.cpp
40
SkAutoTUnref<
SkData
> data(request->drawToPng(n));
/external/skia/include/core/
SkImageGenerator.h
19
class
SkData
;
55
SK_API bool SkDEPRECATED_InstallDiscardablePixelRef(
SkData
* encoded, SkBitmap* destination);
80
SkData
* refEncodedData(GrContext* ctx = nullptr) {
217
static SkImageGenerator* NewFromEncoded(
SkData
*);
247
virtual
SkData
* onRefEncodedData(SK_REFENCODEDDATA_CTXPARAM);
274
// The
SkData
will never be NULL, as that will have been checked by NewFromEncoded.
275
static SkImageGenerator* NewFromEncodedImpl(
SkData
*);
SkImage.h
18
class
SkData
;
51
static SkImage* NewRasterData(const Info&,
SkData
* pixels, size_t rowBytes);
89
static SkImage* NewFromEncoded(
SkData
* encoded, const SkIRect* subset = NULL);
261
* Encode the image's pixels and return the result as a new
SkData
, which
270
SkData
* encode(SkImageEncoder::Type, int quality) const;
273
* Encode the image and return the result as a caller-managed
SkData
. This will
286
SkData
* encode(SkPixelSerializer* = nullptr) const;
297
SkData
* refEncoded() const;
SkWriteBuffer.h
12
#include "
SkData
.h"
51
void writeDataAsByteArray(
SkData
* data) { this->writeByteArray(data->data(), data->size()); }
SkGraphics.h
13
class
SkData
;
160
typedef SkImageGenerator* (*ImageGeneratorFromEncodedFactory)(
SkData
*);
164
* exists, it is called to create an SkImageGenerator from
SkData
. If there is no function-ptr
/external/skia/src/image/
SkImage.cpp
11
#include "
SkData
.h"
100
SkData
* SkImage::encode(SkImageEncoder::Type type, int quality) const {
108
SkData
* SkImage::encode(SkPixelSerializer* serializer) const {
116
SkAutoTUnref<
SkData
> encoded(this->refEncoded());
130
SkData
* SkImage::refEncoded() const {
135
SkImage* SkImage::NewFromEncoded(
SkData
* encoded, const SkIRect* subset) {
/external/skia/bench/
PDFBench.cpp
10
#include "
SkData
.h"
94
SkAutoTUnref<
SkData
> encoded(img->refEncoded());
CodecBench.cpp
18
CodecBench::CodecBench(SkString baseName,
SkData
* encoded, SkColorType colorType,
/external/skia/cmake/
example.cpp
9
#include "../include/core/
SkData
.h"
88
std::shared_ptr<
SkData
> png = adopt(image->encode(SkImageEncoder::kPNG_Type, 100));
/external/skia/gm/
image_shader.cpp
10
#include "
SkData
.h"
56
SkAutoTUnref<
SkData
> encoded(src->encode(SkImageEncoder::kPNG_Type, 100));
astcbitmap.cpp
12
#include "
SkData
.h"
/external/skia/src/images/
SkImageDecoder_libbmp.cpp
12
#include "
SkData
.h"
100
SkAutoTUnref<
SkData
> data(SkCopyStreamToData(stream));
/external/skia/tools/skiaserve/
Request.cpp
63
SkData
* Request::writeCanvasToPng(SkCanvas* canvas) {
89
SkData
* Request::drawToPng(int n) {
/external/skia/site/user/api/
canvas.md
33
#include "
SkData
.h"
46
SkAutoTUnref<
SkData
> png(img->encode());
82
#include "
SkData
.h"
102
SkAutoTUnref<
SkData
> png(img->encode());
/external/skia/src/android/
SkBitmapRegionDecoder.cpp
17
SkData
* data, Strategy strategy) {
/external/skia/src/core/
SkPixmap.cpp
10
#include "
SkData
.h"
313
const
SkData
* SkAutoPixmapStorage::detachPixelsAsData() {
318
const
SkData
* data =
SkData
::NewFromMalloc(fStorage, this->getSafeSize());
/external/skia/src/sfnt/
SkOTUtils.cpp
8
#include "
SkData
.h"
36
SkData
* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) {
86
SkAutoTUnref<
SkData
> rewrittenFontData(
SkData
::NewUninitialized(newDataSize));
/external/skia/experimental/SkV8Example/
SkV8Example.cpp
25
#include "
SkData
.h"
206
SkAutoTUnref<
SkData
> data;
208
data.reset(
SkData
::NewFromFileName(FLAGS_infile[0]));
/external/skia/include/ports/
SkFontMgr.h
16
class
SkData
;
96
SkTypeface* createFromData(
SkData
*, int ttcIndex = 0) const;
192
virtual SkTypeface* onCreateFromData(
SkData
*, int ttcIndex) const = 0;
/external/skia/samplecode/
SampleLua.cpp
13
#include "
SkData
.h"
63
SkData
* data =
SkData
::NewFromFileName(str.c_str());
/external/skia/src/codec/
SkWbmpCodec.cpp
12
#include "
SkData
.h"
158
SkAutoTUnref<
SkData
> data(
SkData
::NewWithoutCopy(buffer, bytesRead));
Completed in 649 milliseconds
1
2
3
4
5
6
7
8
9