Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
include
private
SkJpegGainmapEncoder.h
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkJpegGainmapEncoder_DEFINED
9
#define SkJpegGainmapEncoder_DEFINED
10
11
#include "
include/encode/SkJpegEncoder.h
"
12
13
class
SkPixmap
;
14
class
SkWStream
;
15
struct
SkGainmapInfo
;
16
17
class
SK_API
SkJpegGainmapEncoder
{
18
public
:
19
/**
20
* Encode an UltraHDR image to |dst|.
21
*
22
* The base image is specified by |base|, and |baseOptions| controls the encoding behavior for
23
* the base image.
24
*
25
* The gainmap image is specified by |gainmap|, and |gainmapOptions| controls the encoding
26
* behavior for the gainmap image.
27
*
28
* The rendering behavior of the gainmap image is provided in |gainmapInfo|.
29
*
30
* If |baseOptions| or |gainmapOptions| specify XMP metadata, then that metadata will be
31
* overwritten.
32
*
33
* Returns true on success. Returns false on an invalid or unsupported |src|.
34
*/
35
static
bool
EncodeHDRGM(
SkWStream
*
dst
,
36
const
SkPixmap
&
base
,
37
const
SkJpegEncoder::Options
& baseOptions,
38
const
SkPixmap
& gainmap,
39
const
SkJpegEncoder::Options
& gainmapOptions,
40
const
SkGainmapInfo
& gainmapInfo);
41
42
/**
43
* Write a Multi Picture Format containing the |imageCount| images specified by |images|.
44
*/
45
static
bool
MakeMPF(
SkWStream
*
dst
,
const
SkData
**
images
,
size_t
imageCount);
46
};
47
48
#endif
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkJpegEncoder.h
SkData
Definition:
SkData.h:25
SkJpegGainmapEncoder
Definition:
SkJpegGainmapEncoder.h:17
SkPixmap
Definition:
SkPixmap.h:40
SkWStream
Definition:
SkStream.h:218
images
std::array< MockImage, 3 > images
Definition:
mock_vulkan.cc:41
base
Definition:
ax_tree_id_registry.h:17
gn.cp.dst
dst
Definition:
cp.py:12
SkGainmapInfo
Definition:
SkGainmapInfo.h:43
SkJpegEncoder::Options
Definition:
SkJpegEncoder.h:50
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4