Flutter Engine
The Flutter Engine
|
#include "include/codec/SkEncodedOrigin.h"
#include "include/codec/SkJpegDecoder.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkDocument.h"
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkStream.h"
#include "include/core/SkTypes.h"
#include "include/docs/SkPDFDocument.h"
#include "include/private/SkEncodedInfo.h"
#include "src/pdf/SkPDFBitmap.h"
#include "tests/Test.h"
#include "tools/Resources.h"
#include <array>
#include <cstdint>
#include <cstring>
Go to the source code of this file.
Functions | |
static bool | is_subset_of (SkData *smaller, SkData *larger) |
static sk_sp< SkData > | load_resource (skiatest::Reporter *r, const char *test, const char *filename) |
DEF_TEST (SkPDF_JpegEmbedTest, r) | |
DEF_TEST | ( | SkPDF_JpegEmbedTest | , |
r | |||
) |
Test that for Jpeg files that use the JFIF colorspace, they are directly embedded into the PDF (without re-encoding) when that makes sense.
Definition at line 60 of file PDFJpegEmbedTest.cpp.
Definition at line 29 of file PDFJpegEmbedTest.cpp.
|
static |
Definition at line 45 of file PDFJpegEmbedTest.cpp.