/external/skia/fuzz/oss_fuzz/ |
D | FuzzIncrementalImage.cpp | 31 int rowsDecoded; in FuzzIncrementalImageDecode() local 32 result = codec->incrementalDecode(&rowsDecoded); in FuzzIncrementalImageDecode() 36 if (rowsDecoded < bm.height()) { in FuzzIncrementalImageDecode() 37 void* dst = SkTAddOffset<void>(bm.getPixels(), rowsDecoded * bm.rowBytes()); in FuzzIncrementalImageDecode() 38 sk_bzero(dst, (bm.height() - rowsDecoded) * bm.rowBytes()); in FuzzIncrementalImageDecode()
|
/external/skqp/fuzz/oss_fuzz/ |
D | FuzzIncrementalImage.cpp | 31 int rowsDecoded; in FuzzIncrementalImageDecode() local 32 result = codec->incrementalDecode(&rowsDecoded); in FuzzIncrementalImageDecode() 36 if (rowsDecoded < bm.height()) { in FuzzIncrementalImageDecode() 37 void* dst = SkTAddOffset<void>(bm.getPixels(), rowsDecoded * bm.rowBytes()); in FuzzIncrementalImageDecode() 38 sk_bzero(dst, (bm.height() - rowsDecoded) * bm.rowBytes()); in FuzzIncrementalImageDecode()
|
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 529 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows() argument 544 if (rowsDecoded) { in decodeAllRows() 545 *rowsDecoded = fRowsWrittenToOutput; in decodeAllRows() 568 Result decode(int* rowsDecoded) override { in decode() argument 579 if (rowsDecoded) { in decode() 580 *rowsDecoded = fRowsWrittenToOutput; in decode() 675 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows() argument 697 if (rowsDecoded) { in decodeAllRows() 698 *rowsDecoded = fLinesDecoded; in decodeAllRows() 715 Result decode(int* rowsDecoded) override { in decode() argument [all …]
|
D | SkSampledCodec.cpp | 116 int rowsDecoded = 0; in onGetAndroidPixels() local 117 const SkCodec::Result incResult = this->codec()->incrementalDecode(&rowsDecoded); in onGetAndroidPixels() 125 options.fZeroInitialized, scaledSubsetHeight, rowsDecoded); in onGetAndroidPixels() 246 int rowsDecoded = 0; in sampledDecode() local 247 const SkCodec::Result incResult = this->codec()->incrementalDecode(&rowsDecoded); in sampledDecode() 253 SkASSERT(rowsDecoded <= info.height()); in sampledDecode() 255 info.height(), rowsDecoded); in sampledDecode()
|
D | SkGifCodec.cpp | 268 int* rowsDecoded) { in onGetPixels() argument 292 return this->decodeFrame(true, opts, rowsDecoded); in onGetPixels() 311 SkCodec::Result SkGifCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument 319 return this->decodeFrame(firstCallToIncrementalDecode, options, rowsDecoded); in onIncrementalDecode() 322 SkCodec::Result SkGifCodec::decodeFrame(bool firstAttempt, const Options& opts, int* rowsDecoded) { in decodeFrame() argument 374 if (rowsDecoded) { in decodeFrame() 375 *rowsDecoded = fRowsDecoded; in decodeFrame()
|
D | SkWebpCodec.cpp | 509 int rowsDecoded = 0; in onGetPixels() local 513 rowsDecoded = scaledHeight; in onGetPixels() 517 if (!WebPIDecGetRGB(idec, &rowsDecoded, nullptr, nullptr, nullptr) in onGetPixels() 518 || rowsDecoded <= 0) { in onGetPixels() 521 *rowsDecodedPtr = rowsDecoded + dstY; in onGetPixels() 546 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels() 560 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels()
|
D | SkIcoCodec.cpp | 250 int* rowsDecoded) { in onGetPixels() argument 271 *rowsDecoded = dstInfo.height(); in onGetPixels() 363 SkCodec::Result SkIcoCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument 365 return fCurrCodec->incrementalDecode(rowsDecoded); in onIncrementalDecode()
|
D | SkBmpMaskCodec.cpp | 30 int* rowsDecoded) { in onGetPixels() argument 47 *rowsDecoded = rows; in onGetPixels()
|
D | SkPngCodec.h | 109 virtual Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) = 0; 111 virtual Result decode(int* rowsDecoded) = 0;
|
D | SkWuffsCodec.cpp | 183 Result onIncrementalDecode(int* rowsDecoded) override; 365 int* rowsDecoded) { in onGetPixels() argument 370 return this->onIncrementalDecode(rowsDecoded); in onGetPixels() 441 SkCodec::Result SkWuffsCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument 513 if (rowsDecoded) { in onIncrementalDecode() 514 *rowsDecoded = fScaledHeight; in onIncrementalDecode()
|
D | SkWbmpCodec.cpp | 117 int* rowsDecoded) { in onGetPixels() argument 134 *rowsDecoded = y; in onGetPixels()
|
D | SkCodec.cpp | 361 int rowsDecoded = 0; in getPixels() local 362 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded); in getPixels() 369 if ((kIncompleteInput == result || kErrorInInput == result) && rowsDecoded != info.height()) { in getPixels() 377 rowsDecoded); in getPixels()
|
/external/skqp/src/codec/ |
D | SkPngCodec.cpp | 529 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows() argument 544 if (rowsDecoded) { in decodeAllRows() 545 *rowsDecoded = fRowsWrittenToOutput; in decodeAllRows() 568 Result decode(int* rowsDecoded) override { in decode() argument 579 if (rowsDecoded) { in decode() 580 *rowsDecoded = fRowsWrittenToOutput; in decode() 675 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows() argument 697 if (rowsDecoded) { in decodeAllRows() 698 *rowsDecoded = fLinesDecoded; in decodeAllRows() 715 Result decode(int* rowsDecoded) override { in decode() argument [all …]
|
D | SkSampledCodec.cpp | 116 int rowsDecoded = 0; in onGetAndroidPixels() local 117 const SkCodec::Result incResult = this->codec()->incrementalDecode(&rowsDecoded); in onGetAndroidPixels() 125 options.fZeroInitialized, scaledSubsetHeight, rowsDecoded); in onGetAndroidPixels() 246 int rowsDecoded = 0; in sampledDecode() local 247 const SkCodec::Result incResult = this->codec()->incrementalDecode(&rowsDecoded); in sampledDecode() 253 SkASSERT(rowsDecoded <= info.height()); in sampledDecode() 255 info.height(), rowsDecoded); in sampledDecode()
|
D | SkGifCodec.cpp | 268 int* rowsDecoded) { in onGetPixels() argument 292 return this->decodeFrame(true, opts, rowsDecoded); in onGetPixels() 311 SkCodec::Result SkGifCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument 319 return this->decodeFrame(firstCallToIncrementalDecode, options, rowsDecoded); in onIncrementalDecode() 322 SkCodec::Result SkGifCodec::decodeFrame(bool firstAttempt, const Options& opts, int* rowsDecoded) { in decodeFrame() argument 374 if (rowsDecoded) { in decodeFrame() 375 *rowsDecoded = fRowsDecoded; in decodeFrame()
|
D | SkWebpCodec.cpp | 509 int rowsDecoded = 0; in onGetPixels() local 513 rowsDecoded = scaledHeight; in onGetPixels() 517 if (!WebPIDecGetRGB(idec, &rowsDecoded, nullptr, nullptr, nullptr) in onGetPixels() 518 || rowsDecoded <= 0) { in onGetPixels() 521 *rowsDecodedPtr = rowsDecoded + dstY; in onGetPixels() 546 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels() 560 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels()
|
D | SkIcoCodec.cpp | 250 int* rowsDecoded) { in onGetPixels() argument 271 *rowsDecoded = dstInfo.height(); in onGetPixels() 363 SkCodec::Result SkIcoCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument 365 return fCurrCodec->incrementalDecode(rowsDecoded); in onIncrementalDecode()
|
D | SkBmpMaskCodec.cpp | 30 int* rowsDecoded) { in onGetPixels() argument 47 *rowsDecoded = rows; in onGetPixels()
|
D | SkPngCodec.h | 109 virtual Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) = 0; 111 virtual Result decode(int* rowsDecoded) = 0;
|
D | SkWuffsCodec.cpp | 180 Result onIncrementalDecode(int* rowsDecoded) override; 369 int* rowsDecoded) { in onGetPixels() argument 374 return this->onIncrementalDecode(rowsDecoded); in onGetPixels() 430 SkCodec::Result SkWuffsCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument 483 if (rowsDecoded) { in onIncrementalDecode() 484 *rowsDecoded = scaledHeight; in onIncrementalDecode()
|
D | SkWbmpCodec.cpp | 117 int* rowsDecoded) { in onGetPixels() argument 134 *rowsDecoded = y; in onGetPixels()
|
D | SkCodec.cpp | 361 int rowsDecoded = 0; in getPixels() local 362 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded); in getPixels() 369 if ((kIncompleteInput == result || kErrorInInput == result) && rowsDecoded != info.height()) { in getPixels() 377 rowsDecoded); in getPixels()
|
D | SkHeifCodec.h | 38 int* rowsDecoded) override;
|
/external/skqp/include/codec/ |
D | SkCodec.h | 447 Result incrementalDecode(int* rowsDecoded = nullptr) { 451 return this->onIncrementalDecode(rowsDecoded); 725 int* rowsDecoded) = 0;
|
/external/skia/include/codec/ |
D | SkCodec.h | 447 Result incrementalDecode(int* rowsDecoded = nullptr) { 451 return this->onIncrementalDecode(rowsDecoded); 725 int* rowsDecoded) = 0;
|