Lines Matching defs:opts
495 SkDecodingImageGenerator::Options opts(sampleSize, ditherImage, colorType);
497 SkDecodingImageGenerator::Create(stream, opts), bitmap)) {
553 const SkDecodingImageGenerator::Options& opts) {
554 if (opts.fUseRequestedColorType) {
555 return SkColorType_to_string(opts.fRequestedColorType);
574 const SkDecodingImageGenerator::Options& opts,
586 SkDecodingImageGenerator::Create(encodedData, opts), &bm);
592 SkDecodingImageGenerator::Create(encodedStream->duplicate(), opts), &bm);
595 if (opts.fUseRequestedColorType
596 && (kARGB_4444_SkColorType == opts.fRequestedColorType)) {
602 "colorType=%s %s]", opts.fSampleSize, yn(opts.fDitherImage),
603 options_colorType(opts), path.c_str());
611 opts.fSampleSize));
613 opts.fSampleSize));
623 "colorType=%s %s]", opts.fSampleSize, yn(opts.fDitherImage),
624 options_colorType(opts), path.c_str());
628 SkColorType requestedColorType = opts.fRequestedColorType;
630 (!opts.fUseRequestedColorType)
636 && (opts.fSampleSize == 1)) { // scaled
653 opts.fSampleSize, yn(opts.fDitherImage),
654 options_colorType(opts), path.c_str());
711 SkDecodingImageGenerator::Options opts(scaleList[i],
714 test_options(reporter, opts, encodedStream, encodedData,