skia /
skia /
0cc4b51ab9d5c72c052db4cf3782583df0dfa44e SkAndroidCodec: Use SkAndroidCodecAdapter with libavif
If SK_CODEC_DECODES_AVIF is defined, we don't have to use
SkSampledCodec since SkAvifCodec can handle scaling internally
unlike SkHeifCodec.
Note that this is currently a no-op on the Android tree since
we have not yet enabled SK_CODEC_DECODES_AVIF on Android.
Bug: b/240344467
Test: Android AVIF cts tests pass with this change applied on the
android tree.
Change-Id: Ibc6fe07a8b98f739f88f50748060d96de0ebeca3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/566440
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
1 file changed