Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/flutter/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()
/third_party/flutter/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.cpp494 int rowsDecoded = 0; in onGetPixels() local
498 rowsDecoded = scaledHeight; in onGetPixels()
502 if (!WebPIDecGetRGB(idec, &rowsDecoded, nullptr, nullptr, nullptr) in onGetPixels()
503 || rowsDecoded <= 0) { in onGetPixels()
506 *rowsDecodedPtr = rowsDecoded + dstY; in onGetPixels()
531 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels()
545 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.cpp149 Result onIncrementalDecode(int* rowsDecoded) override;
303 int* rowsDecoded) { in onGetPixels() argument
308 return this->onIncrementalDecode(rowsDecoded); in onGetPixels()
366 SkCodec::Result SkWuffsCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument
434 if (rowsDecoded) { in onIncrementalDecode()
435 *rowsDecoded = dstInfo().height(); in onIncrementalDecode()
DSkWbmpCodec.cpp117 int* rowsDecoded) { in onGetPixels() argument
134 *rowsDecoded = y; in onGetPixels()
DSkCodec.cpp387 int rowsDecoded = 0; in getPixels() local
388 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded); in getPixels()
395 if ((kIncompleteInput == result || kErrorInInput == result) && rowsDecoded != info.height()) { in getPixels()
403 rowsDecoded); in getPixels()
/third_party/skia/src/codec/
DSkPngCodec.cpp527 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows() argument
542 if (rowsDecoded) { in decodeAllRows()
543 *rowsDecoded = fRowsWrittenToOutput; in decodeAllRows()
566 Result decode(int* rowsDecoded) override { in decode() argument
577 if (rowsDecoded) { in decode()
578 *rowsDecoded = fRowsWrittenToOutput; in decode()
673 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows() argument
695 if (rowsDecoded) { in decodeAllRows()
696 *rowsDecoded = fLinesDecoded; in decodeAllRows()
713 Result decode(int* rowsDecoded) override { in decode() argument
[all …]
DSkSampledCodec.cpp114 int rowsDecoded = 0; in onGetAndroidPixels() local
115 const SkCodec::Result incResult = this->codec()->incrementalDecode(&rowsDecoded); in onGetAndroidPixels()
123 options.fZeroInitialized, scaledSubsetHeight, rowsDecoded); in onGetAndroidPixels()
239 int rowsDecoded = 0; in sampledDecode() local
240 const SkCodec::Result incResult = this->codec()->incrementalDecode(&rowsDecoded); in sampledDecode()
246 SkASSERT(rowsDecoded <= info.height()); in sampledDecode()
248 info.height(), rowsDecoded); in sampledDecode()
DSkWebpCodec.cpp488 int rowsDecoded = 0; in onGetPixels() local
492 rowsDecoded = scaledHeight; in onGetPixels()
496 if (!WebPIDecGetRGB(idec, &rowsDecoded, nullptr, nullptr, nullptr) in onGetPixels()
497 || rowsDecoded <= 0) { in onGetPixels()
500 *rowsDecodedPtr = rowsDecoded + dstY; in onGetPixels()
525 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels()
539 for (int y = 0; y < rowsDecoded; y++) { in onGetPixels()
DSkIcoCodec.cpp257 int* rowsDecoded) { in onGetPixels() argument
278 *rowsDecoded = dstInfo.height(); in onGetPixels()
370 SkCodec::Result SkIcoCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument
372 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.cpp222 Result onIncrementalDecode(int* rowsDecoded) override;
404 int* rowsDecoded) { in onGetPixels() argument
409 return this->onIncrementalDecode(rowsDecoded); in onGetPixels()
573 SkCodec::Result SkWuffsCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument
578 if (rowsDecoded) { in onIncrementalDecode()
579 *rowsDecoded = dstInfo().height(); in onIncrementalDecode()
DSkWbmpCodec.cpp117 int* rowsDecoded) { in onGetPixels() argument
134 *rowsDecoded = y; in onGetPixels()
DSkCodec.cpp436 int rowsDecoded = 0; in getPixels() local
437 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded); in getPixels()
444 if ((kIncompleteInput == result || kErrorInInput == result) && rowsDecoded != info.height()) { in getPixels()
452 rowsDecoded); in getPixels()
DSkIcoCodec.h70 Result onIncrementalDecode(int* rowsDecoded) override;
/third_party/skia/third_party/externals/libgifcodec/
DSkLibGifCodec.cpp273 int* rowsDecoded) { in onGetPixels() argument
297 return this->decodeFrame(true, opts, rowsDecoded); in onGetPixels()
316 SkCodec::Result SkLibGifCodec::onIncrementalDecode(int* rowsDecoded) { in onIncrementalDecode() argument
324 return this->decodeFrame(firstCallToIncrementalDecode, options, rowsDecoded); in onIncrementalDecode()
327 SkCodec::Result SkLibGifCodec::decodeFrame(bool firstAttempt, const Options& opts, int* rowsDecoded in decodeFrame() argument
379 if (rowsDecoded) { in decodeFrame()
380 *rowsDecoded = fRowsDecoded; in decodeFrame()
/third_party/skia/include/codec/
DSkCodec.h462 Result incrementalDecode(int* rowsDecoded = nullptr) {
466 return this->onIncrementalDecode(rowsDecoded);
772 int* rowsDecoded) = 0;
/third_party/flutter/skia/include/codec/
DSkCodec.h467 Result incrementalDecode(int* rowsDecoded = nullptr) {
471 return this->onIncrementalDecode(rowsDecoded);
754 int* rowsDecoded) = 0;

12