Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
codec
SkBmpBaseCodec.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2017 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
#include "
src/codec/SkBmpBaseCodec.h
"
8
9
#include "
include/core/SkStream.h
"
10
#include "
include/private/SkEncodedInfo.h
"
11
#include "
include/private/base/SkMalloc.h
"
12
13
#include <utility>
14
15
SkBmpBaseCodec::~SkBmpBaseCodec
() {}
16
17
SkBmpBaseCodec::SkBmpBaseCodec
(
SkEncodedInfo
&&
info
, std::unique_ptr<SkStream> stream,
18
uint16_t bitsPerPixel,
SkCodec::SkScanlineOrder
rowOrder)
19
:
INHERITED
(
std
::move(
info
),
std
::move(stream), bitsPerPixel, rowOrder)
20
, fSrcBuffer(
sk_malloc_canfail
(this->srcRowBytes()))
21
{}
info
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition
DM.cpp:213
SkBmpBaseCodec.h
SkEncodedInfo.h
SkMalloc.h
sk_malloc_canfail
static void * sk_malloc_canfail(size_t size)
Definition
SkMalloc.h:93
SkStream.h
SkBmpBaseCodec::~SkBmpBaseCodec
~SkBmpBaseCodec() override
Definition
SkBmpBaseCodec.cpp:15
SkBmpBaseCodec::SkBmpBaseCodec
SkBmpBaseCodec(SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder)
Definition
SkBmpBaseCodec.cpp:17
SkBmpCodec
Definition
SkBmpCodec.h:28
SkCodec::SkScanlineOrder
SkScanlineOrder
Definition
SkCodec.h:575
std
Definition
ref_ptr.h:256
SkEncodedInfo
Definition
SkEncodedInfo.h:25
Generated on Fri Apr 26 2024 06:16:33 for Flutter Engine by
1.9.8