OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:decoderMgr
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/codec/
SkJpegCodec.cpp
36
SkAutoTDelete<JpegDecoderMgr>
decoderMgr
(new JpegDecoderMgr(stream));
39
if (setjmp(
decoderMgr
->getJmpBuf())) {
40
return
decoderMgr
->returnFalse("setjmp");
44
decoderMgr
->init();
47
if (JPEG_HEADER_OK != jpeg_read_header(
decoderMgr
->dinfo(), true)) {
48
return
decoderMgr
->returnFalse("read_header");
53
const SkColorType colorType =
decoderMgr
->getColorType();
56
const SkImageInfo& imageInfo = SkImageInfo::Make(
decoderMgr
->dinfo()->image_width,
57
decoderMgr
->dinfo()->image_height, colorType, kOpaque_SkAlphaType);
58
*codecOut = new SkJpegCodec(imageInfo, stream,
decoderMgr
.detach())
[
all
...]
SkJpegCodec.h
90
* @param
decoderMgr
holds decompress struct, src manager, and error manager
93
SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, JpegDecoderMgr*
decoderMgr
);
Completed in 758 milliseconds