HomeSort by relevance Sort by last modified time
    Searched refs:SkImageDecoder (Results 26 - 50 of 74) sorted by null

12 3

  /external/chromium_org/third_party/skia/tests/
ImageDecodingTest.cpp 18 #include "SkImageDecoder.h"
47 static bool skip_image_format(SkImageDecoder::Format format) {
49 case SkImageDecoder::kPNG_Format:
50 case SkImageDecoder::kWEBP_Format:
53 case SkImageDecoder::kUnknown_Format:
56 case SkImageDecoder::kICO_Format:
57 case SkImageDecoder::kBMP_Format:
60 case SkImageDecoder::kKTX_Format:
61 case SkImageDecoder::kASTC_Format:
63 case SkImageDecoder::kPKM_Format
    [all...]
GifTest.cpp 18 #include "SkImageDecoder.h"
55 bool imageDecodeSuccess = SkImageDecoder::DecodeMemory(
67 bool imageDecodeSuccess = SkImageDecoder::DecodeMemory(
89 bool imageDecodeSuccess = SkImageDecoder::DecodeMemory(
122 bool imageDecodeSuccess = SkImageDecoder::DecodeMemory(
139 This test will test the ability of the SkImageDecoder to deal with
KtxTest.cpp 13 #include "SkImageDecoder.h"
62 bool imageDecodeSuccess = SkImageDecoder::DecodeStream(stream, &decodedBitmap);
115 bool imageDecodeSuccess = SkImageDecoder::DecodeStream(stream, &decodedBitmap);
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_ktx.cpp 9 #include "SkImageDecoder.h"
35 class SkKTXImageDecoder : public SkImageDecoder {
47 typedef SkImageDecoder INHERITED;
123 if (SkImageDecoder::kDecodeBounds_Mode == mode) {
317 static SkImageDecoder* sk_libktx_dfactory(SkStreamRewindable* stream) {
324 static SkImageDecoder::Format get_format_ktx(SkStreamRewindable* stream) {
326 return SkImageDecoder::kKTX_Format;
328 return SkImageDecoder::kUnknown_Format;
SkDecodingImageGenerator.cpp 10 #include "SkImageDecoder.h"
160 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream));
172 SkImageDecoder::kDecodePixels_Mode);
217 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(autoStream));
224 if (!decoder->decode(stream, &bitmap, SkImageDecoder::kDecodeBounds_Mode)) {
SkImageDecoder_libico.cpp 9 #include "SkImageDecoder.h"
14 class SkICOImageDecoder : public SkImageDecoder {
26 typedef SkImageDecoder INHERITED;
165 SkAutoTDelete<SkImageDecoder> otherDecoder(SkImageDecoder::Factory(&subStream));
168 if (otherDecoder->getFormat() == SkImageDecoder::kICO_Format) {
261 if (SkImageDecoder::kDecodeBounds_Mode == mode) {
411 static SkImageDecoder* sk_libico_dfactory(SkStreamRewindable* stream) {
420 static SkImageDecoder::Format get_format_ico(SkStreamRewindable* stream) {
422 return SkImageDecoder::kICO_Format
    [all...]
SkImageDecoder_libgif.cpp 11 #include "SkImageDecoder.h"
20 class SkGIFImageDecoder : public SkImageDecoder {
30 typedef SkImageDecoder INHERITED;
324 if (SkImageDecoder::kDecodeBounds_Mode == mode) {
524 static SkImageDecoder* sk_libgif_dfactory(SkStreamRewindable* stream) {
533 static SkImageDecoder::Format get_format_gif(SkStreamRewindable* stream) {
535 return SkImageDecoder::kGIF_Format;
537 return SkImageDecoder::kUnknown_Format;
SkImageDecoder_libjpeg.cpp 9 #include "SkImageDecoder.h"
108 SkJPEGImageIndex(SkStreamRewindable* stream, SkImageDecoder* decoder)
218 class SkJPEGImageDecoder : public SkImageDecoder {
258 typedef SkImageDecoder INHERITED;
390 static void set_dct_method(const SkImageDecoder& decoder, jpeg_decompress_struct* cinfo) {
463 const SkImageDecoder& decoder) {
578 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) {
601 if (SkImageDecoder::kDecodeBounds_Mode == mode && valid_output_dimensions(cinfo)) {
630 if (SkImageDecoder::kDecodeBounds_Mode == mode) {
    [all...]
SkImageDecoder_libwebp.cpp 17 #include "SkImageDecoder.h"
95 class SkWEBPImageDecoder: public SkImageDecoder {
133 typedef SkImageDecoder INHERITED;
432 if (SkImageDecoder::kDecodeBounds_Mode == mode) {
662 static SkImageDecoder* sk_libwebp_dfactory(SkStreamRewindable* stream) {
672 static SkImageDecoder::Format get_format_webp(SkStreamRewindable* stream) {
675 return SkImageDecoder::kWEBP_Format;
677 return SkImageDecoder::kUnknown_Format;
SkImageDecoder_libpng.cpp 8 #include "SkImageDecoder.h"
76 class SkPNGImageDecoder : public SkImageDecoder {
106 typedef SkImageDecoder INHERITED;
145 SkImageDecoder::Peeker* peeker =
146 (SkImageDecoder::Peeker*)png_get_user_chunk_ptr(png_ptr);
335 if (SkImageDecoder::kDecodeBounds_Mode == mode) {
    [all...]
  /external/chromium_org/third_party/skia/gm/
filterindiabox.cpp 14 #include "SkImageDecoder.h"
110 SkImageDecoder* codec = NULL;
114 codec = SkImageDecoder::Factory(&stream);
118 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
downsamplebitmap.cpp 13 #include "SkImageDecoder.h"
172 SkImageDecoder* codec = NULL;
176 codec = SkImageDecoder::Factory(&stream);
180 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
filterbitmap.cpp 12 #include "SkImageDecoder.h"
197 SkImageDecoder* codec = NULL;
201 codec = SkImageDecoder::Factory(&stream);
205 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
gm_expectations.cpp 13 #include "SkImageDecoder.h"
200 SkImageDecoder::DecodeFile(path.c_str(), &referenceBitmap, kN32_SkColorType,
201 SkImageDecoder::kDecodePixels_Mode, NULL);
  /external/chromium_org/third_party/skia/samplecode/
SampleSubpixelTranslate.cpp 15 #include "SkImageDecoder.h"
30 SkImageDecoder* codec = NULL;
33 codec = SkImageDecoder::Factory(&stream);
37 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
SampleUnpremul.cpp 17 #include "SkImageDecoder.h"
176 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(&stream));
185 SkImageDecoder::kDecodePixels_Mode);
SampleCamera.cpp 19 #include "SkImageDecoder.h"
35 if (SkImageDecoder::DecodeFile(str.c_str(), &bm)) {
SampleLines.cpp 14 #include "SkImageDecoder.h"
29 #include "SkImageDecoder.h"
67 SkImageDecoder::DecodeFile("/kill.gif", &bm);
  /external/chromium_org/third_party/skia/bench/
ImageDecodeBench.cpp 12 #include "SkImageDecoder.h"
65 SkDEBUGCODE(bool success =) SkImageDecoder::DecodeStream(&fStream, &bm);
  /external/chromium_org/third_party/skia/dm/
DMPipeTask.cpp 51 PipeController pipeController(&canvas, &SkImageDecoder::DecodeMemory);
  /external/chromium_org/third_party/skia/tools/
skdiff_utils.cpp 11 #include "SkImageDecoder.h"
35 bool get_bitmap(SkData* fileBits, DiffResource& resource, SkImageDecoder::Mode mode) {
38 SkImageDecoder* codec = SkImageDecoder::Factory(&stream);
47 SkAutoTDelete<SkImageDecoder> ad(codec);
  /external/chromium_org/third_party/skia/src/animator/
SkDrawBitmap.cpp 13 #include "SkImageDecoder.h"
184 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap);
194 SkImageDecoder::DecodeStream(stream, &fBitmap);
  /external/chromium_org/third_party/skia/experimental/webtry/
main.cpp 9 #include "SkImageDecoder.h"
104 if (!SkImageDecoder::DecodeFile(FLAGS_source[0], &source)) {
  /external/chromium_org/third_party/skia/src/views/
SkParsePaint.cpp 11 #include "SkImageDecoder.h"
49 if (SkImageDecoder::DecodeFile(str, &bm))
SkProgressView.cpp 107 #include "SkImageDecoder.h"
113 return SkImageDecoder::DecodeFile(file, &bm) ?

Completed in 771 milliseconds

12 3