skia2/src/images
Leon Scroggins III 326b98981e Add platform image encoder for using NDK APIs
Bug: skia:10369

Add SkEncodeImageWithNDK, mirroring the CG and WIC versions, for
encoding with the NDK APIs added to R.

Rename SK_ENABLE_NDK_DECODING to SK_ENABLE_NDK_IMAGES and use it for
both encoding and decoding.

Move code for converting to/from NDK types into a common location.

Update encode_platform.cpp to use NDK encoding APIs when available and
to use both types of webp (lossy and lossless). Add tests specifically
for the new implementation.

Update NdkDecodeTest to use ToolUtils::equal_pixels for comparing
pixels.

Change-Id: Ic62f89af27372ccce90b8e028e01c388a135a68c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308800
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-08-13 15:21:41 +00:00
..
SkImageEncoder.cpp Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
SkImageEncoderFns.h basic, untested BGR 1010102 and 101010x 2020-02-11 21:44:57 +00:00
SkImageEncoderPriv.h Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
SkJpegEncoder.cpp Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
SkJPEGWriteUtility.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkJPEGWriteUtility.h Fix windows DLL builds with shaper included 2019-11-19 14:50:12 +00:00
SkPngEncoder.cpp Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
SkWebpEncoder.cpp Remove transform_scanline from SkWebpEncoder 2020-06-02 15:37:29 +00:00