• Home
  • Raw
  • Download

Lines Matching refs:fDecoderMgr

304     , fDecoderMgr(decoderMgr)  in SkJpegCodec()
375 return fDecoderMgr->returnFalse("onRewind"); in onRewind()
378 fDecoderMgr.reset(decoderMgr); in onRewind()
401 J_COLOR_SPACE encodedColorType = fDecoderMgr->dinfo()->jpeg_color_space; in conversionSupported()
406 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
412 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
414 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in conversionSupported()
419 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
421 fDecoderMgr->dinfo()->dither_mode = JDITHER_NONE; in conversionSupported()
422 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in conversionSupported()
431 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
433 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in conversionSupported()
438 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
447 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in conversionSupported()
458 skjpeg_error_mgr::AutoPushJmpBuf jmp(fDecoderMgr->errorMgr()); in onDimensionsSupported()
460 return fDecoderMgr->returnFalse("onDimensionsSupported"); in onDimensionsSupported()
490 fDecoderMgr->dinfo()->scale_num = num; in onDimensionsSupported()
491 fDecoderMgr->dinfo()->scale_denom = denom; in onDimensionsSupported()
498 skjpeg_error_mgr::AutoPushJmpBuf jmp(fDecoderMgr->errorMgr()); in readRows()
534 uint32_t lines = jpeg_read_scanlines(fDecoderMgr->dinfo(), &decodeDst, 1); in readRows()
585 jpeg_decompress_struct* dinfo = fDecoderMgr->dinfo(); in onGetPixels()
588 skjpeg_error_mgr::AutoPushJmpBuf jmp(fDecoderMgr->errorMgr()); in onGetPixels()
590 return fDecoderMgr->returnFailure("setjmp", kInvalidInput); in onGetPixels()
594 return fDecoderMgr->returnFailure("startDecompress", kInvalidInput); in onGetPixels()
611 return fDecoderMgr->returnFailure("Incomplete image data", kIncompleteInput); in onGetPixels()
622 swizzleBytes = get_row_bytes(fDecoderMgr->dinfo()); in allocateStorage()
668 switch (fDecoderMgr->dinfo()->out_color_space) { in initializeSwizzler()
696 fDecoderMgr->dinfo()->out_color_space, this->getEncodedInfo().profile(), in getSampler()
706 skjpeg_error_mgr::AutoPushJmpBuf jmp(fDecoderMgr->errorMgr()); in onStartScanlineDecode()
712 if (!jpeg_start_decompress(fDecoderMgr->dinfo())) { in onStartScanlineDecode()
718 fDecoderMgr->dinfo()->out_color_space, this->getEncodedInfo().profile(), in onStartScanlineDecode()
729 jpeg_crop_scanline(fDecoderMgr->dinfo(), &startX, &width); in onStartScanlineDecode()
771 fDecoderMgr->dinfo()->output_scanline = this->dstInfo().height(); in onGetScanlines()
779 skjpeg_error_mgr::AutoPushJmpBuf jmp(fDecoderMgr->errorMgr()); in onSkipScanlines()
781 return fDecoderMgr->returnFalse("onSkipScanlines"); in onSkipScanlines()
784 return (uint32_t) count == jpeg_skip_scanlines(fDecoderMgr->dinfo(), count); in onSkipScanlines()
843 jpeg_decompress_struct* dinfo = fDecoderMgr->dinfo(); in onQueryYUV8()
879 return fDecoderMgr->returnFailure("onGetYUV8Planes", kInvalidInput); in onGetYUV8Planes()
883 skjpeg_error_mgr::AutoPushJmpBuf jmp(fDecoderMgr->errorMgr()); in onGetYUV8Planes()
885 return fDecoderMgr->returnFailure("setjmp", kInvalidInput); in onGetYUV8Planes()
889 jpeg_decompress_struct* dinfo = fDecoderMgr->dinfo(); in onGetYUV8Planes()
893 return fDecoderMgr->returnFailure("startDecompress", kInvalidInput); in onGetYUV8Planes()