Home
last modified time | relevance | path

Searched refs:rowsDecoded (Results 1 – 25 of 44) sorted by relevance

12

/external/skia/fuzz/oss_fuzz/
DFuzzIncrementalImage.cpp31 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/
DFuzzIncrementalImage.cpp31 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/
DSkPngCodec.cpp529 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 …]
DSkSampledCodec.cpp116 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()
DSkGifCodec.cpp268 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()
DSkWebpCodec.cpp509 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()
DSkIcoCodec.cpp250 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()
DSkBmpMaskCodec.cpp30 int* rowsDecoded) { in onGetPixels() argument
47 *rowsDecoded = rows; in onGetPixels()
DSkPngCodec.h109 virtual Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) = 0;
111 virtual Result decode(int* rowsDecoded) = 0;
DSkWuffsCodec.cpp183 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()
DSkWbmpCodec.cpp117 int* rowsDecoded) { in onGetPixels() argument
134 *rowsDecoded = y; in onGetPixels()
DSkCodec.cpp361 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/
DSkPngCodec.cpp529 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 …]
DSkSampledCodec.cpp116 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()
DSkGifCodec.cpp268 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()
DSkWebpCodec.cpp509 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()
DSkIcoCodec.cpp250 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()
DSkBmpMaskCodec.cpp30 int* rowsDecoded) { in onGetPixels() argument
47 *rowsDecoded = rows; in onGetPixels()
DSkPngCodec.h109 virtual Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) = 0;
111 virtual Result decode(int* rowsDecoded) = 0;
DSkWuffsCodec.cpp180 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()
DSkWbmpCodec.cpp117 int* rowsDecoded) { in onGetPixels() argument
134 *rowsDecoded = y; in onGetPixels()
DSkCodec.cpp361 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()
DSkHeifCodec.h38 int* rowsDecoded) override;
/external/skqp/include/codec/
DSkCodec.h447 Result incrementalDecode(int* rowsDecoded = nullptr) {
451 return this->onIncrementalDecode(rowsDecoded);
725 int* rowsDecoded) = 0;
/external/skia/include/codec/
DSkCodec.h447 Result incrementalDecode(int* rowsDecoded = nullptr) {
451 return this->onIncrementalDecode(rowsDecoded);
725 int* rowsDecoded) = 0;

12