Flutter Engine
The Flutter Engine
|
#include "include/codec/SkCodec.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkData.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "tests/CodecPriv.h"
#include "tests/FakeStreams.h"
#include "tests/Test.h"
#include "tools/Resources.h"
#include <algorithm>
#include <cstring>
#include <initializer_list>
#include <memory>
#include <utility>
#include <vector>
Go to the source code of this file.
Functions | |
static SkImageInfo | standardize_info (SkCodec *codec) |
static bool | create_truth (sk_sp< SkData > data, SkBitmap *dst) |
static bool | compare_bitmaps (skiatest::Reporter *r, const SkBitmap &bm1, const SkBitmap &bm2) |
static void | test_partial (skiatest::Reporter *r, const char *name, const sk_sp< SkData > &file, size_t minBytes, size_t increment) |
static void | test_partial (skiatest::Reporter *r, const char *name, size_t minBytes=0) |
DEF_TEST (Codec_partial, r) | |
DEF_TEST (Codec_partialWuffs, r) | |
DEF_TEST (Codec_requiredFrame, r) | |
DEF_TEST (Codec_partialAnim, r) | |
static void | test_interleaved (skiatest::Reporter *r, const char *name) |
DEF_TEST (Codec_rewind, r) | |
DEF_TEST (Codec_GifPreMap, r) | |
DEF_TEST (Codec_emptyIDAT, r) | |
DEF_TEST (Codec_incomplete, r) | |
Variables | |
static unsigned char | gNoGlobalColorMap [] |
|
static |
Definition at line 47 of file CodecPartialTest.cpp.
Definition at line 36 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_emptyIDAT | , |
r | |||
) |
Definition at line 452 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_GifPreMap | , |
r | |||
) |
Definition at line 399 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_incomplete | , |
r | |||
) |
Definition at line 476 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_partial | , |
r | |||
) |
Definition at line 139 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_partialAnim | , |
r | |||
) |
Definition at line 227 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_partialWuffs | , |
r | |||
) |
Definition at line 159 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_requiredFrame | , |
r | |||
) |
Definition at line 176 of file CodecPartialTest.cpp.
DEF_TEST | ( | Codec_rewind | , |
r | |||
) |
Definition at line 368 of file CodecPartialTest.cpp.
|
static |
Definition at line 29 of file CodecPartialTest.cpp.
|
static |
Definition at line 331 of file CodecPartialTest.cpp.
|
static |
Definition at line 64 of file CodecPartialTest.cpp.
|
static |
Definition at line 127 of file CodecPartialTest.cpp.
|
static |
Definition at line 377 of file CodecPartialTest.cpp.