Flutter Engine
The Flutter Engine
|
#include <SkJpegGainmapEncoder.h>
Static Public Member Functions | |
static bool | EncodeHDRGM (SkWStream *dst, const SkPixmap &base, const SkJpegEncoder::Options &baseOptions, const SkPixmap &gainmap, const SkJpegEncoder::Options &gainmapOptions, const SkGainmapInfo &gainmapInfo) |
static bool | MakeMPF (SkWStream *dst, const SkData **images, size_t imageCount) |
Definition at line 17 of file SkJpegGainmapEncoder.h.
|
static |
Encode an UltraHDR image to |dst|.
The base image is specified by |base|, and |baseOptions| controls the encoding behavior for the base image.
The gainmap image is specified by |gainmap|, and |gainmapOptions| controls the encoding behavior for the gainmap image.
The rendering behavior of the gainmap image is provided in |gainmapInfo|.
If |baseOptions| or |gainmapOptions| specify XMP metadata, then that metadata will be overwritten.
Returns true on success. Returns false on an invalid or unsupported |src|.
Definition at line 239 of file SkJpegGainmapEncoder.cpp.
|
static |
Write a Multi Picture Format containing the |imageCount| images specified by |images|.
Definition at line 362 of file SkJpegGainmapEncoder.cpp.