Sign in
ara-mdk
/
platform
/
external
/
skia
/
0d4a859c834194fba1e003c2aa22dc75036444d6
/
.
/
legacy
/
src
/
images
/
SkBitmapRegionDecoder.cpp
blob: 24bc4460c21539644f5ac702ec7848444a6439ce [
file
] [
log
] [
blame
]
#include
"SkBitmapRegionDecoder.h"
bool
SkBitmapRegionDecoder
::
decodeRegion
(
SkBitmap
*
bitmap
,
SkIRect
rect
,
SkBitmap
::
Config
pref
,
int
sampleSize
)
{
fDecoder
->
setSampleSize
(
sampleSize
);
return
fDecoder
->
decodeRegion
(
bitmap
,
rect
,
pref
);
}