Loading media/tests/omxjpegdecoder/omx_jpeg_decoder.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -104,7 +104,9 @@ bool OmxJpegImageDecoder::onDecode(SkStream* stream, int height; meta->findInt32(kKeyWidth, &width); meta->findInt32(kKeyHeight, &height); configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height); configBitmapSize( bm, SkColorTypeToBitmapConfig(getPrefColorType(k32Bit_SrcDepth, false)), width, height); // mode == DecodeBounds if (mode == SkImageDecoder::kDecodeBounds_Mode) { Loading Loading
media/tests/omxjpegdecoder/omx_jpeg_decoder.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -104,7 +104,9 @@ bool OmxJpegImageDecoder::onDecode(SkStream* stream, int height; meta->findInt32(kKeyWidth, &width); meta->findInt32(kKeyHeight, &height); configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height); configBitmapSize( bm, SkColorTypeToBitmapConfig(getPrefColorType(k32Bit_SrcDepth, false)), width, height); // mode == DecodeBounds if (mode == SkImageDecoder::kDecodeBounds_Mode) { Loading