Lines Matching refs:Result
59 enum Result {
112 static const char* ResultToString(Result);
127 * If Result is not NULL, it will be set to either kSuccess if an SkCodec
140 * chunk, this could result in a failure to create the codec or a
148 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result* = nullptr,
162 * chunk, this could result in a failure to create the codec or a
219 * changes could result in a valid subset.
334 * @return Result kSuccess, or another value explaining the type of failure.
336 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options*);
341 Result getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) {
345 Result getPixels(const SkPixmap& pm, const Options* opts = nullptr) {
365 bool result = this->onQueryYUV8(sizeInfo, colorSpace);
366 if (result) {
375 return result;
388 Result getYUV8Planes(const SkYUVASizeInfo& sizeInfo, void* planes[SkYUVASizeInfo::kMaxCount]) {
417 Result
420 Result startIncrementalDecode(const SkImageInfo& dstInfo, void* dst, size_t rowBytes) {
447 Result incrementalDecode(int* rowsDecoded = nullptr) {
475 Result startScanlineDecode(const SkImageInfo& dstInfo, const Options* options);
480 Result startScanlineDecode(const SkImageInfo& dstInfo) {
723 virtual Result onGetPixels(const SkImageInfo& info,
731 virtual Result onGetYUV8Planes(const SkYUVASizeInfo&,
871 Result handleFrameIndex(const SkImageInfo&, void* pixels, size_t rowBytes, const Options&);
874 virtual Result onStartScanlineDecode(const SkImageInfo& /*dstInfo*/,
879 virtual Result onStartIncrementalDecode(const SkImageInfo& /*dstInfo*/, void*, size_t,
884 virtual Result onIncrementalDecode(int*) {