diff options
author | rmistry <rmistry@google.com> | 2014-10-15 13:15:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-15 13:15:58 -0700 |
commit | 3ac569b37a5b4fa5072f4d8ed946f0eea24e9020 (patch) | |
tree | 21cf7599558cd44ce4b2732509066897ba79f005 /include | |
parent | 7ef2d98301ee8182452d73bf0b91290dc9b90905 (diff) |
Revert of JPEG YUV Decoding (patchset #5 id:180001 of https://codereview.chromium.org/399683007/)
Reason for revert:
Caused many test bots to go red:
http://build.chromium.org/p/client.skia/builders/Test-ChromeOS-Alex-GMA3150-x86-Release/builds/22/steps/dm/logs/stdio
http://build.chromium.org/p/client.skia/builders/Test-ChromeOS-Link-HD4000-x86_64-Debug/builds/168/steps/dm/logs/stdio
http://build.chromium.org/p/client.skia/builders/Test-Ubuntu12-ShuttleA-GTX660-x86-Release/builds/38/steps/dm/logs/stdio
Original issue's description:
> JPEG YUV Decoding
>
> Enabling JPEG YUV Decoding in Skia
>
> BUG=skia:3005, skia:1674
>
> Committed: https://skia.googlesource.com/skia/+/8e6c3b93a39e19111662a760ede97df55e51d39f
TBR=reed@google.com,scroggo@google.com,sugoi@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:3005, skia:1674
Review URL: https://codereview.chromium.org/656163002
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkImageDecoder.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/core/SkImageDecoder.h b/include/core/SkImageDecoder.h index 94831762de..5910d33a99 100644 --- a/include/core/SkImageDecoder.h +++ b/include/core/SkImageDecoder.h @@ -47,15 +47,6 @@ public: */ virtual Format getFormat() const; - /** If planes or rowBytes is NULL, decodes the header and computes componentSizes - for memory allocation. - Otherwise, decodes the YUV planes into the provided image planes and - updates componentSizes to the final image size. - Returns whether the decoding was successful. - */ - bool decodeYUV8Planes(SkStream* stream, SkISize componentSizes[3], void* planes[3], - size_t rowBytes[3], SkYUVColorSpace*); - /** Return the format of the SkStreamRewindable or kUnknown_Format if it cannot be determined. Rewinds the stream before returning. */ @@ -348,17 +339,6 @@ protected: return false; } - /** If planes or rowBytes is NULL, decodes the header and computes componentSizes - for memory allocation. - Otherwise, decodes the YUV planes into the provided image planes and - updates componentSizes to the final image size. - Returns whether the decoding was successful. - */ - virtual bool onDecodeYUV8Planes(SkStream* stream, SkISize componentSizes[3], void* planes[3], - size_t rowBytes[3], SkYUVColorSpace*) { - return false; - } - /* * Crop a rectangle from the src Bitmap to the dest Bitmap. src and dst are * both sampled by sampleSize from an original Bitmap. |